[Scummvm-cvs-logs] SF.net SVN: scummvm:[52188] scummvm/trunk/engines/hugo

strangerke at users.sourceforge.net strangerke at users.sourceforge.net
Wed Aug 18 17:39:40 CEST 2010


Revision: 52188
          http://scummvm.svn.sourceforge.net/scummvm/?rev=52188&view=rev
Author:   strangerke
Date:     2010-08-18 15:39:40 +0000 (Wed, 18 Aug 2010)

Log Message:
-----------
H3 win - Suppress an enum and use directly the screen number, with a comment

Modified Paths:
--------------
    scummvm/trunk/engines/hugo/intro.cpp
    scummvm/trunk/engines/hugo/intro.h

Modified: scummvm/trunk/engines/hugo/intro.cpp
===================================================================
--- scummvm/trunk/engines/hugo/intro.cpp	2010-08-18 15:33:59 UTC (rev 52187)
+++ scummvm/trunk/engines/hugo/intro.cpp	2010-08-18 15:39:40 UTC (rev 52188)
@@ -95,7 +95,7 @@
 void intro_3w::introInit() {
 // Hugo 3 - show map and set up for introPlay()
 //#if STORY
-	_vm.file().readBackground(INTRO_2_FILE);
+	_vm.file().readBackground(22); // display screen MAP_3w
 	_vm.screen().displayBackground();
 	introTicks = 0;
 //#endif

Modified: scummvm/trunk/engines/hugo/intro.h
===================================================================
--- scummvm/trunk/engines/hugo/intro.h	2010-08-18 15:33:59 UTC (rev 52187)
+++ scummvm/trunk/engines/hugo/intro.h	2010-08-18 15:39:40 UTC (rev 52188)
@@ -34,16 +34,6 @@
 #define INTRO_H
 
 namespace Hugo {
-// TODO : Remove this enum. Only used in Hugo 3w intro.
-// Enumerate picture files.  All screens must have an entry here, in order
-enum screenid_3w {
-	CRASH,   WEB,       BRIDGE_3w,  BRIDGE2,   CLIFFTOP, WFALL,
-	WFALL_B, WBASE,     STREAM_3w,  STREAM2,   PATH_UL,  VILLAGE,
-	HUT_OUT, HUT_IN,    GARDEN_3w,  OLDMAN_3w, CLIFF,    SLOPE,
-	CAMP,    SUNSET,    TURN,       PLANE,     MAP,      PATH,
-	CAVE,    FINTRO,    NUM_PICS
-};
-#define INTRO_2_FILE  MAP
 
 enum seqTextIntro {
 	kIntro1 = 0,


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