diff options
author | Travis Howell | 2005-05-18 02:32:25 +0000 |
---|---|---|
committer | Travis Howell | 2005-05-18 02:32:25 +0000 |
commit | a8106f8c1613b5e0f6ab3f25ad27c65ca4702f2c (patch) | |
tree | 6f22554b10bcb4c562f8202e6eb80b2f022de372 /scumm/intern.h | |
parent | 50abcb6683d221eea01048b77f185002a3cc154a (diff) | |
download | scummvm-rg350-a8106f8c1613b5e0f6ab3f25ad27c65ca4702f2c.tar.gz scummvm-rg350-a8106f8c1613b5e0f6ab3f25ad27c65ca4702f2c.tar.bz2 scummvm-rg350-a8106f8c1613b5e0f6ab3f25ad27c65ca4702f2c.zip |
Add scripts file for C64 verisons, ready for future changes.
svn-id: r18151
Diffstat (limited to 'scumm/intern.h')
-rw-r--r-- | scumm/intern.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/scumm/intern.h b/scumm/intern.h index 1f2e372ea9..7021dab49f 100644 --- a/scumm/intern.h +++ b/scumm/intern.h @@ -376,6 +376,30 @@ protected: byte VAR_BACKUP_VERB; }; +/** + * Engine for version 2 SCUMM games. + */ +class ScummEngine_c64 : public ScummEngine_v2 { +protected: + typedef void (ScummEngine_c64::*OpcodeProcC64)(); + struct OpcodeEntryC64 { + OpcodeProcC64 proc; + const char *desc; + }; + + const OpcodeEntryC64 *_opcodesC64; + +public: + ScummEngine_c64(GameDetector *detector, OSystem *syst, const ScummGameSettings &gs, uint8 md5sum[16]); + +protected: + virtual void setupOpcodes(); + virtual void executeOpcode(byte i); + virtual const char *getOpcodeDesc(byte i); + + /* Version 2 script opcodes */ +}; + class ScummEngine_v6 : public ScummEngine { friend class Insane; |