diff options
author | Gregory Montoir | 2007-12-07 20:45:51 +0000 |
---|---|---|
committer | Gregory Montoir | 2007-12-07 20:45:51 +0000 |
commit | 126f55fd0ec2cea7e8a397c4ba810d4c562ce3ae (patch) | |
tree | effa0b7edaa86f4aa68274a733a39873cc606bb3 /engines/cine/main_loop.cpp | |
parent | 4ae85163b777e4414cafcc13bfef42c6520f5034 (diff) | |
download | scummvm-rg350-126f55fd0ec2cea7e8a397c4ba810d4c562ce3ae.tar.gz scummvm-rg350-126f55fd0ec2cea7e8a397c4ba810d4c562ce3ae.tar.bz2 scummvm-rg350-126f55fd0ec2cea7e8a397c4ba810d4c562ce3ae.zip |
backported some changes for OS
- added parsing of VOL.CNF to get the (filename,bundle) mapping (should be more efficient than testing every bundle file)
- delphineUnpack allows "inplace unpacking", use this instead of allocating temporary buffers
- relation script run count should be set in _localVars[0]
- added comments for some "special" script variables
svn-id: r29749
Diffstat (limited to 'engines/cine/main_loop.cpp')
-rw-r--r-- | engines/cine/main_loop.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/cine/main_loop.cpp b/engines/cine/main_loop.cpp index 1f1622253e..04334e8b98 100644 --- a/engines/cine/main_loop.cpp +++ b/engines/cine/main_loop.cpp @@ -230,6 +230,10 @@ void CineEngine::mainLoop(int bootScriptIdx) { globalVars[VAR_MOUSE_X_POS] = 0; globalVars[VAR_MOUSE_Y_POS] = 0; + if (g_cine->getGameType() == Cine::GType_OS) { + globalVars[VAR_BYPASS_PROTECTION] = 0; // set to 1 to bypass the copy protection + globalVars[VAR_LOW_MEMORY] = 0; // set to 1 to disable some animations, sounds etc. + } for (i = 0; i < 16; i++) { c_palette[i] = 0; |