blob: a2c97dde025bd0e5c2210b58715a3f814057b727 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#ifndef CONFIG_H_
#define CONFIG_H_
#define COST_ORTHOGONAL 10
#define COST_DIAGONAL 14 /* sqrt(2) * 10 */
/* 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_1 'S'
#define START_CHAR_2 'T'
#define CURSOR_CHAR_1 '<'
#define CURSOR_CHAR_2 '>'
#define DRAW_MAP_OFFSET_X 2
#define DRAW_MAP_OFFSET_Y 1
#endif /*CONFIG_H_ */
|