aboutsummaryrefslogtreecommitdiff
path: root/engines/gob/gob.cpp
diff options
context:
space:
mode:
authorArnaud Boutonné2009-04-29 16:36:08 +0000
committerArnaud Boutonné2009-04-29 16:36:08 +0000
commit93e2e75a9e6d6d56c024e6a87d24d92ad89c8a1d (patch)
treed44e1dedd56b25c15738d8c639be0713f2add3b6 /engines/gob/gob.cpp
parent4ff69f6cd0aec143525bb7693846748c39fbc2cc (diff)
downloadscummvm-rg350-93e2e75a9e6d6d56c024e6a87d24d92ad89c8a1d.tar.gz
scummvm-rg350-93e2e75a9e6d6d56c024e6a87d24d92ad89c8a1d.tar.bz2
scummvm-rg350-93e2e75a9e6d6d56c024e6a87d24d92ad89c8a1d.zip
- Added a game_fascin skeletton, as specificities are now proven
- Added a new game time, adibouunknown, used to reference the ADI/Adibou/Addy generic environments - Replace oFascin_cdUnknown10 by a real function - Fix a detail in oFascin_cdUnknown11 - Suppress double declaration for types Gob2 and Ween svn-id: r40207
Diffstat (limited to 'engines/gob/gob.cpp')
-rw-r--r--engines/gob/gob.cpp18
1 files changed, 3 insertions, 15 deletions
diff --git a/engines/gob/gob.cpp b/engines/gob/gob.cpp
index 5e06d896a2..05ab2d9b5a 100644
--- a/engines/gob/gob.cpp
+++ b/engines/gob/gob.cpp
@@ -295,6 +295,7 @@ bool GobEngine::initGameParts() {
switch (_gameType) {
case kGameTypeGeisha:
+ case kGameTypeAdibouUnknown:
case kGameTypeGob1:
_init = new Init_v1(this);
_video = new Video_v1(this);
@@ -315,13 +316,14 @@ bool GobEngine::initGameParts() {
_parse = new Parse_v1(this);
_mult = new Mult_v2(this);
_draw = new Draw_v2(this);
- _game = new Game_v2(this);
+ _game = new Game_Fascination(this);
_map = new Map_v2(this);
_goblin = new Goblin_v2(this);
_scenery = new Scenery_v2(this);
_saveLoad = new SaveLoad_v2(this, _targetName.c_str());
break;
+ case kGameTypeWeen:
case kGameTypeGob2:
_init = new Init_v2(this);
_video = new Video_v2(this);
@@ -350,20 +352,6 @@ bool GobEngine::initGameParts() {
_saveLoad = new SaveLoad_v2(this, _targetName.c_str());
break;
- case kGameTypeWeen:
- _init = new Init_v2(this);
- _video = new Video_v2(this);
- _inter = new Inter_v2(this);
- _parse = new Parse_v2(this);
- _mult = new Mult_v2(this);
- _draw = new Draw_v2(this);
- _game = new Game_v2(this);
- _map = new Map_v2(this);
- _goblin = new Goblin_v2(this);
- _scenery = new Scenery_v2(this);
- _saveLoad = new SaveLoad_v2(this, _targetName.c_str());
- break;
-
case kGameTypeGob3:
case kGameTypeInca2:
_init = new Init_v3(this);