aboutsummaryrefslogtreecommitdiff
path: root/engines/lure/lure.cpp
diff options
context:
space:
mode:
authorMax Horn2006-04-15 20:36:41 +0000
committerMax Horn2006-04-15 20:36:41 +0000
commit68cb7f52c8dd64ccfe8f28e847b530c8835175c3 (patch)
tree635011611fbc8592289b85c0b704d5a0cec057ea /engines/lure/lure.cpp
parentad45318328e23b76e346414c62ef4c22d8ebe059 (diff)
downloadscummvm-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/lure/lure.cpp')
-rw-r--r--engines/lure/lure.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/engines/lure/lure.cpp b/engines/lure/lure.cpp
index 7a617052d5..84d035b318 100644
--- a/engines/lure/lure.cpp
+++ b/engines/lure/lure.cpp
@@ -24,7 +24,6 @@
#include "backends/fs/fs.h"
-#include "base/gameDetector.h"
#include "base/plugins.h"
#include "common/config-manager.h"
@@ -155,7 +154,7 @@ DetectedGameList Engine_LURE_detectGames(const FSList &fslist) {
return detectedGames;
}
-Engine *Engine_LURE_create(GameDetector *detector, OSystem *system) {
+Engine *Engine_LURE_create(OSystem *system) {
return new LureEngine(system);
}
@@ -252,9 +251,9 @@ void LureEngine::detectGame() {
}
}
-int LureEngine::init(GameDetector &detector) {
+int LureEngine::init() {
_system->beginGFXTransaction();
- initCommonGFX(detector, false);
+ initCommonGFX(false);
_system->initSize(FULL_SCREEN_WIDTH, FULL_SCREEN_HEIGHT);
_system->endGFXTransaction();