Mercurial > hg > old > magoroku_racing
view game.h @ 134:42337585fb7c
fix merge
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Fri, 22 Jul 2011 18:32:39 +0900 |
parents | 4f50f5a3b363 |
children | 4ce7b80c9265 |
line wrap: on
line source
/* game.h */ #ifndef GAME_H #define GAME_H #include "car.h" #include "linda/lindaapi.h" void game_main(); int linda_init(); void psx_sync_n(); typedef struct game { CarPtr jiki; int course_id; // コースID int car_id; // 自機ID int camera_type; // カメラのタイプ int play_id; int rap; // 何周したか } Game, *GamePtr; //extern Game *game; //extern void schedule(Game *game); // car.hに書くと、game.hとお互いにincludeしてしまう void car_id_update(Game *game, CarPtr jiki); #endif