From 1dcd78e7deb48c22a675eca219cd32e1ebd6d8ad Mon Sep 17 00:00:00 2001 From: Holger Schemel Date: Wed, 6 Mar 2024 15:02:22 +0100 Subject: [PATCH] added dedicated empty space element for BD engine (currently not used) --- src/main.c | 11 ++++++++--- src/main.h | 18 ++++++++++-------- 2 files changed, 18 insertions(+), 11 deletions(-) diff --git a/src/main.c b/src/main.c index 4107419d..b0d794b5 100644 --- a/src/main.c +++ b/src/main.c @@ -6463,9 +6463,9 @@ struct ElementNameInfo element_name_info[MAX_NUM_ELEMENTS + 1] = "slope (DF style) (315\xb0)" }, { - "bd_player", - "bd_player", - "player" + "bd_empty_space", + "empty_space", + "empty space" }, { "bd_sand", @@ -7097,6 +7097,11 @@ struct ElementNameInfo element_name_info[MAX_NUM_ELEMENTS + 1] = "bd_nitro_pack", "nitro pack" }, + { + "bd_player", + "bd_player", + "player" + }, { "bd_player_with_bomb", "bd_player", diff --git a/src/main.h b/src/main.h index 68b2cd69..03d144c1 100644 --- a/src/main.h +++ b/src/main.h @@ -1993,7 +1993,8 @@ #define EL_DF_END_2 EL_DF_SLOPE_END // BD style elements -#define EL_BD_PLAYER 1253 +#define EL_BD_EMPTY_SPACE 1253 +#define EL_BD_EMPTY EL_BD_EMPTY_SPACE #define EL_BD_SAND 1254 #define EL_BD_SAND_2 1255 #define EL_BD_SAND_BALL 1256 @@ -2120,13 +2121,14 @@ #define EL_BD_DRAGONFLY_DOWN 1377 #define EL_BD_BOMB 1378 #define EL_BD_NITRO_PACK 1379 -#define EL_BD_PLAYER_WITH_BOMB 1380 -#define EL_BD_PLAYER_GLUED 1381 -#define EL_BD_PLAYER_STIRRING 1382 -#define EL_BD_FAKE_BONUS 1383 -#define EL_BD_COVERED 1384 - -#define NUM_FILE_ELEMENTS 1385 +#define EL_BD_PLAYER 1380 +#define EL_BD_PLAYER_WITH_BOMB 1381 +#define EL_BD_PLAYER_GLUED 1382 +#define EL_BD_PLAYER_STIRRING 1383 +#define EL_BD_FAKE_BONUS 1384 +#define EL_BD_COVERED 1385 + +#define NUM_FILE_ELEMENTS 1386 // "real" (and therefore drawable) runtime elements -- 2.34.1