From a8106f8c1613b5e0f6ab3f25ad27c65ca4702f2c Mon Sep 17 00:00:00 2001 From: Travis Howell Date: Wed, 18 May 2005 02:32:25 +0000 Subject: Add scripts file for C64 verisons, ready for future changes. svn-id: r18151 --- scumm/intern.h | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'scumm/intern.h') 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; -- cgit v1.2.3