From: Holger Schemel Date: Sun, 1 Dec 2024 13:15:26 +0000 (+0100) Subject: added time penalty counter also to time penalty element in editor X-Git-Tag: 4.4.0.0-test-4~5 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=333e0246a0c20b001b8eb67ecc6f93f5baeaea6d;p=rocksndiamonds.git added time penalty counter also to time penalty element in editor So far, this counter was only displayed for the "voodoo doll" game element in the game element settings of the level editor. --- diff --git a/src/editor.c b/src/editor.c index 1e021714..1f9d89cb 100644 --- a/src/editor.c +++ b/src/editor.c @@ -12491,6 +12491,7 @@ static void DrawPropertiesInfo(void) #define TEXT_GAME_OF_LIFE_4 "Max neighbours to create" #define TEXT_TIME_BONUS "Extra time to solve level" #define TEXT_TIME_PENALTY "Time penalty if destroyed" +#define TEXT_TIME_PENALTY_2 "Time penalty for voodoo doll" #define TEXT_PERMEABILITY_RATE "slime permeability rate" #define TEXT_PERMEABILITY_BITS "slime permeability bits" #define TEXT_RANDOM_SEED "slime random number seed" @@ -12621,6 +12622,8 @@ static struct -100, 100 }, { EL_BDX_VOODOO_DOLL, &level.bd_voodoo_penalty_time, TEXT_TIME_PENALTY, 0, 100 }, + { EL_BDX_TIME_PENALTY, &level.bd_voodoo_penalty_time, TEXT_TIME_PENALTY_2, + 0, 100 }, { EL_BDX_SLIME, &level.bd_slime_permeability_rate, TEXT_PERMEABILITY_RATE, 0, 100 }, { EL_BDX_SLIME, &level.bd_slime_permeability_bits_c64, TEXT_PERMEABILITY_BITS,