From 68cb7f52c8dd64ccfe8f28e847b530c8835175c3 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Sat, 15 Apr 2006 20:36:41 +0000 Subject: - 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 --- engines/lure/lure.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'engines/lure/lure.cpp') 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(); -- cgit v1.2.3