aboutsummaryrefslogtreecommitdiff
path: root/engines/xeen/xeen.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/xeen/xeen.h')
-rw-r--r--engines/xeen/xeen.h18
1 files changed, 12 insertions, 6 deletions
diff --git a/engines/xeen/xeen.h b/engines/xeen/xeen.h
index afbec4a7f9..dcf490d7fb 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,11 @@ protected:
* Play the game
*/
virtual void playGame();
-private:
- void initialize();
- // Engine APIs
- virtual Common::Error run();
- virtual bool hasFeature(EngineFeature f) const;
+ /**
+ * Death cutscene
+ */
+ virtual void death() = 0;
public:
Combat *_combat;
Debugger *_debugger;