view 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
parents ce9ef7dcf2f0
children 0b65ca27f113
line wrap: on
line source

#ifndef GAME_H
#define GAME_H

#include "car.h"
#include "linda/lindaapi.h"

extern void game_main();
extern void schedule();
extern int linda_init();
extern 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;

#endif