From fc94562c771a528ba6be57504c9bc097cac9d426 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Arnaud=20Boutonn=C3=A9?= Date: Wed, 18 Aug 2010 15:39:40 +0000 Subject: [PATCH] H3 win - Suppress an enum and use directly the screen number, with a comment svn-id: r52188 --- engines/hugo/intro.cpp | 2 +- engines/hugo/intro.h | 10 ---------- 2 files changed, 1 insertion(+), 11 deletions(-) diff --git a/engines/hugo/intro.cpp b/engines/hugo/intro.cpp index cd08d73b270..adee2510a6b 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 202507f9752..9049fc02f37 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,