diff options
author | athrxx | 2014-02-28 00:11:55 +0100 |
---|---|---|
committer | athrxx | 2019-06-21 14:06:10 +0200 |
commit | 08dba769f10ace19e46555eddb957ec7d508f58d (patch) | |
tree | dfa4673ab93b7fd04e37a434d31ce55630259f7e | |
parent | 5e9b690ea4fd9f57a9c91f1584b2f86f21912f95 (diff) | |
download | scummvm-rg350-08dba769f10ace19e46555eddb957ec7d508f58d.tar.gz scummvm-rg350-08dba769f10ace19e46555eddb957ec7d508f58d.tar.bz2 scummvm-rg350-08dba769f10ace19e46555eddb957ec7d508f58d.zip |
CINE CP
-rw-r--r-- | engines/cine/script_fw.cpp | 24 |
1 files changed, 23 insertions, 1 deletions
diff --git a/engines/cine/script_fw.cpp b/engines/cine/script_fw.cpp index 86eb709d5a..9692c54b7b 100644 --- a/engines/cine/script_fw.cpp +++ b/engines/cine/script_fw.cpp @@ -707,7 +707,29 @@ int FWScript::execute() { if (_script._size) { while (!ret) { - _line = _pos; + + if (g_cine->getGameType() == Cine::GType_OS) { + if (_pos == 0x0f9a) { + if (!scumm_stricmp(currentPrcName, "AUTO00.PRC")) + g_cine->_globalVars[200] = g_cine->_objectTable[235].costume; + } + } else { + if (_pos == 0x2c) { + if (g_cine->_objectTable[1].x == 0x0131) { + if (!scumm_stricmp(currentPrcName, "TOTO.PRC")) + g_cine->_objectTable[2].x = 0x02; + } + } /*else if (!scumm_stricmp(currentPrcName, "CODE2.PRC")) { + if (_pos == 1) { + //globalVars[0] = objectTable[scriptElement->scriptPtr[6]].frame; + } else if (_pos == 504) { + //_currentScriptElement->localVars[1] = _currentScriptElement->localVars[2] = 0; + //globalVars[251] = 0; + g_cine->_globalVars[251] = g_cine->_globalVars[251]; + } + }*/ + } + byte opcode = getNextByte(); OpFunc handler = _info->opcodeHandler(opcode); |