Mercurial > hg > old > magoroku_racing
changeset 14:e01292a3bcc5
*** empty log message ***
author | gongo |
---|---|
date | Sat, 04 Nov 2006 09:00:42 +0000 |
parents | 64ec983dd5db |
children | 32b270ceef34 |
files | schedule.c |
diffstat | 1 files changed, 14 insertions(+), 14 deletions(-) [+] |
line wrap: on
line diff
--- a/schedule.c Sat Nov 04 08:57:38 2006 +0000 +++ b/schedule.c Sat Nov 04 09:00:42 2006 +0000 @@ -131,7 +131,7 @@ camera_init(); game.state = GAME_SELECT_CAR; - game.exec = sche_game_opening; + set_sche(sche_game_opening); } void @@ -147,7 +147,7 @@ if (pad.st == 1) { game.state = GAME_SELECT_CAR; - game.exec = sche_game_select_car; + set_sche(sche_game_select_car); } /* @@ -186,7 +186,7 @@ } if (pad.circle == 1) { game.state = GAME_SELECT_COURSE; - game.exec = sche_game_select_course; + set_sche(sche_game_select_course); } } @@ -209,7 +209,7 @@ } if (pad.circle == 1) { game.state = GAME_READY; - game.exec = sche_game_ready; + set_sche(sche_game_ready); } } @@ -230,11 +230,11 @@ if (pad.st > 0) { game.state = GAME_MAIN_INIT; - game.exec = sche_game_main_init; + set_sche(sche_game_main_init); } if (pad.cross > 0) { game.state = GAME_SELECT_CAR; - game.exec = sche_game_select_car; + set_sche(sche_game_select_car); } } @@ -245,7 +245,7 @@ play_init(); RUNNIG=0; game.state = GAME_MAIN; - game.exec = sche_game_main; + set_sche(sche_game_main); } void @@ -286,7 +286,7 @@ wait_init(); ranking = 1; game.state = GAME_GOAL; - game.exec = sche_game_main_goal; + set_sche(sche_game_main_goal); } gFont_SetStringInt((int)(100.0*game.jiki->speed), 380, 350); @@ -308,7 +308,7 @@ } if (pad.st == 1) { game.state = GAME_PAUSE; - game.exec = sche_game_main_pause; + set_sche(sche_game_main_pause); } } @@ -331,15 +331,15 @@ if (pad.circle == 1) { if (game.select == 0) { game.state = GAME_MAIN; - game.exec = sche_game_main; + set_sche(sche_game_main); } else { game.state = GAME_FINISH; - game.exec = sche_game_main_finish; + set_sche(sche_game_main_finish); } } if (pad.st == 1) { game.state = GAME_MAIN; - game.exec = sche_game_main; + set_sche(sche_game_main); } if (pad.up == 1 || pad.down == 1) { game.select = !game.select; @@ -373,7 +373,7 @@ camera_update(game.jiki->body->transfer); if (pad.st == 1) { game.state = GAME_FINISH; - game.exec = sche_game_main_finish; + set_sche(sche_game_main_finish); } } @@ -390,7 +390,7 @@ } if (pad.st == 1) { game.state = GAME_OPENING; - game.exec = sche_game_opening; + set_sche(sche_game_game_opening); } }