Mercurial > hg > old > magoroku_racing
comparison game.h @ 109:165b4d902ca4
Error is corrected game.h and car.h
author | Atuto SHIROMA <e095729@ie.u-ryukyu.ac.jp> |
---|---|
date | Thu, 09 Jun 2011 00:53:50 +0900 |
parents | 0b65ca27f113 |
children | 8a525ec378fc |
comparison
equal
deleted
inserted
replaced
108:68e6cc686f48 | 109:165b4d902ca4 |
---|---|
9 void game_main(); | 9 void game_main(); |
10 | 10 |
11 int linda_init(); | 11 int linda_init(); |
12 void psx_sync_n(); | 12 void psx_sync_n(); |
13 | 13 |
14 typedef struct game { | |
15 CarPtr jiki; | |
16 int course_id; // コースID | |
17 int car_id; // 自機ID | |
18 int camera_type; // カメラのタイプ | |
19 int play_id; | |
20 int rap; | |
21 } Game, *GamePtr; | |
22 | 14 |
23 | 15 |
24 extern Game *game; | 16 extern Game *game; |
25 | 17 |
18 void schedule(Game *game); | |
19 | |
26 #endif | 20 #endif |
27 | 21 |
28 // car.hに書くと、game.hとお互いにincludeしてしまう | 22 // car.hに書くと、game.hとお互いにincludeしてしまう |
29 void car_id_update(Game *game, CarPtr jiki); | 23 //void car_id_update(Game *game, CarPtr jiki); |