aboutsummaryrefslogtreecommitdiff
path: root/engines/gob/init.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/gob/init.h')
-rw-r--r--engines/gob/init.h23
1 files changed, 21 insertions, 2 deletions
diff --git a/engines/gob/init.h b/engines/gob/init.h
index 62cbb44f63..b0a7ed2f82 100644
--- a/engines/gob/init.h
+++ b/engines/gob/init.h
@@ -23,16 +23,19 @@
#ifndef GOB_INIT_H
#define GOB_INIT_H
+#include "gob/video.h"
+
namespace Gob {
class Init {
public:
void findBestCfg(void);
- void soundVideo(int32 smallHeapSize, int16 flag);
-
void initGame(char *totFile);
+ virtual void soundVideo(int32 smallHeapSize, int16 flag) = 0;
+
Init(GobEngine *vm);
+ virtual ~Init() {};
protected:
Video::PalDesc *_palDesc;
@@ -42,6 +45,22 @@ protected:
void cleanup(void);
};
+class Init_v1 : public Init {
+public:
+ virtual void soundVideo(int32 smallHeapSize, int16 flag);
+
+ Init_v1(GobEngine *vm);
+ virtual ~Init_v1() {};
+};
+
+class Init_v2 : public Init_v1 {
+public:
+ virtual void soundVideo(int32 smallHeapSize, int16 flag);
+
+ Init_v2(GobEngine *vm);
+ virtual ~Init_v2() {};
+};
+
} // End of namespace Gob
#endif