Mercurial > hg > old > magoroku_racing
changeset 9:2fdac80d03ae
*** empty log message ***
author | gongo |
---|---|
date | Sat, 04 Nov 2006 08:35:41 +0000 |
parents | f60cb9a39d7a |
children | b000c4765eca |
files | game.c |
diffstat | 1 files changed, 8 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- a/game.c Sat Nov 04 08:28:46 2006 +0000 +++ b/game.c Sat Nov 04 08:35:41 2006 +0000 @@ -31,6 +31,9 @@ Game game; +extern void sche_game_init(); +game.exec = sche_game_init; + void game_main() { @@ -39,19 +42,16 @@ game.play_id = linda_init(); - while (flg == TRUE) { + while (1) { flg = padCheck(); - if (flg == FALSE && game.demo_flg == 1) { - game.state = GAME_FINISH; - flg = TRUE; + if (flg == FALSE) { + break; } schedule(); #ifdef LINDA - if (game.demo_flg == 0) { - linda_update(); - psx_sync_n(); - } + linda_update(); + psx_sync_n(); #endif } }