diff options
author | Arnaud Boutonné | 2009-07-07 11:58:22 +0000 |
---|---|---|
committer | Arnaud Boutonné | 2009-07-07 11:58:22 +0000 |
commit | a0ab8c9c0cb079f21e342d1a53283064bdffebe4 (patch) | |
tree | 9e724242a51f682746783450ea260affd4268df5 /engines/gob/gob.cpp | |
parent | a9aaf56b3e81d46776a6fba574ab9833a8f21be1 (diff) | |
download | scummvm-rg350-a0ab8c9c0cb079f21e342d1a53283064bdffebe4.tar.gz scummvm-rg350-a0ab8c9c0cb079f21e342d1a53283064bdffebe4.tar.bz2 scummvm-rg350-a0ab8c9c0cb079f21e342d1a53283064bdffebe4.zip |
- Separate Playtoons gametypes from in GobEngine::initGameParts()
- Add a specific save/load class for Playtoons as some specific files need to be tested
svn-id: r42214
Diffstat (limited to 'engines/gob/gob.cpp')
-rw-r--r-- | engines/gob/gob.cpp | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/engines/gob/gob.cpp b/engines/gob/gob.cpp index 8605dfbd52..c5136344eb 100644 --- a/engines/gob/gob.cpp +++ b/engines/gob/gob.cpp @@ -421,9 +421,6 @@ bool GobEngine::initGameParts() { _saveLoad = new SaveLoad_v4(this, _targetName.c_str()); break; - case kGameTypePlaytoon: - case kGameTypePlaytnCk: - case kGameTypeBambou: case kGameTypeDynasty: _init = new Init_v3(this); _video = new Video_v2(this); @@ -449,6 +446,21 @@ bool GobEngine::initGameParts() { _saveLoad = new SaveLoad_v6(this, _targetName.c_str()); break; + case kGameTypePlaytoon: + case kGameTypePlaytnCk: + case kGameTypeBambou: + _init = new Init_v2(this); + _video = new Video_v2(this); +// _inter = new Inter_Playtoons(this); + _inter = new Inter_v4(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); + _saveLoad = new SaveLoad_playtoons(this); + break; + default: deinitGameParts(); return false; |