Mercurial > hg > old > magoroku_racing.bad
view game.h @ 7:f7a5aeed1292
*** empty log message ***
author | gongo |
---|---|
date | Sat, 04 Nov 2006 08:15:16 +0000 |
parents | 0fae5658fb0b |
children | f60cb9a39d7a |
line wrap: on
line source
/* * $Id$ */ typedef enum game_state { GAME_INIT, GAME_OPENING, GAME_SELECT_CAR, GAME_WAIT, GAME_SELECT_COURSE, GAME_READY, GAME_MAIN_INIT, GAME_MAIN, GAME_PAUSE, GAME_GOAL, GAME_FINISH } GAME_STATE; typedef struct game { GAME_STATE state; CarPtr jiki; int course_id; // $B%3!<%9(BID int car_id; // $B<+5!(BID int camera_type; // $B%+%a%i$N%?%$%W(B int select; // $BA*BrMQJQ?t!)$$$i$J$$$+(B int demo_flg; // (demo_flg == 0) ? $BDL>o%b!<%I(B : $B%G%b%b!<%I(B int play_id; int rap; } Game, *GamePtr; extern Game game;