diff options
-rw-r--r-- | engines/hugo/detection.cpp | 4 | ||||
-rw-r--r-- | engines/hugo/hugo.cpp | 22 | ||||
-rw-r--r-- | engines/hugo/hugo.h | 3 |
3 files changed, 22 insertions, 7 deletions
diff --git a/engines/hugo/detection.cpp b/engines/hugo/detection.cpp index 0064a39434..d10b50d0b7 100644 --- a/engines/hugo/detection.cpp +++ b/engines/hugo/detection.cpp @@ -41,8 +41,8 @@ uint32 HugoEngine::getFeatures() const { static const PlainGameDescriptor hugoGames[] = { // Games {"hugo1", "Hugo 1: Hugo's House of Horrors"}, - {"hugo2", "Hugo 2: Hugo's Mystery Adventure"}, - {"hugo3", "Hugo 3: Hugo's Amazon Adventure"}, + {"hugo2", "Hugo 2: Whodunit?"}, + {"hugo3", "Hugo 3: Jungle of Doom"}, {0, 0} }; diff --git a/engines/hugo/hugo.cpp b/engines/hugo/hugo.cpp index fab2e2d17d..ef3352829d 100644 --- a/engines/hugo/hugo.cpp +++ b/engines/hugo/hugo.cpp @@ -985,16 +985,28 @@ void HugoEngine::initialize() { _rnd->setSeed(42); // Kick random number generator - switch (getGameType()) { - case kGameTypeHugo1: - _episode = "\"HUGO'S HOUSE OF HORRORS\""; + switch (_gameVariant) { + case kGameVariantH1Dos: + _episode = "\"Hugo's House of Horrors\""; + _picDir = ""; + break; + case kGameVariantH2Dos: + _episode = "\"Hugo 2: Whodunit?\""; + _picDir = "hugo2/"; + break; + case kGameVariantH3Dos: + _episode = "\"Hugo III: Jungle of Doom\""; + _picDir = "hugo3/"; + break; + case kGameVariantH1Win: + _episode = "\"Hugo's Horrific Adventure\""; _picDir = ""; break; - case kGameTypeHugo2: + case kGameVariantH2Win: _episode = "\"Hugo's Mystery Adventure\""; _picDir = "hugo2/"; break; - case kGameTypeHugo3: + case kGameVariantH3Win: _episode = "\"Hugo's Amazon Adventure\""; _picDir = "hugo3/"; break; diff --git a/engines/hugo/hugo.h b/engines/hugo/hugo.h index c829824638..4cfd9b0485 100644 --- a/engines/hugo/hugo.h +++ b/engines/hugo/hugo.h @@ -53,6 +53,9 @@ class RandomSource; * - Hugo's House of Horror * - Whodunit? * - Jungle of Doom + * - Hugo's Horrific Adventure + * - Hugo's Mystery Adventure + * - Hugo's Amazon Adventure */ namespace Hugo { |