diff options
Diffstat (limited to 'engines/gob/inter.cpp')
-rw-r--r-- | engines/gob/inter.cpp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/engines/gob/inter.cpp b/engines/gob/inter.cpp index 82beaf9e42..d581013995 100644 --- a/engines/gob/inter.cpp +++ b/engines/gob/inter.cpp @@ -67,6 +67,21 @@ Inter::~Inter() { delocateVars(); } +void Inter::NsetupOpcodes() { + setupOpcodesDraw(); +} + +void Inter::executeOpcodeDraw(byte i) { + if (_opcodesDraw[i].proc && _opcodesDraw[i].proc->isValid()) + (*_opcodesDraw[i].proc)(); + else + warning("unimplemented opcodeDraw: %d", i); +} + +const char *Inter::getDescOpcodeDraw(byte i) { + return _opcodesDraw[i].desc; +} + void Inter::initControlVars(char full) { *_nestLevel = 0; *_breakFromLevel = -1; |