diff options
author | Florian Kagerer | 2009-06-01 00:42:53 +0000 |
---|---|---|
committer | Florian Kagerer | 2009-06-01 00:42:53 +0000 |
commit | 60d53c3cce179ab08649fb78a93ca7118f364869 (patch) | |
tree | 9431cf7f5506885693b14279c140552f4e15be40 /engines | |
parent | 6e382592702534bb530f5610f19f694d3b4e5429 (diff) | |
download | scummvm-rg350-60d53c3cce179ab08649fb78a93ca7118f364869.tar.gz scummvm-rg350-60d53c3cce179ab08649fb78a93ca7118f364869.tar.bz2 scummvm-rg350-60d53c3cce179ab08649fb78a93ca7118f364869.zip |
LOL: - implemented opcode for white tower basement
svn-id: r41091
Diffstat (limited to 'engines')
-rw-r--r-- | engines/kyra/lol.h | 1 | ||||
-rw-r--r-- | engines/kyra/script_lol.cpp | 10 |
2 files changed, 10 insertions, 1 deletions
diff --git a/engines/kyra/lol.h b/engines/kyra/lol.h index ae80f4384d..2bd33b38bc 100644 --- a/engines/kyra/lol.h +++ b/engines/kyra/lol.h @@ -775,6 +775,7 @@ private: int olol_enableControls(EMCState *script); int olol_gasExplosion(EMCState *script); int olol_calcNewBlockPosition(EMCState *script); + int olol_fadeScene(EMCState *script); int olol_updateDrawPage2(EMCState *script); int olol_setMouseCursor(EMCState *script); int olol_characterSays(EMCState *script); diff --git a/engines/kyra/script_lol.cpp b/engines/kyra/script_lol.cpp index 682828d9a5..dbbafc3a54 100644 --- a/engines/kyra/script_lol.cpp +++ b/engines/kyra/script_lol.cpp @@ -2078,6 +2078,14 @@ int LoLEngine::olol_calcNewBlockPosition(EMCState *script) { return calcNewBlockPosition(stackPos(0), stackPos(1)); } +int LoLEngine::olol_fadeScene(EMCState *script) { + debugC(3, kDebugLevelScriptFuncs, "LoLEngine::olol_fadeScene(%p)", (const void *)script); + gui_drawScene(2); + transformRegion(112, 0, 112, 0, 176, 120, 2, 0); + updateDrawPage2(); + return 1; +} + int LoLEngine::olol_updateDrawPage2(EMCState *script) { debugC(3, kDebugLevelScriptFuncs, "LoLEngine::olol_updateDrawPage2(%p)", (const void *)script); updateDrawPage2(); @@ -2735,7 +2743,7 @@ void LoLEngine::setupOpcodeTable() { Opcode(olol_calcNewBlockPosition); // 0xB8 - OpcodeUnImpl(); + Opcode(olol_fadeScene); Opcode(olol_updateDrawPage2); Opcode(olol_setMouseCursor); Opcode(olol_characterSays); |