aboutsummaryrefslogtreecommitdiff
path: root/engines/xeen/xeen.h
diff options
context:
space:
mode:
authorPaul Gilbert2018-01-14 17:59:43 -0500
committerPaul Gilbert2018-01-14 17:59:43 -0500
commit1b50b3af31ca138dab31be0485c7fa318775f2a0 (patch)
treee0f02bfe2bf7dc4aeb453d189325eceef26a013a /engines/xeen/xeen.h
parentb2df74305bd524d0e12a610ed2ba148902180ad6 (diff)
downloadscummvm-rg350-1b50b3af31ca138dab31be0485c7fa318775f2a0.tar.gz
scummvm-rg350-1b50b3af31ca138dab31be0485c7fa318775f2a0.tar.bz2
scummvm-rg350-1b50b3af31ca138dab31be0485c7fa318775f2a0.zip
XEEN: Enable loading savegames from the launcher
Diffstat (limited to 'engines/xeen/xeen.h')
-rw-r--r--engines/xeen/xeen.h15
1 files changed, 8 insertions, 7 deletions
diff --git a/engines/xeen/xeen.h b/engines/xeen/xeen.h
index afbec4a7f9..c0ff0713df 100644
--- a/engines/xeen/xeen.h
+++ b/engines/xeen/xeen.h
@@ -102,7 +102,12 @@ class XeenEngine : public Engine {
private:
const XeenGameDescription *_gameDescription;
Common::RandomSource _randomSource;
- int _loadSaveSlot;
+private:
+ void initialize();
+
+ // Engine APIs
+ virtual Common::Error run();
+ virtual bool hasFeature(EngineFeature f) const;
void play();
@@ -110,6 +115,8 @@ private:
void gameLoop();
protected:
+ int _loadSaveSlot;
+protected:
/**
* Outer gameplay loop responsible for dispatching control to game-specific
* intros, main menus, or to play the actual game
@@ -120,12 +127,6 @@ protected:
* Play the game
*/
virtual void playGame();
-private:
- void initialize();
-
- // Engine APIs
- virtual Common::Error run();
- virtual bool hasFeature(EngineFeature f) const;
public:
Combat *_combat;
Debugger *_debugger;