view game.h @ 127:f129e644ec29

fix xml
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Wed, 06 Jul 2011 21:46:37 +0900
parents 31dd5c07f7c1
children d9e3137e70a0
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