diff options
author | Travis Howell | 2006-09-29 06:24:12 +0000 |
---|---|---|
committer | Travis Howell | 2006-09-29 06:24:12 +0000 |
commit | 2a6e1d26cf3516a6334215eecb61f4036a630575 (patch) | |
tree | 31abdf07ad577097e37851bf25b8d747aadf6151 | |
parent | 3e6c4d8582f3bcef87eb72d4926c45b0dedd3914 (diff) | |
download | scummvm-rg350-2a6e1d26cf3516a6334215eecb61f4036a630575.tar.gz scummvm-rg350-2a6e1d26cf3516a6334215eecb61f4036a630575.tar.bz2 scummvm-rg350-2a6e1d26cf3516a6334215eecb61f4036a630575.zip |
Add opcode stub for PP
svn-id: r24006
-rw-r--r-- | engines/simon/items.cpp | 16 | ||||
-rw-r--r-- | engines/simon/simon.h | 1 |
2 files changed, 15 insertions, 2 deletions
diff --git a/engines/simon/items.cpp b/engines/simon/items.cpp index 4661d0c8d4..6a7aa26a88 100644 --- a/engines/simon/items.cpp +++ b/engines/simon/items.cpp @@ -465,7 +465,7 @@ void SimonEngine::setupOpcodes() { // Code difference, check if triggered opcode_table[132] = &SimonEngine::o3_saveUserGame, - opcode_table[187] = NULL; // Reset game time? + opcode_table[187] = &SimonEngine::o4_resetGameTime; // Code difference. Some kind of logging? opcode_table[190] = &SimonEngine::o2_waitMark; @@ -2364,40 +2364,52 @@ void SimonEngine::o3_b3NotZero() { // ----------------------------------------------------------------------- void SimonEngine::o4_opcode30() { + // 30 getNextItemPtr(); } void SimonEngine::o4_checkTiles() { - // for MahJongg game + // 37: for MahJongg game getVarOrByte(); } void SimonEngine::o4_opcode38() { + // 38 getVarOrByte(); getNextItemPtr(); } void SimonEngine::o4_loadHiScores() { + // 105 getVarOrByte(); } void SimonEngine::o4_checkHiScores() { + // 106 getVarOrByte(); getVarOrByte(); } void SimonEngine::o4_loadUserGame() { + // 133 } void SimonEngine::o4_saveOopsPosition() { + // 173 +} + +void SimonEngine::o4_resetGameTime() { + // 187 } void SimonEngine::o4_resetPVCount() { + // 191 _PVCount = 0; _GPVCount = 0; } void SimonEngine::o4_setPathValues() { + // 192 _pathValues[_PVCount++] = getVarOrByte(); _pathValues[_PVCount++] = getVarOrByte(); _pathValues[_PVCount++] = getVarOrByte(); diff --git a/engines/simon/simon.h b/engines/simon/simon.h index 5786cb126b..a945a6c55e 100644 --- a/engines/simon/simon.h +++ b/engines/simon/simon.h @@ -1047,6 +1047,7 @@ public: void o4_checkHiScores(); void o4_loadUserGame(); void o4_saveOopsPosition(); + void o4_resetGameTime(); void o4_resetPVCount(); void o4_setPathValues(); |