Mercurial > hg > old > magoroku_racing
changeset 30:7a348d9ce4ac
*** empty log message ***
author | gongo |
---|---|
date | Sun, 05 Nov 2006 02:36:29 +0000 |
parents | 6387573f9c85 |
children | 03ea510aa478 |
files | schedule.c |
diffstat | 1 files changed, 11 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/schedule.c Sun Nov 05 02:32:53 2006 +0000 +++ b/schedule.c Sun Nov 05 02:36:29 2006 +0000 @@ -22,7 +22,6 @@ #define MAXCAR 3 // 選択可能機体 #define MAXFIELD 2 // 選択可能コース -#define DEMO_NUM 2.0 // デモの数 #define MAXRAP 3 // ラップ数 #define SP_SEL_CAR 50 #define SP_SEL_COURSE 80 @@ -102,6 +101,7 @@ static void sche_game_main_pause(); static void sche_game_main_goal(); static void sche_game_main_finish(); +static void sche_game_main_finish2(); static void game_env_init() @@ -359,13 +359,18 @@ void sche_game_main_finish() { + field_destroy(); + carNode_destroy(); + game_env_init(); + + set_schedule(sche_game_main_finish2); +} + +void +sche_game_main_finish2() +{ gFont_SetString("GAME OVER ...", 200, 200); - if (game.jiki) { - field_destroy(); - carNode_destroy(); - game_env_init(); - } if (pad.st == 1) { set_schedule(sche_game_opening); }