From: Holger Schemel Date: Tue, 27 Feb 2024 20:06:02 +0000 (+0100) Subject: white space changes X-Git-Tag: 4.4.0.0-test-1~273 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;ds=sidebyside;h=c8befbbd30922bedbebc2cd1799a779068bde4b8;p=rocksndiamonds.git white space changes --- diff --git a/src/game_bd/bd_bdcff.c b/src/game_bd/bd_bdcff.c index 53fc4c91..ff5a60ca 100644 --- a/src/game_bd/bd_bdcff.c +++ b/src/game_bd/bd_bdcff.c @@ -1113,8 +1113,10 @@ boolean gd_caveset_load_from_bdcff(const char *contents) hashtable_insert(tags, getStringCopy(attrib), getStringCopy(param)); } else + { /* unknown setting - report. */ Warn("invalid attribute for [game] '%s'", attrib); + } } else { diff --git a/src/game_bd/bd_cave.h b/src/game_bd/bd_cave.h index f4753444..3bdc02f0 100644 --- a/src/game_bd/bd_cave.h +++ b/src/game_bd/bd_cave.h @@ -89,7 +89,7 @@ void gd_struct_set_defaults_from_array(void *str, const GdStructDescriptor *prop /* +80: placeholder for cells which are rendered by the game; for example diamond + arrow = falling diamond */ -#define GD_NUM_OF_CELLS (GD_NUM_OF_CELLS_X*GD_NUM_OF_CELLS_Y+80) +#define GD_NUM_OF_CELLS (GD_NUM_OF_CELLS_X * GD_NUM_OF_CELLS_Y + 80) /* maximum replay size (maximum seconds x game cycles per second) */ #define MAX_REPLAY_LEN (10000 * FRAMES_PER_SECOND / 8)