diff options
author | Paul Gilbert | 2019-08-29 21:11:52 -0700 |
---|---|---|
committer | Paul Gilbert | 2019-08-29 21:11:52 -0700 |
commit | 05de8819baa4c9d1daef8bd742983d0665d03474 (patch) | |
tree | 06ee7fc0c334dfe4acc39059fe5062197b4638cb /engines | |
parent | 9f7cadaf8a059977ead55aae8cb94d6cb91f3f26 (diff) | |
download | scummvm-rg350-05de8819baa4c9d1daef8bd742983d0665d03474.tar.gz scummvm-rg350-05de8819baa4c9d1daef8bd742983d0665d03474.tar.bz2 scummvm-rg350-05de8819baa4c9d1daef8bd742983d0665d03474.zip |
XEEN: Remove unused methods, comments for engine methods
Diffstat (limited to 'engines')
-rw-r--r-- | engines/xeen/dialogs/dialogs_party.cpp | 1 | ||||
-rw-r--r-- | engines/xeen/xeen.h | 29 |
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); /** |