Mercurial > hg > old > magoroku_racing
comparison schedule.cc @ 118:b6dc70f6aa7e
chenge OBJECT->transfer
author | e085768 |
---|---|
date | Fri, 17 Jun 2011 10:31:39 +0900 |
parents | 9e4100c5d7ec |
children | f2e2460b4011 |
comparison
equal
deleted
inserted
replaced
117:9e4100c5d7ec | 118:b6dc70f6aa7e |
---|---|
372 set_light(&l); | 372 set_light(&l); |
373 | 373 |
374 car_id_update(game, game->jiki); | 374 car_id_update(game, game->jiki); |
375 | 375 |
376 field_update(game->jiki); | 376 field_update(game->jiki); |
377 camera_update(game,game->jiki->body->transfer); | 377 |
378 //camera_update(game,game->jiki->body->transfer); | |
379 camera_update(game, &(game->jiki->body->matrix) ); | |
380 | |
378 carNode_draw(); | 381 carNode_draw(); |
379 | 382 |
380 gFont_SetStringInt(game->rap, 50, 100); | 383 gFont_SetStringInt(game->rap, 50, 100); |
381 | 384 |
382 /* スピードメーター */ | 385 /* スピードメーター */ |
475 | 478 |
476 // 宣言では引数が二つだったから、第一引数に game を入れてみた | 479 // 宣言では引数が二つだったから、第一引数に game を入れてみた |
477 car_update(game, game->jiki); | 480 car_update(game, game->jiki); |
478 field_update(game->jiki); | 481 field_update(game->jiki); |
479 carNode_draw(); | 482 carNode_draw(); |
480 camera_update(game,game->jiki->body->transfer); | 483 camera_update( game, (FMATRIX)(game->jiki->body->matrix) ); |
481 | 484 |
482 if (pad.st == 1) { | 485 if (pad.st == 1) { |
483 set_schedule_assumption(sche_game_main_finish); | 486 set_schedule_assumption(sche_game_main_finish); |
484 } | 487 } |
485 | 488 |