diff options
author | Sven Hesse | 2012-06-16 15:08:10 +0200 |
---|---|---|
committer | Sven Hesse | 2012-06-16 15:08:10 +0200 |
commit | 6d01b517550d161b45cbebba077bb9f7bbbc99f2 (patch) | |
tree | b7275936ae6e2e801fa4e450d3cfd0a8f46fb267 | |
parent | 3d7c6a2710e7d8ba1dfc86afe09f94dbf874b99a (diff) | |
download | scummvm-rg350-6d01b517550d161b45cbebba077bb9f7bbbc99f2.tar.gz scummvm-rg350-6d01b517550d161b45cbebba077bb9f7bbbc99f2.tar.bz2 scummvm-rg350-6d01b517550d161b45cbebba077bb9f7bbbc99f2.zip |
GOB: Add a proper GameType for AJ's World
-rw-r--r-- | engines/gob/detection_tables.h | 2 | ||||
-rw-r--r-- | engines/gob/gob.cpp | 11 | ||||
-rw-r--r-- | engines/gob/gob.h | 3 |
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 { |