aboutsummaryrefslogtreecommitdiff
path: root/engines/hugo/hugo.cpp
diff options
context:
space:
mode:
authorAndre Heider2010-09-05 23:12:03 +0000
committerAndre Heider2010-09-05 23:12:03 +0000
commita7ff124dfd30032bfaa1897e13d1848c62b30013 (patch)
treecaae3a25403cf2a3e6a9922608043615a9b71a22 /engines/hugo/hugo.cpp
parentcd5e62bbe8234233679861f7421b850ff832efd5 (diff)
parentf69bfaf355b2544bf8ca8cc6cf3209773b8ad005 (diff)
downloadscummvm-rg350-a7ff124dfd30032bfaa1897e13d1848c62b30013.tar.gz
scummvm-rg350-a7ff124dfd30032bfaa1897e13d1848c62b30013.tar.bz2
scummvm-rg350-a7ff124dfd30032bfaa1897e13d1848c62b30013.zip
MERGE: Merge trunk to branch again to test r52579.
svn-id: r52580
Diffstat (limited to 'engines/hugo/hugo.cpp')
-rw-r--r--engines/hugo/hugo.cpp11
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;