comparison game.h @ 90:8edae89a3877

compile on Mac OS X
author Atuto SHIROMA <e095729@ie.u-ryukyu.ac.jp>
date Thu, 19 May 2011 16:41:21 +0900 (2011-05-19)
parents ce9ef7dcf2f0
children 0b65ca27f113
comparison
equal deleted inserted replaced
89:aff757cc46d7 90:8edae89a3877
1 /* 1 #ifndef GAME_H
2 * $Id$ 2 #define GAME_H
3 */ 3
4 #include "car.h"
5 #include "linda/lindaapi.h"
6
7 extern void game_main();
8 extern void schedule();
9 extern int linda_init();
10 extern void psx_sync_n();
11
12
4 13
5 typedef struct game { 14 typedef struct game {
6 CarPtr jiki; 15 CarPtr jiki;
7 int course_id; // コースID 16 int course_id; // コースID
8 int car_id; // 自機ID 17 int car_id; // 自機ID
9 int camera_type; // カメラのタイプ 18 int camera_type; // カメラのタイプ
10 int play_id; 19 int play_id;
11 int rap; 20 int rap;
12 } Game, *GamePtr; 21 } Game, *GamePtr;
13 22
14 extern Game game; 23
24 extern Game *game;
25
26 #endif