aboutsummaryrefslogtreecommitdiff
path: root/engines/hugo
diff options
context:
space:
mode:
authorArnaud Boutonné2010-11-07 22:10:29 +0000
committerArnaud Boutonné2010-11-07 22:10:29 +0000
commit74d0ad83711ae515befa1ed8dcff9dc6f59c5275 (patch)
treefed9dda1e671b8daeb1ebc8c36ebca1789b75ac7 /engines/hugo
parent170b21c2ce399a17fe3eeb2b6def81e3adbdc261 (diff)
downloadscummvm-rg350-74d0ad83711ae515befa1ed8dcff9dc6f59c5275.tar.gz
scummvm-rg350-74d0ad83711ae515befa1ed8dcff9dc6f59c5275.tar.bz2
scummvm-rg350-74d0ad83711ae515befa1ed8dcff9dc6f59c5275.zip
HUGO: Use DOS names for and exact names in endGame()
svn-id: r54131
Diffstat (limited to 'engines/hugo')
-rw-r--r--engines/hugo/detection.cpp4
-rw-r--r--engines/hugo/hugo.cpp22
-rw-r--r--engines/hugo/hugo.h3
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 {