Don't go to the save/load screen

svn-id: r6157
This commit is contained in:
James Brown 2002-12-26 01:15:25 +00:00
parent 74dd2479c9
commit d8839f1be6
3 changed files with 7 additions and 1 deletions

View File

@ -910,6 +910,7 @@ public:
byte VAR_NUM_ACTOR; byte VAR_NUM_ACTOR;
byte VAR_CURRENT_LIGHTS; byte VAR_CURRENT_LIGHTS;
byte VAR_CURRENTDRIVE; byte VAR_CURRENTDRIVE;
byte VAR_CURRENTDISK;
byte VAR_TMR_1; byte VAR_TMR_1;
byte VAR_TMR_2; byte VAR_TMR_2;
byte VAR_TMR_3; byte VAR_TMR_3;

View File

@ -357,7 +357,11 @@ void Scumm::initScummVars()
} else { } else {
_vars[VAR_V6_EMSSPACE] = 10000; _vars[VAR_V6_EMSSPACE] = 10000;
} }
}
if (_features & GF_AFTER_V8) { // Fixme: How do we deal with non-cd installs?
_vars[VAR_CURRENTDISK] = 1;
}
}
void Scumm::checkRange(int max, int min, int no, const char *str) void Scumm::checkRange(int max, int min, int no, const char *str)
{ {

View File

@ -220,6 +220,7 @@ void Scumm_v8::setupScummVars()
VAR_CAMERA_DEST_Y = 12; VAR_CAMERA_DEST_Y = 12;
VAR_ROOM = 31; VAR_ROOM = 31;
VAR_CURRENTDISK = 42;
VAR_ENTRY_SCRIPT = 51; VAR_ENTRY_SCRIPT = 51;
VAR_ENTRY_SCRIPT2 = 52; VAR_ENTRY_SCRIPT2 = 52;