From: Holger Schemel Date: Wed, 6 Jan 2021 23:03:35 +0000 (+0100) Subject: added level value to use time score for 1 or 10 seconds left (not used yet) X-Git-Tag: 4.2.2.1~14 X-Git-Url: https://git.artsoft.org/?p=rocksndiamonds.git;a=commitdiff_plain;h=87fd32ed7c5c47b7278300d12bf67c5b46a604a6 added level value to use time score for 1 or 10 seconds left (not used yet) --- diff --git a/src/files.c b/src/files.c index 65fb1bdc..bd4c0cc6 100644 --- a/src/files.c +++ b/src/files.c @@ -258,6 +258,12 @@ static struct LevelFileConfigInfo chunk_config_INFO[] = &li.solved_by_one_player, FALSE }, + { + -1, -1, + TYPE_INTEGER, CONF_VALUE_8_BIT(12), + &li.time_score_base, 1 + }, + { -1, -1, -1, -1, diff --git a/src/main.h b/src/main.h index 6fac6774..b0ebc13d 100644 --- a/src/main.h +++ b/src/main.h @@ -3204,6 +3204,8 @@ struct LevelInfo // ('int' instead of 'boolean' because used as selectbox value in editor) int use_step_counter; // count steps instead of seconds for level + int time_score_base; // use time score for 1 or 10 seconds/steps + short field[MAX_LEV_FIELDX][MAX_LEV_FIELDY]; boolean use_custom_template; // use custom properties from template file