aboutsummaryrefslogtreecommitdiff
path: root/src/defaults.h
diff options
context:
space:
mode:
authorSopár Adrián <adrian.sopar@protonmail.com>2024-06-23 16:58:54 +0200
committerSopár Adrián <adrian.sopar@protonmail.com>2024-06-23 16:58:54 +0200
commitdb00fd457bb6a6ce4eea57c9e46cc06867b1c5c6 (patch)
tree0badc0c9ca443ddd882dca3322c4ba3a82b7440b /src/defaults.h
parent90f9e3942d5ff3bcb58470926f68391211bebbad (diff)
Make background configurable and also hide start and end point when it's not visible.
Diffstat (limited to 'src/defaults.h')
-rw-r--r--src/defaults.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/defaults.h b/src/defaults.h
index f4914ec..0719656 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->background = get_block('?', false, get_color_code(COLOR_WHITE, COLOR_BLACK));
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));