diff options
author | Strangerke | 2013-03-01 23:46:24 +0100 |
---|---|---|
committer | Strangerke | 2013-03-01 23:46:24 +0100 |
commit | 167aa598d86b5fa6990b92175c43f68ed95e6385 (patch) | |
tree | b289f892099c931d358970f4d340df5148fffa3f /engines/hopkins/script.cpp | |
parent | d7ea7ca378b62d2809ae5f56c031c8ea7f31de96 (diff) | |
download | scummvm-rg350-167aa598d86b5fa6990b92175c43f68ed95e6385.tar.gz scummvm-rg350-167aa598d86b5fa6990b92175c43f68ed95e6385.tar.bz2 scummvm-rg350-167aa598d86b5fa6990b92175c43f68ed95e6385.zip |
HOPKINS: More renaming in savegame structure
Diffstat (limited to 'engines/hopkins/script.cpp')
-rw-r--r-- | engines/hopkins/script.cpp | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/engines/hopkins/script.cpp b/engines/hopkins/script.cpp index cb3067bcb1..563ce94c2d 100644 --- a/engines/hopkins/script.cpp +++ b/engines/hopkins/script.cpp @@ -955,7 +955,7 @@ int ScriptManager::handleOpcode(byte *dataP) { case 58: _vm->_globals._introSpeechOffFl = true; _vm->_talkManager.startAnimatedCharacterDialogue("Gm1.PE2"); - _vm->_globals._saveData->_data[svUseless176] = 1; + _vm->_globals._saveData->_data[svField176] = 1; _vm->_globals._saveData->_data[svField270] = 2; _vm->_globals._introSpeechOffFl = false; break; @@ -2069,11 +2069,11 @@ int ScriptManager::handleOpcode(byte *dataP) { if (_vm->_globals._saveData->_data[svField341] == 3) _vm->_graphicsManager.fastDisplay(_vm->_globals.SPRITE_ECRAN, 296, 212, 4); if (_vm->_globals._saveData->_data[svField341] == 1) - _vm->_globals._saveData->_data[svUseless338] = 0; + _vm->_globals._saveData->_data[svField338] = 0; if (_vm->_globals._saveData->_data[svField341] == 2) - _vm->_globals._saveData->_data[svUseless339] = 0; + _vm->_globals._saveData->_data[svField339] = 0; if (_vm->_globals._saveData->_data[svField341] == 3) - _vm->_globals._saveData->_data[svUseless340] = 0; + _vm->_globals._saveData->_data[svField340] = 0; } _vm->_soundManager.playSoundFile("SOUND83.WAV"); _vm->_objectsManager.OPTI_ONE(6, 0, 23, 0); @@ -2099,11 +2099,11 @@ int ScriptManager::handleOpcode(byte *dataP) { if (_vm->_globals._saveData->_data[svField341] == 3) _vm->_graphicsManager.fastDisplay(_vm->_globals.SPRITE_ECRAN, 296, 212, 4); if (_vm->_globals._saveData->_data[svField341] == 1) - _vm->_globals._saveData->_data[svUseless338] = 0; + _vm->_globals._saveData->_data[svField338] = 0; if (_vm->_globals._saveData->_data[svField341] == 2) - _vm->_globals._saveData->_data[svUseless339] = 0; + _vm->_globals._saveData->_data[svField339] = 0; if (_vm->_globals._saveData->_data[svField341] == 3) - _vm->_globals._saveData->_data[svUseless340] = 0; + _vm->_globals._saveData->_data[svField340] = 0; } _vm->_soundManager.playSoundFile("SOUND83.WAV"); _vm->_objectsManager.OPTI_ONE(5, 0, 23, 0); @@ -2129,11 +2129,11 @@ int ScriptManager::handleOpcode(byte *dataP) { if (_vm->_globals._saveData->_data[svField341] == 3) _vm->_graphicsManager.fastDisplay(_vm->_globals.SPRITE_ECRAN, 296, 212, 4); if (_vm->_globals._saveData->_data[svField341] == 1) - _vm->_globals._saveData->_data[svUseless338] = 0; + _vm->_globals._saveData->_data[svField338] = 0; if (_vm->_globals._saveData->_data[svField341] == 2) - _vm->_globals._saveData->_data[svUseless339] = 0; + _vm->_globals._saveData->_data[svField339] = 0; if (_vm->_globals._saveData->_data[svField341] == 3) - _vm->_globals._saveData->_data[svUseless340] = 0; + _vm->_globals._saveData->_data[svField340] = 0; } _vm->_soundManager.playSoundFile("SOUND83.WAV"); _vm->_objectsManager.OPTI_ONE(4, 0, 23, 0); @@ -2191,7 +2191,7 @@ int ScriptManager::handleOpcode(byte *dataP) { v51->_startSpriteIndex = 57; v51->_location = 97; _vm->_globals._saveData->_data[svHopkinsCloneFl] = 1; - _vm->_globals._saveData->_data[svUseless352] = 1; + _vm->_globals._saveData->_data[svField352] = 1; _vm->_globals._saveData->_data[svField353] = 1; _vm->_globals._saveData->_data[svField354] = 1; break; @@ -2243,7 +2243,7 @@ int ScriptManager::handleOpcode(byte *dataP) { _vm->_linesManager.ZONEP[4]._destX = 276; _vm->_objectsManager.enableVerb(4, 19); _vm->_graphicsManager.fastDisplay(_vm->_globals.SPRITE_ECRAN, 285, 379, 0); - _vm->_globals._saveData->_data[svUseless399] = 1; + _vm->_globals._saveData->_data[svField399] = 1; break; case 246: |