Mercurial > hg > old > magoroku_racing
view game.cc @ 102:31b24eaf05cc
remove .o
author | Atuto SHIROMA <e095729@ie.u-ryukyu.ac.jp> |
---|---|
date | Thu, 02 Jun 2011 23:11:44 +0900 |
parents | c534f339ee8b |
children | 68e6cc686f48 |
line wrap: on
line source
/* game.c */ #include <stdio.h> #include <stdlib.h> #include <stdbool.h> #include "libps2.h" #include "ps2util.h" #include "controler.h" //#include "linda/lindaapi.h" #include "game.h" #include "car.h" #include "schedule.h" /* linda.c */ #ifdef LINDA //extern int linda_init(); #else #define linda_init 1 #endif void game_main() { Game game; bool flg = true; #ifdef LINDA game->play_id = linda_init(); #endif while (1) { flg = padCheck(); if (flg == false) { break; } schedule(&game); #ifdef LINDA psx_sync_n(); #endif } } //ceriumのmainルーチンに直す。