aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/gob/detection_tables.h2
-rw-r--r--engines/gob/gob.cpp11
-rw-r--r--engines/gob/gob.h3
3 files changed, 14 insertions, 2 deletions
diff --git a/engines/gob/detection_tables.h b/engines/gob/detection_tables.h
index bd35900473..f3dc375fc3 100644
--- a/engines/gob/detection_tables.h
+++ b/engines/gob/detection_tables.h
@@ -4675,7 +4675,7 @@ static const GOBGameDescription gameDescriptions[] = {
ADGF_NO_FLAGS,
GUIO2(GUIO_NOSUBTITLES, GUIO_NOSPEECH)
},
- kGameTypeGob2,
+ kGameTypeAJWorld,
kFeaturesAdLib,
0, 0, 0
},
diff --git a/engines/gob/gob.cpp b/engines/gob/gob.cpp
index f3480fed99..3d3c43d91c 100644
--- a/engines/gob/gob.cpp
+++ b/engines/gob/gob.cpp
@@ -483,6 +483,17 @@ bool GobEngine::initGameParts() {
_resourceSizeWorkaround = true;
break;
+ case kGameTypeAJWorld:
+ _init = new Init_v2(this);
+ _video = new Video_v2(this);
+ _inter = new Inter_v2(this);
+ _mult = new Mult_v2(this);
+ _draw = new Draw_v2(this);
+ _map = new Map_v2(this);
+ _goblin = new Goblin_v2(this);
+ _scenery = new Scenery_v2(this);
+ break;
+
case kGameTypeGob3:
_init = new Init_v3(this);
_video = new Video_v2(this);
diff --git a/engines/gob/gob.h b/engines/gob/gob.h
index 808c941546..52f3ba8f2d 100644
--- a/engines/gob/gob.h
+++ b/engines/gob/gob.h
@@ -129,7 +129,8 @@ enum GameType {
kGameTypeAdi4,
kGameTypeAdibou2,
kGameTypeAdibou1,
- kGameTypeLittleRed
+ kGameTypeLittleRed,
+ kGameTypeAJWorld
};
enum Features {