From d0b1a2ab1a6f5c004d675d700181b16385a30b04 Mon Sep 17 00:00:00 2001 From: Kirill Petrashin Date: Sat, 14 Mar 2026 21:00:51 +0300 Subject: Improve rendering --- config.h | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'config.h') diff --git a/config.h b/config.h index 3eb931d..096fd32 100644 --- a/config.h +++ b/config.h @@ -1,13 +1,17 @@ #ifndef CONFIG_H_ #define CONFIG_H_ -// The characters that represent different tiles -#define EMPTY_CHAR '.' -#define GOAL_CHAR 'Z' +/* The characters that represent different tiles. + * Some have two characters -- that's because of the rendering trick where we + * use two characters back-to-back so they look like a square. */ +#define EMPTY_CHAR ' ' +#define GOAL_CHAR_1 'G' +#define GOAL_CHAR_2 'L' #define WALL_CHAR '#' -#define START_CHAR 'A' +#define START_CHAR_1 'S' +#define START_CHAR_2 'T' -#define DRAW_MAP_OFFSET_X 1 +#define DRAW_MAP_OFFSET_X 2 #define DRAW_MAP_OFFSET_Y 1 #endif //CONFIG_H_ -- cgit v1.2.3