diff options
author | johndoe123 | 2014-04-26 00:08:37 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2018-07-20 06:43:33 +0000 |
commit | ad2c0aaf3d81688f9c575eef64b571cb73249997 (patch) | |
tree | 188ab3b052b4340b8ee7b17c5dc550ae6dd4c4f9 /engines/illusions/scriptopcodes_duckman.cpp | |
parent | 9885a050f2e9b718e3fb7bab224dcfdc18292231 (diff) | |
download | scummvm-rg350-ad2c0aaf3d81688f9c575eef64b571cb73249997.tar.gz scummvm-rg350-ad2c0aaf3d81688f9c575eef64b571cb73249997.tar.bz2 scummvm-rg350-ad2c0aaf3d81688f9c575eef64b571cb73249997.zip |
ILLUSIONS: Add sound effects
- Fix priority bugs in Duckman
- Add more script and sequence opcodes
Diffstat (limited to 'engines/illusions/scriptopcodes_duckman.cpp')
-rw-r--r-- | engines/illusions/scriptopcodes_duckman.cpp | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/engines/illusions/scriptopcodes_duckman.cpp b/engines/illusions/scriptopcodes_duckman.cpp index a1e5e1cb9a..e8daf6a999 100644 --- a/engines/illusions/scriptopcodes_duckman.cpp +++ b/engines/illusions/scriptopcodes_duckman.cpp @@ -55,6 +55,7 @@ void ScriptOpcodes_Duckman::initOpcodes() { // First clear everything for (uint i = 0; i < 256; ++i) _opcodes[i] = 0; + OPCODE(1, opNop); OPCODE(2, opSuspend); OPCODE(3, opYield); OPCODE(4, opTerminate); @@ -169,6 +170,9 @@ void ScriptOpcodes_Duckman::freeOpcodes() { // Opcodes +void ScriptOpcodes_Duckman::opNop(ScriptThread *scriptThread, OpCall &opCall) { +} + void ScriptOpcodes_Duckman::opSuspend(ScriptThread *scriptThread, OpCall &opCall) { opCall._result = kTSSuspend; } @@ -242,7 +246,7 @@ void ScriptOpcodes_Duckman::opEnterScene18(ScriptThread *scriptThread, OpCall &o _vm->enterScene(sceneId, 0); } -//static uint dsceneId = 0, dthreadId = 0; +static uint dsceneId = 0, dthreadId = 0; //static uint dsceneId = 0x00010008, dthreadId = 0x00020029;//Beginning in Jac //static uint dsceneId = 0x0001000A, dthreadId = 0x00020043;//Home front //static uint dsceneId = 0x0001000E, dthreadId = 0x0002007C; @@ -251,13 +255,13 @@ void ScriptOpcodes_Duckman::opEnterScene18(ScriptThread *scriptThread, OpCall &o //static uint dsceneId = 0x00010021, dthreadId = 0x00020113; //static uint dsceneId = 0x00010022, dthreadId = 0x00020114; //static uint dsceneId = 0x0001002D, dthreadId = 0x00020141; -static uint dsceneId = 0x00010033, dthreadId = 0x000201A4;//Chinese +//static uint dsceneId = 0x00010033, dthreadId = 0x000201A4;//Chinese //static uint dsceneId = 0x00010036, dthreadId = 0x000201B5; //static uint dsceneId = 0x00010039, dthreadId = 0x00020089;//Map //static uint dsceneId = 0x0001003D, dthreadId = 0x000201E0; //static uint dsceneId = 0x0001004B, dthreadId = 0x0002029B; //static uint dsceneId = 0x0001005B, dthreadId = 0x00020341; - +//static uint dsceneId = 0x00010010, dthreadId = 0x0002008A; void ScriptOpcodes_Duckman::opChangeScene(ScriptThread *scriptThread, OpCall &opCall) { ARG_SKIP(2); |