diff options
Diffstat (limited to 'engines/sword2/logic.h')
-rw-r--r-- | engines/sword2/logic.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/engines/sword2/logic.h b/engines/sword2/logic.h index 1e592f662e..cc928858d6 100644 --- a/engines/sword2/logic.h +++ b/engines/sword2/logic.h @@ -178,6 +178,14 @@ public: Router *_router; + typedef int32 (Logic::*OpcodeProc)(int32 *); + struct OpcodeEntry { + OpcodeProc proc; + const char *desc; + }; + const OpcodeEntry *_opcodes; + void setupOpcodes(); + int32 fnTestFunction(int32 *params); int32 fnTestFlags(int32 *params); int32 fnRegisterStartPoint(int32 *params); |