diff options
Diffstat (limited to 'engines/toon/script_func.h')
-rw-r--r-- | engines/toon/script_func.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/engines/toon/script_func.h b/engines/toon/script_func.h index 2f8972134c..76b7b0ada1 100644 --- a/engines/toon/script_func.h +++ b/engines/toon/script_func.h @@ -31,12 +31,15 @@ namespace Toon { +class ScriptFunc; + +typedef Common::Functor1Mem<EMCState *, int32, ScriptFunc> OpcodeV2; class ScriptFunc { public: ScriptFunc(ToonEngine *vm); ~ScriptFunc(void); - Common::Array<const Opcode *> _opcodes; + Common::Array<const OpcodeV2 *> _opcodes; ToonEngine *_vm; #define SYSFUNC(x) int32 x(EMCState*) |