diff options
| author | Kirill Petrashin <kirill8201@yandex.ru> | 2026-03-14 21:00:51 +0300 |
|---|---|---|
| committer | Kirill Petrashin <kirill8201@yandex.ru> | 2026-03-14 21:00:51 +0300 |
| commit | d0b1a2ab1a6f5c004d675d700181b16385a30b04 (patch) | |
| tree | 1da501dd9a52654e246cde8969e48b026a8adb47 /config.h | |
| parent | 8d165ccf784dd7a3afe35b68339f2b536591362c (diff) | |
Improve rendering
Diffstat (limited to 'config.h')
| -rw-r--r-- | config.h | 14 |
1 files changed, 9 insertions, 5 deletions
@@ -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_ |
