# HG changeset patch # User gongo # Date 1163037054 0 # Node ID 39162caa45870acffdc91aa8968c9d255613fb5c # Parent 4f977a556ba71fb8b8763721ec9b1ee38f138af3 *** empty log message *** diff -r 4f977a556ba7 -r 39162caa4587 linda.c --- a/linda.c Thu Nov 09 01:46:19 2006 +0000 +++ b/linda.c Thu Nov 09 01:50:54 2006 +0000 @@ -19,6 +19,8 @@ static CarPtr linda_carlist[CLIENT_MAX+1]; static int linda_seq[CLIENT_MAX+1]; +static Bool (*sche_func)(int); + static void set_header(unsigned int data, char *pkt, int offset) { @@ -105,7 +107,7 @@ linda_set_schedule(void *func, int mode) { linda_seq[game.play_id] = psx_in(game.play_id); - game.linda_exec = func; + sche_func = func; send_packet(game.play_id, mode, 1, 1, NULL); } @@ -373,6 +375,12 @@ return FALSE; } +Bool +linda_update(int p) +{ + return sche_func(p); +} + #if 0 static void linda_enemy_update(int id, CarPtr enemy, CarInfoPtr tpl) @@ -566,11 +574,6 @@ } #endif -void -linda_update() -{ -} - static int get_id() {