aboutsummaryrefslogtreecommitdiff
path: root/config.h
blob: 31222fb01a2b09f6190e75ba114dad4694c4b256 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#ifndef CONFIG_H_
#define CONFIG_H_

#define COST_ORTHOGONAL    10
#define COST_DIAGONAL      14 /* sqrt(2) * 10 */

#define ANIM_DELAY_USEC    10*1000

/* 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 FILENAME_BUF_SIZE  128

#endif /*CONFIG_H_ */