Mercurial > hg > old > magoroku_racing
comparison linda.c @ 54:61e6ea6dbd77
*** empty log message ***
author | gongo |
---|---|
date | Wed, 08 Nov 2006 07:39:57 +0000 |
parents | a233027e895c |
children | 8cef655f3bf9 |
comparison
equal
deleted
inserted
replaced
53:a233027e895c | 54:61e6ea6dbd77 |
---|---|
355 | 355 |
356 ps2_vu0_unit_matrix(data); | 356 ps2_vu0_unit_matrix(data); |
357 ps2_vu0_copy_matrix(data, game.jiki->body->transfer); | 357 ps2_vu0_copy_matrix(data, game.jiki->body->transfer); |
358 ps2_vu0_copy_vector(data[3], game.jiki->location); | 358 ps2_vu0_copy_vector(data[3], game.jiki->location); |
359 | 359 |
360 send_packet(2, MODE_MAIN, 1, 1, (char*)game.jiki->body->transfer); | 360 linda_seq[game.play_id] = psx_in(game.play_id); |
361 send_packet(game.play_id, MODE_MAIN, 1, 1, (char*)data); | |
361 return FALSE; | 362 return FALSE; |
362 } | 363 } |
363 | 364 |
364 static Bool | 365 static Bool |
365 linda_sche_main1() | 366 linda_sche_main1() |
367 int mode; | 368 int mode; |
368 FMATRIX po; | 369 FMATRIX po; |
369 | 370 |
370 ps2_vu0_unit_matrix(po); | 371 ps2_vu0_unit_matrix(po); |
371 | 372 |
372 get_packet(PLAYER_1P, NULL, &mode, NULL, NULL, (char*)po); | 373 get_packet(PLAYER_1P, NULL, &mode, NULL, NULL, (char*)&po); |
373 | 374 |
374 if (mode == MODE_MAIN) { | 375 if (mode == MODE_MAIN) { |
375 ps2_vu0_copy_matrix(game.jiki->body->transfer, po); | 376 ps2_vu0_copy_matrix(game.jiki->body->transfer, po); |
376 } | 377 } |
377 | 378 |