diff options
author | Max Horn | 2006-04-15 20:36:41 +0000 |
---|---|---|
committer | Max Horn | 2006-04-15 20:36:41 +0000 |
commit | 68cb7f52c8dd64ccfe8f28e847b530c8835175c3 (patch) | |
tree | 635011611fbc8592289b85c0b704d5a0cec057ea /engines/saga/saga.h | |
parent | ad45318328e23b76e346414c62ef4c22d8ebe059 (diff) | |
download | scummvm-rg350-68cb7f52c8dd64ccfe8f28e847b530c8835175c3.tar.gz scummvm-rg350-68cb7f52c8dd64ccfe8f28e847b530c8835175c3.tar.bz2 scummvm-rg350-68cb7f52c8dd64ccfe8f28e847b530c8835175c3.zip |
- Renamed ConfigManager::getActiveDomain to getActiveDomainName, and added a new getActiveDomain method that returns a pointer to the actual active *domain*
- Added Engine::_targetName whose value is computed from the name of the active domain
- Removed GameDetector::_targetName, instead code now uses either Engine::_targetName or the name of the active domain
- This in turn allowed for removing usage of GameDetector in many places
svn-id: r21916
Diffstat (limited to 'engines/saga/saga.h')
-rw-r--r-- | engines/saga/saga.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/engines/saga/saga.h b/engines/saga/saga.h index 0ba23b4948..450b21ec71 100644 --- a/engines/saga/saga.h +++ b/engines/saga/saga.h @@ -573,9 +573,9 @@ class SagaEngine : public Engine { protected: int go(); - int init(GameDetector &detector); + int init(); public: - SagaEngine(GameDetector * detector, OSystem * syst); + SagaEngine(OSystem *syst); virtual ~SagaEngine(); void shutDown() { _quit = true; } @@ -666,8 +666,6 @@ public: } private: - Common::String _targetName; - uint _saveFilesMaxCount; uint _saveFilesCount; SaveFileData _saveFiles[MAX_SAVES]; |