aboutsummaryrefslogtreecommitdiff
path: root/scumm/intern.h
diff options
context:
space:
mode:
authorMax Horn2003-10-02 22:42:03 +0000
committerMax Horn2003-10-02 22:42:03 +0000
commit3f55f2669d560489ee017d64f5bdd0f785cf796e (patch)
treebd8b3bc560b347a0ef58c7b23431e92142aeea50 /scumm/intern.h
parent68810ac106ba538e7fb697e0f7fa6eb699a4c927 (diff)
downloadscummvm-rg350-3f55f2669d560489ee017d64f5bdd0f785cf796e.tar.gz
scummvm-rg350-3f55f2669d560489ee017d64f5bdd0f785cf796e.tar.bz2
scummvm-rg350-3f55f2669d560489ee017d64f5bdd0f785cf796e.zip
renamed class Scumm to ScummEngine (consisten with other engine names; also makes room for a potential 'Scumm' namespace)
svn-id: r10549
Diffstat (limited to 'scumm/intern.h')
-rw-r--r--scumm/intern.h36
1 files changed, 18 insertions, 18 deletions
diff --git a/scumm/intern.h b/scumm/intern.h
index 51c594e336..8725615c7f 100644
--- a/scumm/intern.h
+++ b/scumm/intern.h
@@ -26,9 +26,9 @@
#include "scumm.h"
class NutRenderer; // V8 Font Renderer
-class Scumm_v5 : public Scumm {
+class ScummEngine_v5 : public ScummEngine {
protected:
- typedef void (Scumm_v5::*OpcodeProcV5)();
+ typedef void (ScummEngine_v5::*OpcodeProcV5)();
struct OpcodeEntryV5 {
OpcodeProcV5 proc;
const char *desc;
@@ -37,7 +37,7 @@ protected:
const OpcodeEntryV5 *_opcodesV5;
public:
- Scumm_v5(GameDetector *detector, OSystem *syst) : Scumm(detector, syst) {}
+ ScummEngine_v5(GameDetector *detector, OSystem *syst) : ScummEngine(detector, syst) {}
protected:
virtual void setupOpcodes();
@@ -165,9 +165,9 @@ protected:
// FIXME - maybe we should move the opcodes from v5 to v3, and change the inheritance
// accordingly - that would be more logical I guess. However, if you do so, take care
// of preserving the right readIndexFile / loadCharset !!!
-class Scumm_v3 : public Scumm_v5 {
+class ScummEngine_v3 : public ScummEngine_v5 {
public:
- Scumm_v3(GameDetector *detector, OSystem *syst) : Scumm_v5(detector, syst) {}
+ ScummEngine_v3(GameDetector *detector, OSystem *syst) : ScummEngine_v5(detector, syst) {}
protected:
void readIndexFile();
@@ -177,7 +177,7 @@ protected:
void readGlobalObjects();
};
-class Scumm_v2 : public Scumm_v3 {
+class ScummEngine_v2 : public ScummEngine_v3 {
protected:
void readIndexFile();
void readClassicIndexFile(); // V1
@@ -185,7 +185,7 @@ protected:
void loadCharset(int no);
void readMAXS();
- typedef void (Scumm_v2::*OpcodeProcV2)();
+ typedef void (ScummEngine_v2::*OpcodeProcV2)();
struct OpcodeEntryV2 {
OpcodeProcV2 proc;
const char *desc;
@@ -194,7 +194,7 @@ protected:
const OpcodeEntryV2 *_opcodesV2;
public:
- Scumm_v2(GameDetector *detector, OSystem *syst) : Scumm_v3(detector, syst) {}
+ ScummEngine_v2(GameDetector *detector, OSystem *syst) : ScummEngine_v3(detector, syst) {}
protected:
virtual void setupOpcodes();
@@ -300,17 +300,17 @@ protected:
byte VAR_BACKUP_VERB;
};
-class Scumm_v4 : public Scumm_v3 {
+class ScummEngine_v4 : public ScummEngine_v3 {
public:
- Scumm_v4(GameDetector *detector, OSystem *syst) : Scumm_v3(detector, syst) {}
+ ScummEngine_v4(GameDetector *detector, OSystem *syst) : ScummEngine_v3(detector, syst) {}
protected:
void loadCharset(int no);
};
-class Scumm_v6 : public Scumm {
+class ScummEngine_v6 : public ScummEngine {
protected:
- typedef void (Scumm_v6::*OpcodeProcV6)();
+ typedef void (ScummEngine_v6::*OpcodeProcV6)();
struct OpcodeEntryV6 {
OpcodeProcV6 proc;
const char *desc;
@@ -321,7 +321,7 @@ protected:
File _hFileTable[17];
public:
- Scumm_v6(GameDetector *detector, OSystem *syst) : Scumm(detector, syst)
+ ScummEngine_v6(GameDetector *detector, OSystem *syst) : ScummEngine(detector, syst)
{
VAR_VIDEONAME = 0xFF;
@@ -530,9 +530,9 @@ protected:
byte VAR_TIMEDATE_SECOND;
};
-class Scumm_v7 : public Scumm_v6 {
+class ScummEngine_v7 : public ScummEngine_v6 {
public:
- Scumm_v7(GameDetector *detector, OSystem *syst) : Scumm_v6(detector, syst) {}
+ ScummEngine_v7(GameDetector *detector, OSystem *syst) : ScummEngine_v6(detector, syst) {}
protected:
virtual void setupScummVars();
@@ -543,9 +543,9 @@ protected:
virtual void panCameraTo(int x, int y);
};
-class Scumm_v8 : public Scumm_v7 {
+class ScummEngine_v8 : public ScummEngine_v7 {
protected:
- typedef void (Scumm_v8::*OpcodeProcV8)();
+ typedef void (ScummEngine_v8::*OpcodeProcV8)();
struct OpcodeEntryV8 {
OpcodeProcV8 proc;
const char *desc;
@@ -554,7 +554,7 @@ protected:
const OpcodeEntryV8 *_opcodesV8;
public:
- Scumm_v8(GameDetector *detector, OSystem *syst) : Scumm_v7(detector, syst) {}
+ ScummEngine_v8(GameDetector *detector, OSystem *syst) : ScummEngine_v7(detector, syst) {}
protected:
virtual void setupOpcodes();