From: Holger Schemel Date: Mon, 9 Sep 2024 21:16:50 +0000 (+0200) Subject: fixed alternative suffixes .old/.new for graphics_set.ecs/.aga X-Git-Tag: 4.4.0.0-test-4~271 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=3a1fafaabb688d2ddace9b2289911fff3b560b54;p=rocksndiamonds.git fixed alternative suffixes .old/.new for graphics_set.ecs/.aga This fixes commit 869cd97d. --- diff --git a/src/libgame/setup.c b/src/libgame/setup.c index fb63321b..f10fb0e9 100644 --- a/src/libgame/setup.c +++ b/src/libgame/setup.c @@ -2858,26 +2858,28 @@ SetupFileHash *loadSetupFileHash(char *filename) #define LEVELINFO_TOKEN_LATEST_ENGINE 14 #define LEVELINFO_TOKEN_LEVEL_GROUP 15 #define LEVELINFO_TOKEN_READONLY 16 -#define LEVELINFO_TOKEN_GRAPHICS_SET_ECS 17 -#define LEVELINFO_TOKEN_GRAPHICS_SET_AGA 18 -#define LEVELINFO_TOKEN_GRAPHICS_SET 19 -#define LEVELINFO_TOKEN_SOUNDS_SET_DEFAULT 20 -#define LEVELINFO_TOKEN_SOUNDS_SET_LOWPASS 21 -#define LEVELINFO_TOKEN_SOUNDS_SET 22 -#define LEVELINFO_TOKEN_MUSIC_SET 23 -#define LEVELINFO_TOKEN_FILENAME 24 -#define LEVELINFO_TOKEN_FILETYPE 25 -#define LEVELINFO_TOKEN_SPECIAL_FLAGS 26 -#define LEVELINFO_TOKEN_EMPTY_LEVEL_NAME 27 -#define LEVELINFO_TOKEN_FORCE_LEVEL_NAME 28 -#define LEVELINFO_TOKEN_HANDICAP 29 -#define LEVELINFO_TOKEN_TIME_LIMIT 30 -#define LEVELINFO_TOKEN_SKIP_LEVELS 31 -#define LEVELINFO_TOKEN_ALLOW_SKIPPING_LEVELS 32 -#define LEVELINFO_TOKEN_USE_EMC_TILES 33 -#define LEVELINFO_TOKEN_INFO_SCREENS_FROM_MAIN 34 - -#define NUM_LEVELINFO_TOKENS 35 +#define LEVELINFO_TOKEN_GRAPHICS_SET_OLD 17 +#define LEVELINFO_TOKEN_GRAPHICS_SET_NEW 18 +#define LEVELINFO_TOKEN_GRAPHICS_SET_ECS 19 +#define LEVELINFO_TOKEN_GRAPHICS_SET_AGA 20 +#define LEVELINFO_TOKEN_GRAPHICS_SET 21 +#define LEVELINFO_TOKEN_SOUNDS_SET_DEFAULT 22 +#define LEVELINFO_TOKEN_SOUNDS_SET_LOWPASS 23 +#define LEVELINFO_TOKEN_SOUNDS_SET 24 +#define LEVELINFO_TOKEN_MUSIC_SET 25 +#define LEVELINFO_TOKEN_FILENAME 26 +#define LEVELINFO_TOKEN_FILETYPE 27 +#define LEVELINFO_TOKEN_SPECIAL_FLAGS 28 +#define LEVELINFO_TOKEN_EMPTY_LEVEL_NAME 29 +#define LEVELINFO_TOKEN_FORCE_LEVEL_NAME 30 +#define LEVELINFO_TOKEN_HANDICAP 31 +#define LEVELINFO_TOKEN_TIME_LIMIT 32 +#define LEVELINFO_TOKEN_SKIP_LEVELS 33 +#define LEVELINFO_TOKEN_ALLOW_SKIPPING_LEVELS 34 +#define LEVELINFO_TOKEN_USE_EMC_TILES 35 +#define LEVELINFO_TOKEN_INFO_SCREENS_FROM_MAIN 36 + +#define NUM_LEVELINFO_TOKENS 37 static LevelDirTree ldi;