mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-14 05:38:56 +00:00
LOL: implemented opcode for white tower
svn-id: r41050
This commit is contained in:
parent
c552dd4688
commit
6059f84f6a
@ -754,6 +754,7 @@ private:
|
||||
int olol_gasExplosion(EMCState *script);
|
||||
int olol_calcNewBlockPosition(EMCState *script);
|
||||
int olol_updateDrawPage2(EMCState *script);
|
||||
int olol_setMouseCursor(EMCState *script);
|
||||
int olol_characterSays(EMCState *script);
|
||||
int olol_queueSpeech(EMCState *script);
|
||||
int olol_getItemPrice(EMCState *script);
|
||||
|
@ -2080,6 +2080,15 @@ int LoLEngine::olol_updateDrawPage2(EMCState *script) {
|
||||
return 1;
|
||||
}
|
||||
|
||||
int LoLEngine::olol_setMouseCursor(EMCState *script) {
|
||||
debugC(3, kDebugLevelScriptFuncs, "LoLEngine::olol_setMouseCursor(%p) (%d)", (const void *)script, stackPos(0));
|
||||
if (stackPos(0) == 1)
|
||||
setMouseCursorToIcon(133);
|
||||
else
|
||||
setMouseCursorToItemInHand();
|
||||
return 1;
|
||||
}
|
||||
|
||||
int LoLEngine::olol_characterSays(EMCState *script) {
|
||||
debugC(3, kDebugLevelScriptFuncs, "LoLEngine::olol_characterSays(%p) (%d, %d, %d)", (const void *)script, stackPos(0), stackPos(1), stackPos(2));
|
||||
if (stackPos(0) == -1) {
|
||||
@ -2641,7 +2650,7 @@ void LoLEngine::setupOpcodeTable() {
|
||||
// 0xB8
|
||||
OpcodeUnImpl();
|
||||
Opcode(olol_updateDrawPage2);
|
||||
OpcodeUnImpl();
|
||||
Opcode(olol_setMouseCursor);
|
||||
Opcode(olol_characterSays);
|
||||
|
||||
// 0xBC
|
||||
|
Loading…
Reference in New Issue
Block a user