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.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/engines/xeen/xeen.h b/engines/xeen/xeen.h
index cbf9ff3ed4..652284b26f 100644
--- a/engines/xeen/xeen.h
+++ b/engines/xeen/xeen.h
@@ -108,7 +108,10 @@ private:
const XeenGameDescription *_gameDescription;
Common::RandomSource _randomSource;
private:
- void initialize();
+ /**
+ * Initializes all the engine sub-objects
+ */
+ bool initialize();
// Engine APIs
virtual Common::Error run();
@@ -176,6 +179,11 @@ public:
int getRandomNumber(int minNumber, int maxNumber);
/**
+ * Displays an error message in a GUI dialog
+ */
+ void GUIError(const char *msg, ...) GCC_PRINTF(2, 3);
+
+ /**
* Returns true if the game should be exited (and likely return to game menu)
*/
bool shouldExit() const { return _quitMode != QMODE_NONE || shouldQuit(); }