diff options
Diffstat (limited to 'engines/toltecs/script.h')
-rw-r--r-- | engines/toltecs/script.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/engines/toltecs/script.h b/engines/toltecs/script.h index 0c1898c525..89dca4598f 100644 --- a/engines/toltecs/script.h +++ b/engines/toltecs/script.h @@ -56,6 +56,8 @@ public: void saveState(Common::WriteStream *out); void loadState(Common::ReadStream *in); + void setSwitchLocalDataNear(bool newValue) { _switchLocalDataNear = newValue; } + protected: struct ScriptRegs { @@ -88,13 +90,13 @@ protected: bool _cmpBitTest; ScriptSlot _slots[kMaxScriptSlots]; - + ScriptRegs _regs; int16 _savedSp; byte readByte(); int16 readInt16(); - + void execOpcode(byte opcode); void setupScriptFunctions(); |