diff options
author | Arnaud Boutonné | 2010-09-05 20:37:38 +0000 |
---|---|---|
committer | Arnaud Boutonné | 2010-09-05 20:37:38 +0000 |
commit | 8bd741d41b6fc796fce03e3cda1228b57ac57bce (patch) | |
tree | c6da6168a942ab5fc391717349924de5060bd988 /engines/hugo/hugo.cpp | |
parent | 9b594965330cede661db9c022c33c1daa42ed123 (diff) | |
download | scummvm-rg350-8bd741d41b6fc796fce03e3cda1228b57ac57bce.tar.gz scummvm-rg350-8bd741d41b6fc796fce03e3cda1228b57ac57bce.tar.bz2 scummvm-rg350-8bd741d41b6fc796fce03e3cda1228b57ac57bce.zip |
HUGO: Add support for multiple scenery files
This is used by H3Dos only.
svn-id: r52571
Diffstat (limited to 'engines/hugo/hugo.cpp')
-rw-r--r-- | engines/hugo/hugo.cpp | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/engines/hugo/hugo.cpp b/engines/hugo/hugo.cpp index 58f4dc444e..316c16f018 100644 --- a/engines/hugo/hugo.cpp +++ b/engines/hugo/hugo.cpp @@ -140,7 +140,6 @@ Common::Error HugoEngine::run() { s_Engine = this; initGraphics(320, 200, false); - _fileManager = new FileManager(*this); _screen = new Screen(*this); _mouseHandler = new MouseHandler(*this); _inventoryHandler = new InventoryHandler(*this); @@ -149,27 +148,33 @@ Common::Error HugoEngine::run() { _soundHandler = new SoundHandler(*this); switch (_gameVariant) { - case 0: + case 0: // H1 Win + _fileManager = new FileManager_v3(*this); _scheduler = new Scheduler_v2(*this); _introHandler = new intro_1w(*this); break; case 1: + _fileManager = new FileManager_v2(*this); _scheduler = new Scheduler_v2(*this); _introHandler = new intro_2w(*this); break; case 2: + _fileManager = new FileManager_v2(*this); _scheduler = new Scheduler_v2(*this); _introHandler = new intro_3w(*this); break; - case 3: + case 3: // H1 DOS + _fileManager = new FileManager_v1(*this); _scheduler = new Scheduler_v1(*this); _introHandler = new intro_1d(*this); break; case 4: + _fileManager = new FileManager_v2(*this); _scheduler = new Scheduler_v1(*this); _introHandler = new intro_2d(*this); break; case 5: + _fileManager = new FileManager_v4(*this); _scheduler = new Scheduler_v2(*this); _introHandler = new intro_3d(*this); break; |