aboutsummaryrefslogtreecommitdiff
path: root/engines/dm/dm.h
diff options
context:
space:
mode:
authorBendegúz Nagy2016-08-22 17:14:37 +0200
committerBendegúz Nagy2016-08-26 23:02:22 +0200
commit2ee50eda35d65a79bc66003edbc28d3bc7600e1f (patch)
tree7f65ebe2068ed968e1b8287a41c6456c319815ff /engines/dm/dm.h
parentf9323fe9fae6a45c0a4359775ba0383924a75c47 (diff)
downloadscummvm-rg350-2ee50eda35d65a79bc66003edbc28d3bc7600e1f.tar.gz
scummvm-rg350-2ee50eda35d65a79bc66003edbc28d3bc7600e1f.tar.bz2
scummvm-rg350-2ee50eda35d65a79bc66003edbc28d3bc7600e1f.zip
DM: Add proper save header
Diffstat (limited to 'engines/dm/dm.h')
-rw-r--r--engines/dm/dm.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/engines/dm/dm.h b/engines/dm/dm.h
index 20b7bf8f29..98e8cb8a07 100644
--- a/engines/dm/dm.h
+++ b/engines/dm/dm.h
@@ -36,6 +36,7 @@
#include "console.h"
#include <common/memstream.h>
+#include <advancedDetector.h>
struct ADGameDescription;
@@ -57,6 +58,13 @@ class ProjExpl;
class DialogMan;
class SoundMan;
+enum SaveFormat {
+ k_FORMAT_NONE = 0,
+ k_FORMAT_DM_ATARI_ST = 1,
+ k_FORMAT_DM_AMIGA_2X_PC98_X68000_FM_TOWNS_CSB_ATARI_ST = 2,
+ k_FORMAT_DM_APPLE_IIGS = 3,
+ k_FORMAT_DM_AMIGA_36_PC_CSB_AMIGA_PC98_X68000_FM_TOWNS = 5,
+};
void warning(bool repeat, const char *s, ...);
@@ -233,8 +241,7 @@ public:
Common::Language getGameLanguage();
private:
- int16 _g528_saveFormat; // @ G0528_i_Format
- int16 _g527_platform; // @ G0527_i_Platform
+ SaveFormat _g528_saveFormat; // @ G0528_i_Format
uint16 _g526_dungeonId; // @ G0526_ui_DungeonID
byte *_g562_entranceDoorAnimSteps[10]; // @ G0562_apuc_Bitmap_EntranceDoorAnimationSteps
byte *_g564_interfaceCredits; // @ G0564_puc_Graphic5_InterfaceCredits