Clean up board/player.c
BoardDiceDigit2DShowSet still needs to be renamed to BoardRollDispSet but this requires changing quite a few translation units.
This commit is contained in:
parent
9a4cbc4230
commit
933e2ab693
9 changed files with 55 additions and 75 deletions
|
|
@ -20,33 +20,17 @@ static inline s32 BoardPlayerHandicapGet(s32 player)
|
|||
return GWPlayer[player].handicap;
|
||||
}
|
||||
|
||||
static inline s32 BoardPlayerGetCurrIdx()
|
||||
{
|
||||
return GWSystem.player_curr;
|
||||
}
|
||||
|
||||
static inline PlayerState *BoardPlayerGet(s32 player)
|
||||
{
|
||||
return &GWPlayer[player];
|
||||
}
|
||||
|
||||
static inline PlayerState *BoardPlayerGetCurr()
|
||||
{
|
||||
return &GWPlayer[BoardPlayerGetCurrIdx()];
|
||||
}
|
||||
|
||||
static inline s16 BoardPlayerModelGet(s32 player)
|
||||
{
|
||||
PlayerState *player_ptr = BoardPlayerGet(player);
|
||||
return boardPlayerMdl[player_ptr->player_idx];
|
||||
}
|
||||
|
||||
static inline s16 BoardPlayerModelGetCurr()
|
||||
{
|
||||
PlayerState *player = BoardPlayerGetCurr();
|
||||
return boardPlayerMdl[player->player_idx];
|
||||
}
|
||||
|
||||
s32 BoardRollTypeGet(void);
|
||||
void BoardRollTypeSet(s32 type);
|
||||
s32 BoardPlayerGetCharMess(s32 player);
|
||||
|
|
@ -131,14 +115,13 @@ void BoardPlayerMoveAwayStartCurr(s32, s32);
|
|||
void BoardPlayerCopyMat(s32);
|
||||
void BoardBowserSuitMotionSetJump(void);
|
||||
//...
|
||||
void BoardPlayerMotBlendExec(omObjData*);
|
||||
s32 BoardPlayerAutoSizeGet(s32);
|
||||
void BoardPlayerAutoSizeSet(s32, s32);
|
||||
void BoardPlayerCopyMat(s32);
|
||||
void BoardBowserSuitInit(s32);
|
||||
void BoardBowserSuitKill(s32);
|
||||
void BoardDiceDigit2DInit(s32, s32);
|
||||
void BoardDiceDigit2DUpdateEnable(s32);
|
||||
void BoardRollCreate(s32, s32);
|
||||
void BoardRollUpdateSet(s32);
|
||||
void BoardPlayerResizeAnimExec(s32 player, s32 size);
|
||||
s32 BoardPlayerAnimBlendCheck(s32);
|
||||
s16 BoardBowserSuitPlayerModelGet(void);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue