diff options
author | Sven Hesse | 2007-04-05 13:37:20 +0000 |
---|---|---|
committer | Sven Hesse | 2007-04-05 13:37:20 +0000 |
commit | ec5a9eee3132c5e7ccc5338f426f0839bb9e0913 (patch) | |
tree | 0d12e8599143530241731872be276c45e8a8c7fd /engines/gob/gob.cpp | |
parent | c5e7eaf7dbcc18f4d26532f64e6cbf3e8614fc18 (diff) | |
download | scummvm-rg350-ec5a9eee3132c5e7ccc5338f426f0839bb9e0913.tar.gz scummvm-rg350-ec5a9eee3132c5e7ccc5338f426f0839bb9e0913.tar.bz2 scummvm-rg350-ec5a9eee3132c5e7ccc5338f426f0839bb9e0913.zip |
- Minor cleanup
- Added Inter_v3 (for new opcode o3_getTotTextItemPart)
- Some fixes to let Gob3 start with the first screen
svn-id: r26383
Diffstat (limited to 'engines/gob/gob.cpp')
-rw-r--r-- | engines/gob/gob.cpp | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/engines/gob/gob.cpp b/engines/gob/gob.cpp index 42c7f51b02..1502764f43 100644 --- a/engines/gob/gob.cpp +++ b/engines/gob/gob.cpp @@ -618,6 +618,17 @@ int GobEngine::init() { _map = new Map_v2(this); _goblin = new Goblin_v2(this); _scenery = new Scenery_v2(this); + } else if (_features & Gob::GF_GOB3) { + _init = new Init_v2(this); + _video = new Video_v2(this); + _inter = new Inter_v3(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); } else error("GobEngine::init(): Unknown version of game engine"); @@ -625,7 +636,7 @@ int GobEngine::init() { if (!_noMusic && !(_platform == Common::kPlatformAmiga) && !(_platform == Common::kPlatformAtariST) && (((_platform == Common::kPlatformMacintosh) && (_features & Gob::GF_GOB1)) || - (_features & Gob::GF_GOB2))) + (_features & Gob::GF_GOB2) || (_features & Gob::GF_GOB3))) _adlib = new Adlib(this); _vm = this; |