aboutsummaryrefslogtreecommitdiff
path: root/engines/agi/agi.h
diff options
context:
space:
mode:
authorMartin Kiewitz2016-01-29 15:43:45 +0100
committerMartin Kiewitz2016-01-29 15:43:45 +0100
commit0f15ec2ce827d157f4459b966088ec0792ff5be8 (patch)
treef18cbb1fc699ee074b0b3fddcc6e89eb3f947732 /engines/agi/agi.h
parent41620c95ccd771b78ead14bebaab0045079f95c4 (diff)
downloadscummvm-rg350-0f15ec2ce827d157f4459b966088ec0792ff5be8.tar.gz
scummvm-rg350-0f15ec2ce827d157f4459b966088ec0792ff5be8.tar.bz2
scummvm-rg350-0f15ec2ce827d157f4459b966088ec0792ff5be8.zip
AGI: use Common::RenderMode instead of its own
AppleIIgs + Atari ST weren't available back then in the enum. They now are, so I can use the Common one.
Diffstat (limited to 'engines/agi/agi.h')
-rw-r--r--engines/agi/agi.h12
1 files changed, 1 insertions, 11 deletions
diff --git a/engines/agi/agi.h b/engines/agi/agi.h
index fd44afd910..a070d5eafd 100644
--- a/engines/agi/agi.h
+++ b/engines/agi/agi.h
@@ -140,16 +140,6 @@ enum AgiGameType {
BooterDisk2 = 1
};
-enum AgiRenderMode {
- RENDERMODE_EGA = 0,
- RENDERMODE_CGA = 1,
- RENDERMODE_VGA = 2,
- RENDERMODE_HERCULES = 3,
- RENDERMODE_AMIGA = 4,
- RENDERMODE_APPLE_II_GS = 5,
- RENDERMODE_ATARI_ST = 6
-};
-
//
// GF_OLDAMIGAV20 means that the interpreter is an old Amiga AGI interpreter that
// uses value 20 for the computer type (v20 i.e. vComputer) rather than the usual value 5.
@@ -666,7 +656,7 @@ public:
GfxMgr *_gfx;
- AgiRenderMode _renderMode;
+ Common::RenderMode _renderMode;
volatile uint32 _clockCount;
AgiDebug _debug;
AgiGame _game;