diff options
author | Eugene Sandulenko | 2007-12-06 12:10:41 +0000 |
---|---|---|
committer | Eugene Sandulenko | 2007-12-06 12:10:41 +0000 |
commit | 218dcf2c18cc0b0e88b83cd230ea6640a6c8ff1b (patch) | |
tree | a69346ad274b4054a6270b34888eff6bbbb8195d /engines/lure/lure.h | |
parent | 6cf6b9d89b29d49f93b68ffd6732c929c91b380e (diff) | |
download | scummvm-rg350-218dcf2c18cc0b0e88b83cd230ea6640a6c8ff1b.tar.gz scummvm-rg350-218dcf2c18cc0b0e88b83cd230ea6640a6c8ff1b.tar.bz2 scummvm-rg350-218dcf2c18cc0b0e88b83cd230ea6640a6c8ff1b.zip |
Switch Lure engine to AdvancedDetector
svn-id: r29734
Diffstat (limited to 'engines/lure/lure.h')
-rw-r--r-- | engines/lure/lure.h | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/engines/lure/lure.h b/engines/lure/lure.h index 83c594e932..07aef9a361 100644 --- a/engines/lure/lure.h +++ b/engines/lure/lure.h @@ -42,12 +42,11 @@ namespace Lure { +struct LureGameDescription; + class LureEngine : public Engine { private: - uint32 _features; - uint8 _game; uint8 _saveVersion; - Common::Language _language; Disk *_disk; Resources *_resources; Screen *_screen; @@ -58,10 +57,12 @@ private: Room *_room; FightsManager *_fights; - void detectGame(); const char *generateSaveName(int slotNumber); + + const LureGameDescription *_gameDescription; + public: - LureEngine(OSystem *system); + LureEngine(OSystem *system, const LureGameDescription *gameDesc); ~LureEngine(); static LureEngine &getReference(); @@ -69,15 +70,17 @@ public: virtual int go(); void quitGame(); - uint32 features() { return _features; } - uint8 game() { return _game; } Disk &disk() { return *_disk; } - Common::Language getLanguage() { return _language; } bool loadGame(uint8 slotNumber); bool saveGame(uint8 slotNumber, Common::String &caption); Common::String *detectSave(int slotNumber); uint8 saveVersion() { return _saveVersion; } + + uint32 getFeatures() const; + Common::Language getLanguage() const; + Common::Platform getPlatform() const; + }; } // End of namespace Lure |