Mercurial > hg > old > magoroku_racing
changeset 65:3e7db5ef4691
*** empty log message ***
author | gongo |
---|---|
date | Thu, 09 Nov 2006 03:16:22 +0000 |
parents | e6a6dde71701 |
children | 4af6c92304bb |
files | game.c schedule.c |
diffstat | 2 files changed, 1 insertions(+), 18 deletions(-) [+] |
line wrap: on
line diff
--- a/game.c Thu Nov 09 03:12:04 2006 +0000 +++ b/game.c Thu Nov 09 03:16:22 2006 +0000 @@ -19,24 +19,11 @@ #ifdef LINDA extern int linda_init(); #else -#define linda_init linda_init0 +#define linda_init 1 #endif Game game; -static Bool -ret() -{ - return TRUE; -} - -static int -linda_init0() -{ - game.linda_exec = &ret; - return 1; -} - void game_main() {
--- a/schedule.c Thu Nov 09 03:12:04 2006 +0000 +++ b/schedule.c Thu Nov 09 03:16:22 2006 +0000 @@ -234,13 +234,11 @@ if (pad.right == 1) { game.course_id = (game.course_id > MAXFIELD-1) ? 1 : game.course_id + 1; - game.linda_exec(); goto SELECT_COURSE; } if (pad.left == 1) { game.course_id = (game.course_id < 2) ? MAXFIELD : game.course_id - 1; - game.linda_exec(); goto SELECT_COURSE; } @@ -347,8 +345,6 @@ car_accelerate(game.jiki, -1); } - game.linda_exec(); - if (pad.r1 == 1) { game.camera_type = !game.camera_type; }