diff options
-rw-r--r-- | engines/gob/inter.h | 1 | ||||
-rw-r--r-- | engines/gob/inter_fascin.cpp | 9 |
2 files changed, 10 insertions, 0 deletions
diff --git a/engines/gob/inter.h b/engines/gob/inter.h index 8dabe12637..c925d8cf72 100644 --- a/engines/gob/inter.h +++ b/engines/gob/inter.h @@ -452,6 +452,7 @@ protected: void oFascin_closeWin(); void oFascin_activeWin(); void oFascin_openWin(); + void oFascin_initCursorAnim(); void oFascin_setRenderFlags(); void oFascin_setWinFlags(); }; diff --git a/engines/gob/inter_fascin.cpp b/engines/gob/inter_fascin.cpp index 8de5d4c4b1..1758b4470d 100644 --- a/engines/gob/inter_fascin.cpp +++ b/engines/gob/inter_fascin.cpp @@ -57,6 +57,8 @@ void Inter_Fascination::setupOpcodesDraw() { OPCODEDRAW(0x05, oFascin_activeWin); OPCODEDRAW(0x06, oFascin_openWin); + OPCODEDRAW(0x08, oFascin_initCursorAnim); + OPCODEDRAW(0x0A, oFascin_setRenderFlags); OPCODEDRAW(0x0B, oFascin_setWinFlags); @@ -251,6 +253,13 @@ void Inter_Fascination::oFascin_openWin() { WRITE_VAR((retVal / 4), (int32) _vm->_draw->openWin(id)); } +void Inter_Fascination::oFascin_initCursorAnim() { + int16 ind = _vm->_game->_script->readValExpr(); + _vm->_draw->_cursorAnimLow[ind] = _vm->_game->_script->readInt16(); + _vm->_draw->_cursorAnimHigh[ind] = _vm->_game->_script->readInt16(); + _vm->_draw->_cursorAnimDelays[ind] = _vm->_game->_script->readInt16(); +} + void Inter_Fascination::oFascin_setRenderFlags() { int16 expr; _vm->_game->_script->evalExpr(&expr); |