mirror of
https://github.com/ACreTeam/ac-decomp
synced 2026-06-23 23:35:17 -04:00
match m_player_item_axe
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
int Player_actor_Item_main_axe_normal(ACTOR* actor, GAME* game){
|
||||
return 0;
|
||||
}
|
||||
|
||||
void Player_actor_Item_draw_axe(ACTOR* actor, GAME* game){
|
||||
PLAYER_ACTOR* player = (PLAYER_ACTOR*)actor;
|
||||
int shape_type;
|
||||
|
||||
Matrix_push();
|
||||
Matrix_Position_VecZ(&player->axe_pos, 1500.0f);
|
||||
Matrix_pull();
|
||||
|
||||
shape_type = player->item_shape_type[player->item_bank_idx];
|
||||
|
||||
if(mPlayer_ITEM_DATA_VALID(shape_type)){
|
||||
OPEN_POLY_OPA_DISP(game->graph);
|
||||
|
||||
gSPDisplayList(POLY_OPA_DISP++, mPlib_Get_Item_DataPointer(shape_type));
|
||||
|
||||
CLOSE_POLY_OPA_DISP(game->graph);
|
||||
}
|
||||
|
||||
player->update_item_rod_top_pos = FALSE;
|
||||
player->balloon_start_pos_set_flag = FALSE;
|
||||
}
|
||||
Reference in New Issue
Block a user