aboutsummaryrefslogtreecommitdiff
path: root/engine.h
diff options
context:
space:
mode:
Diffstat (limited to 'engine.h')
-rw-r--r--engine.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/engine.h b/engine.h
index 4a20ca30ed..6241d70a7f 100644
--- a/engine.h
+++ b/engine.h
@@ -34,14 +34,22 @@ extern SoundMixer *g_mixer;
class Engine {
public:
OSystem *_system;
-
SoundMixer *_mixer;
+protected:
+ char *_gameDataPath;
+
+public:
Engine(GameDetector *detector, OSystem *syst);
virtual ~Engine();
// Invoke the main engine loop using this method
virtual void go() = 0;
+
+ // Get the save game dir path
+ const char *getSavePath() const;
+
+ const char *getGameDataPath() const { return _gameDataPath; }
// Create a new engine object based on the detector - either
// a Scumm or a SimonState object currently.