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

svn-id: r52188
This commit is contained in:
Arnaud Boutonné 2010-08-18 15:39:40 +00:00
parent ab5bb86e20
commit fc94562c77
2 changed files with 1 additions and 11 deletions

View file

@ -95,7 +95,7 @@ void intro_3w::preNewGame() {
void intro_3w::introInit() { void intro_3w::introInit() {
// Hugo 3 - show map and set up for introPlay() // Hugo 3 - show map and set up for introPlay()
//#if STORY //#if STORY
_vm.file().readBackground(INTRO_2_FILE); _vm.file().readBackground(22); // display screen MAP_3w
_vm.screen().displayBackground(); _vm.screen().displayBackground();
introTicks = 0; introTicks = 0;
//#endif //#endif

View file

@ -34,16 +34,6 @@
#define INTRO_H #define INTRO_H
namespace Hugo { 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 { enum seqTextIntro {
kIntro1 = 0, kIntro1 = 0,