[Scummvm-cvs-logs] SF.net SVN: scummvm:[54131] scummvm/trunk/engines/hugo
strangerke at users.sourceforge.net
strangerke at users.sourceforge.net
Sun Nov 7 23:10:30 CET 2010
Revision: 54131
http://scummvm.svn.sourceforge.net/scummvm/?rev=54131&view=rev
Author: strangerke
Date: 2010-11-07 22:10:29 +0000 (Sun, 07 Nov 2010)
Log Message:
-----------
HUGO: Use DOS names for and exact names in endGame()
Modified Paths:
--------------
scummvm/trunk/engines/hugo/detection.cpp
scummvm/trunk/engines/hugo/hugo.cpp
scummvm/trunk/engines/hugo/hugo.h
Modified: scummvm/trunk/engines/hugo/detection.cpp
===================================================================
--- scummvm/trunk/engines/hugo/detection.cpp 2010-11-07 21:25:32 UTC (rev 54130)
+++ scummvm/trunk/engines/hugo/detection.cpp 2010-11-07 22:10:29 UTC (rev 54131)
@@ -41,8 +41,8 @@
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}
};
Modified: scummvm/trunk/engines/hugo/hugo.cpp
===================================================================
--- scummvm/trunk/engines/hugo/hugo.cpp 2010-11-07 21:25:32 UTC (rev 54130)
+++ scummvm/trunk/engines/hugo/hugo.cpp 2010-11-07 22:10:29 UTC (rev 54131)
@@ -985,16 +985,28 @@
_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 kGameTypeHugo2:
+ 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 kGameVariantH2Win:
_episode = "\"Hugo's Mystery Adventure\"";
_picDir = "hugo2/";
break;
- case kGameTypeHugo3:
+ case kGameVariantH3Win:
_episode = "\"Hugo's Amazon Adventure\"";
_picDir = "hugo3/";
break;
Modified: scummvm/trunk/engines/hugo/hugo.h
===================================================================
--- scummvm/trunk/engines/hugo/hugo.h 2010-11-07 21:25:32 UTC (rev 54130)
+++ scummvm/trunk/engines/hugo/hugo.h 2010-11-07 22:10:29 UTC (rev 54131)
@@ -53,6 +53,9 @@
* - Hugo's House of Horror
* - Whodunit?
* - Jungle of Doom
+ * - Hugo's Horrific Adventure
+ * - Hugo's Mystery Adventure
+ * - Hugo's Amazon Adventure
*/
namespace Hugo {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list