removed the single big VersionSettings list; instead, the simon & scumm modules now keep their target lists seperatly (and when we add BASS, it can have its own target list)

svn-id: r6652
This commit is contained in:
Max Horn
2003-03-01 22:04:48 +00:00
parent 956e5e2b3d
commit f4e147e5d2
7 changed files with 186 additions and 141 deletions
+3 -1
View File
@@ -84,9 +84,11 @@ Engine *Engine::createFromDetector(GameDetector *detector, OSystem *syst)
if (detector->_gameId >= GID_SIMON_FIRST && detector->_gameId <= GID_SIMON_LAST) {
// Simon the Sorcerer
engine = Engine_SIMON_create(detector, syst);
} else {
} else if (detector->_gameId >= GID_SCUMM_FIRST && detector->_gameId <= GID_SCUMM_LAST) {
// Some kind of Scumm game
engine = Engine_SCUMM_create(detector, syst);
} else {
// Unknown game
}
return engine;