This commit is contained in:
Gwenhael Le Moine 2011-07-01 19:21:02 +02:00
parent 6cd428d31c
commit 81d4eca04b

18
star.c
View file

@ -269,18 +269,18 @@ enum {
};
typedef enum {
WALL ='#',
BALL ='@',
CUBE ='H',
VOID =' ',
GIFT ='x'
WALL = '#',
BALL = '@',
CUBE = 'H',
VOID = ' ',
GIFT = 'x'
} cell;
typedef enum {
UP ='u',
DOWN ='d',
LEFT ='l',
RIGHT ='r'
UP = 'u',
DOWN = 'd',
LEFT = 'l',
RIGHT = 'r'
} direction;
struct state {