diff options
author | Sven Hesse | 2008-09-02 20:15:42 +0000 |
---|---|---|
committer | Sven Hesse | 2008-09-02 20:15:42 +0000 |
commit | 741364602cc8a220f2d7cb23074efa48621c0cda (patch) | |
tree | b6962175baf5d30ca4c1b705ca0520cc2d849296 /engines/gob/inter.h | |
parent | 3dc066e983de9f141fcfce1ae1279359e9fc0586 (diff) | |
download | scummvm-rg350-741364602cc8a220f2d7cb23074efa48621c0cda.tar.gz scummvm-rg350-741364602cc8a220f2d7cb23074efa48621c0cda.tar.bz2 scummvm-rg350-741364602cc8a220f2d7cb23074efa48621c0cda.zip |
Urban Runner stubs
svn-id: r34286
Diffstat (limited to 'engines/gob/inter.h')
-rw-r--r-- | engines/gob/inter.h | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/engines/gob/inter.h b/engines/gob/inter.h index ad59d0d15a..fe31722c6c 100644 --- a/engines/gob/inter.h +++ b/engines/gob/inter.h @@ -587,6 +587,44 @@ protected: void o5_gob200(OpGobParams ¶ms); }; +class Inter_v6 : public Inter_v5 { +public: + Inter_v6(GobEngine *vm); + virtual ~Inter_v6() {} + +protected: + typedef void (Inter_v6::*OpcodeDrawProcV6)(); + typedef bool (Inter_v6::*OpcodeFuncProcV6)(OpFuncParams &); + typedef void (Inter_v6::*OpcodeGoblinProcV6)(OpGobParams &); + struct OpcodeDrawEntryV6 { + OpcodeDrawProcV6 proc; + const char *desc; + }; + struct OpcodeFuncEntryV6 { + OpcodeFuncProcV6 proc; + const char *desc; + }; + struct OpcodeGoblinEntryV6 { + OpcodeGoblinProcV6 proc; + const char *desc; + }; + const OpcodeDrawEntryV6 *_opcodesDrawV6; + const OpcodeFuncEntryV6 *_opcodesFuncV6; + const OpcodeGoblinEntryV6 *_opcodesGoblinV6; + static const int _goblinFuncLookUp[][2]; + + virtual void setupOpcodes(); + virtual void executeDrawOpcode(byte i); + virtual bool executeFuncOpcode(byte i, byte j, OpFuncParams ¶ms); + virtual void executeGoblinOpcode(int i, OpGobParams ¶ms); + virtual const char *getOpcodeDrawDesc(byte i); + virtual const char *getOpcodeFuncDesc(byte i, byte j); + virtual const char *getOpcodeGoblinDesc(int i); + + bool o6_loadCursor(OpFuncParams ¶ms); + bool o6_evaluateStore(OpFuncParams ¶ms); +}; + } // End of namespace Gob #endif // GOB_INTER_H |