From 90f9e3942d5ff3bcb58470926f68391211bebbad Mon Sep 17 00:00:00 2001 From: Sopár Adrián Date: Sun, 23 Jun 2024 15:33:35 +0200 Subject: Hide the part of the map that cannot be seen from the player's point of view. --- src/defaults.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/defaults.h') diff --git a/src/defaults.h b/src/defaults.h index d4fdc1b..f4914ec 100644 --- a/src/defaults.h +++ b/src/defaults.h @@ -8,6 +8,7 @@ static inline void set_blocks(struct game_blocks *game_blocks) { + game_blocks->hidden = get_block('?', false, get_color_code(COLOR_WHITE, COLOR_BLACK)); game_blocks->wall = get_block(' ', false, get_color_code(COLOR_BLACK, COLOR_WHITE)); game_blocks->road = get_block(' ', false, get_color_code(COLOR_WHITE, COLOR_BLACK)); game_blocks->path = get_block(0x2022, false, get_color_code(COLOR_YELLOW, COLOR_BLACK)); @@ -45,4 +46,4 @@ static inline void set_blocks(struct game_blocks *game_blocks) {':', "", start_command_prompt, ':'}, \ } -#endif \ No newline at end of file +#endif -- cgit v1.2.3