More stuff, fix saved games

This commit is contained in:
elasota
2020-01-05 02:33:03 -05:00
parent a4b8db1065
commit aca18df74b
58 changed files with 1075 additions and 454 deletions

View File

@@ -14,6 +14,7 @@
#include "QDPixMap.h"
#include "Externs.h"
#include "IconLoader.h"
#include "InputManager.h"
#include "ResourceFile.h"
#include "Utilities.h"
@@ -24,19 +25,6 @@ UInt32 theSeed;
extern Boolean switchedOut;
//============================================================== Functions
//-------------------------------------------------------------- MyGetGlobalMouse
// Returns the position of the mouse in global coordinates.
Point MyGetGlobalMouse (void)
{
Point localWhere;
GetMouse(&localWhere);
LocalToGlobal(&localWhere);
return (localWhere);
}
//-------------------------------------------------------------- ToolBoxInit
// The standard ToolBox intialization that must happen when any Mac<61>
@@ -574,8 +562,8 @@ void UnivSetSoundVolume (short volume, Boolean hasSM3)
// if (hasSM3)
// {
longVol = (long)volume * 0x0025;
if (longVol > 0x00000100)
longVol = 0x00000100;
if (longVol > 0xff)
longVol = 0xff;
PortabilityLayer::SoundSystem::GetInstance()->SetVolume(longVol);
// }