Mercurial > hg > old > magoroku_racing
comparison linda.c @ 56:d578f3f3b0a6
*** empty log message ***
author | gongo |
---|---|
date | Wed, 08 Nov 2006 12:15:55 +0000 |
parents | 8cef655f3bf9 |
children | 1cccf6d964b7 |
comparison
equal
deleted
inserted
replaced
55:8cef655f3bf9 | 56:d578f3f3b0a6 |
---|---|
91 | 91 |
92 if (flg) *flg = 1; | 92 if (flg) *flg = 1; |
93 if (mode) *mode = get_header(pkt, PKT_MODE_OFFSET); | 93 if (mode) *mode = get_header(pkt, PKT_MODE_OFFSET); |
94 if (car) *car = get_header(pkt, PKT_CARID_OFFSET); | 94 if (car) *car = get_header(pkt, PKT_CARID_OFFSET); |
95 if (course) *course = get_header(pkt, PKT_COURSEID_OFFSET); | 95 if (course) *course = get_header(pkt, PKT_COURSEID_OFFSET); |
96 if (data) data = pkt+PKT_DATA_OFFSET; | 96 if (data) |
97 | 97 memcpy(data, pkt+PKT_DATA_OFFSET, sizeof(FMATRIX)); |
98 | |
98 psx_free(reply); | 99 psx_free(reply); |
99 linda_seq[id] = psx_rd(id); | 100 linda_seq[id] = psx_rd(id); |
100 } | 101 } |
101 } | 102 } |
102 | 103 |
368 int mode; | 369 int mode; |
369 FMATRIX po; | 370 FMATRIX po; |
370 | 371 |
371 ps2_vu0_unit_matrix(po); | 372 ps2_vu0_unit_matrix(po); |
372 | 373 |
373 get_packet(PLAYER_1P, NULL, &mode, NULL, NULL, (char*)&po); | 374 get_packet(PLAYER_1P, NULL, &mode, NULL, NULL, (char*)po); |
374 | 375 |
375 if (mode == MODE_MAIN) { | 376 if (mode == MODE_MAIN) { |
376 ps2_vu0_copy_matrix(game.jiki->body->transfer, po); | 377 ps2_vu0_copy_matrix(game.jiki->body->transfer, po); |
377 } | 378 } |
378 | 379 |