Mercurial > hg > old > magoroku_racing
diff schedule.c @ 26:4447fd650f60
*** empty log message ***
author | gongo |
---|---|
date | Sun, 05 Nov 2006 02:25:30 +0000 |
parents | b1ba4dad7f6e |
children | 618f39723403 |
line wrap: on
line diff
--- a/schedule.c Sun Nov 05 02:24:05 2006 +0000 +++ b/schedule.c Sun Nov 05 02:25:30 2006 +0000 @@ -109,7 +109,6 @@ game.car_id = 1; game.course_id = 1; game.camera_type = 0; - game.select = 0; game.rap = 1; game.jiki = NULL; @@ -303,12 +302,14 @@ void sche_game_main_pause() { + static int select = 0; + field_update(game.jiki); carNode_draw(); if (game.play_id == 1) { /* ÁªÂò¥Þ¡¼¥¯ */ - gSprite_PutSprite(17, 100, 190+game.select*100); + gSprite_PutSprite(17, 100, 190+select*100); gFont_SetString("BACK TO GAME", 200, 200); gFont_SetString("GO TO TITLE", 200, 300); @@ -317,7 +318,7 @@ } if (pad.circle == 1) { - if (game.select == 0) { + if (select == 0) { set_schedule(sche_game_main); } else { set_schedule(sche_game_main_finish); @@ -327,7 +328,7 @@ set_schedule(sche_game_main); } if (pad.up == 1 || pad.down == 1) { - game.select = !game.select; + select = !select; } }