From 81d4eca04b7a3643195f1b23a2f2c28902d64d78 Mon Sep 17 00:00:00 2001 From: Gwenhael Le Moine Date: Fri, 1 Jul 2011 19:21:02 +0200 Subject: [PATCH] beau --- star.c | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/star.c b/star.c index 9367a97..85b5984 100644 --- a/star.c +++ b/star.c @@ -269,26 +269,26 @@ 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 { char board[ LEVEL_HEIGHT * LEVEL_WIDTH ]; char moving; - int moves; - int level; - int nb_levels; + int moves; + int level; + int nb_levels; }; int count_gifts( struct state *s )