aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorArnaud Boutonné2010-08-18 15:39:40 +0000
committerArnaud Boutonné2010-08-18 15:39:40 +0000
commitfc94562c771a528ba6be57504c9bc097cac9d426 (patch)
tree58596cd4de02559290384bfe338110efb3a06698 /engines
parentab5bb86e207c3af61d713d72121232a7ac1dd3bc (diff)
downloadscummvm-rg350-fc94562c771a528ba6be57504c9bc097cac9d426.tar.gz
scummvm-rg350-fc94562c771a528ba6be57504c9bc097cac9d426.tar.bz2
scummvm-rg350-fc94562c771a528ba6be57504c9bc097cac9d426.zip
H3 win - Suppress an enum and use directly the screen number, with a comment
svn-id: r52188
Diffstat (limited to 'engines')
-rw-r--r--engines/hugo/intro.cpp2
-rw-r--r--engines/hugo/intro.h10
2 files changed, 1 insertions, 11 deletions
diff --git a/engines/hugo/intro.cpp b/engines/hugo/intro.cpp
index cd08d73b27..adee2510a6 100644
--- a/engines/hugo/intro.cpp
+++ b/engines/hugo/intro.cpp
@@ -95,7 +95,7 @@ void intro_3w::preNewGame() {
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
diff --git a/engines/hugo/intro.h b/engines/hugo/intro.h
index 202507f975..9049fc02f3 100644
--- a/engines/hugo/intro.h
+++ b/engines/hugo/intro.h
@@ -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,