diff options
author | athrxx | 2014-02-28 00:11:55 +0100 |
---|---|---|
committer | athrxx | 2019-07-17 17:38:25 +0200 |
commit | ea9e7df0a8664a49e2ae572864ee70eccbfb06c9 (patch) | |
tree | c966635abc48433937d5f307d48ad185d7949cdc | |
parent | 96dc86ca9784f3c4031ed76fcf7972bd2c680be3 (diff) | |
download | scummvm-rg350-ea9e7df0a8664a49e2ae572864ee70eccbfb06c9.tar.gz scummvm-rg350-ea9e7df0a8664a49e2ae572864ee70eccbfb06c9.tar.bz2 scummvm-rg350-ea9e7df0a8664a49e2ae572864ee70eccbfb06c9.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); |