From ddae7207c7ab16de16628ac6668b8637dc6abfaa Mon Sep 17 00:00:00 2001 From: Holger Schemel Date: Tue, 18 Jun 2024 21:52:20 +0200 Subject: [PATCH] added empty space graphics definitions for use in help anim/text files --- src/conf_gfx.c | 12 ++++++++++++ src/main.h | 5 ++--- 2 files changed, 14 insertions(+), 3 deletions(-) diff --git a/src/conf_gfx.c b/src/conf_gfx.c index 95ac605c..2981a523 100644 --- a/src/conf_gfx.c +++ b/src/conf_gfx.c @@ -331,6 +331,9 @@ struct ConfigInfo image_config[] = { "[bdx_default].growing.delay", "4" }, { "[bdx_default].growing.anim_mode", "linear" }, + { "bdx_empty_space", UNDEFINED_FILENAME }, + { "bdx_empty_space.clone_from", "empty_space" }, + { "bdx_player", UNDEFINED_FILENAME }, { "bdx_player.clone_from", "player_1" }, { "bdx_player.down", UNDEFINED_FILENAME }, @@ -1363,6 +1366,9 @@ struct ConfigInfo image_config[] = { "[sp_default].exploding.delay", "4" }, { "[sp_default].exploding.anim_mode", "linear" }, + { "sp_empty_space", UNDEFINED_FILENAME }, + { "sp_empty_space.clone_from", "empty_space" }, + { "sp_zonk", "RocksSP.png" }, { "sp_zonk.xpos", "1" }, { "sp_zonk.ypos", "0" }, @@ -5514,6 +5520,9 @@ struct ConfigInfo image_config[] = { "emc_dripper.active.ypos", "8" }, { "emc_dripper.active.frames", "1" }, + { "mm_empty_space", UNDEFINED_FILENAME }, + { "mm_empty_space.clone_from", "empty_space" }, + { "mm_mcduffin", "RocksMM.png" }, { "mm_mcduffin.xpos", "4" }, { "mm_mcduffin.ypos", "1" }, @@ -6297,6 +6306,9 @@ struct ConfigInfo image_config[] = { "[mm_default].exploding.delay", "2" }, { "[mm_default].exploding.anim_mode", "linear" }, + { "df_empty_space", UNDEFINED_FILENAME }, + { "df_empty_space.clone_from", "empty_space" }, + { "df_laser", "RocksDF.png" }, { "df_laser.xpos", "0" }, { "df_laser.ypos", "9" }, diff --git a/src/main.h b/src/main.h index 09ffc491..cbd7c1a4 100644 --- a/src/main.h +++ b/src/main.h @@ -34,8 +34,6 @@ #define IMG_UNDEFINED (-1) #define IMG_EMPTY IMG_EMPTY_SPACE -#define IMG_SP_EMPTY IMG_EMPTY_SPACE -#define IMG_SP_EMPTY_SPACE IMG_EMPTY_SPACE #define IMG_EXPLOSION IMG_DEFAULT_EXPLODING #define IMG_CHAR_START IMG_CHAR_SPACE #define IMG_STEEL_CHAR_START IMG_STEEL_CHAR_SPACE @@ -1873,7 +1871,8 @@ #define EL_DF_WALL_START EL_DF_WOODEN_WALL_START #define EL_DF_WALL_END EL_DF_STEEL_WALL_END -#define EL_DF_EMPTY (EL_DF_START2 + 304) +#define EL_DF_EMPTY_SPACE (EL_DF_START2 + 304) +#define EL_DF_EMPTY EL_DF_EMPTY_SPACE #define EL_DF_CELL (EL_DF_START2 + 305) #define EL_DF_MINE (EL_DF_START2 + 306) #define EL_DF_REFRACTOR (EL_DF_START2 + 307) -- 2.34.1