aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-rw-r--r--engines/xeen/dialogs/dialogs_party.cpp1
-rw-r--r--engines/xeen/xeen.h29
2 files changed, 28 insertions, 2 deletions
diff --git a/engines/xeen/dialogs/dialogs_party.cpp b/engines/xeen/dialogs/dialogs_party.cpp
index ac92ceb760..384edc2ee4 100644
--- a/engines/xeen/dialogs/dialogs_party.cpp
+++ b/engines/xeen/dialogs/dialogs_party.cpp
@@ -47,7 +47,6 @@ void PartyDialog::execute() {
EventsManager &events = *_vm->_events;
FileManager &files = *_vm->_files;
Interface &intf = *_vm->_interface;
- Map &map = *_vm->_map;
Party &party = *_vm->_party;
Screen &screen = *_vm->_screen;
Sound &sound = *_vm->_sound;
diff --git a/engines/xeen/xeen.h b/engines/xeen/xeen.h
index 178aaf1b9b..2f231c5b08 100644
--- a/engines/xeen/xeen.h
+++ b/engines/xeen/xeen.h
@@ -200,10 +200,24 @@ public:
XeenEngine(OSystem *syst, const XeenGameDescription *gameDesc);
virtual ~XeenEngine();
+ /**
+ * Returns the features
+ */
uint32 getFeatures() const;
+
+ /**
+ * Returns the game language
+ */
Common::Language getLanguage() const;
+
+ /**
+ * Returns the game's platform
+ */
Common::Platform getPlatform() const;
- uint16 getVersion() const;
+
+ /**
+ * Gets the game Id
+ */
uint32 getGameID() const;
/**
@@ -212,11 +226,24 @@ public:
*/
uint32 getSpecificGameId() const;
+ /**
+ * Returns the game features
+ */
uint32 getGameFeatures() const;
+
+ /**
+ * Returns true if the game is the CD version
+ */
bool getIsCD() const;
+ /**
+ * Returns a random number
+ */
int getRandomNumber(int maxNumber);
+ /**
+ * Returns a random number
+ */
int getRandomNumber(int minNumber, int maxNumber);
/**