New Super Mario Bros. U Headers
Loading...
Searching...
No Matches
PlayerModelBase Class Referenceabstract

#include <PlayerModelBase.h>

Inherits sead::IDisposer.

Inherited by PlayerModel.

Public Types

enum  Type {
  cType_Mario = 0 , cType_Luigi , cType_NumMario , cType_BlueToad = cType_NumMario ,
  cType_YellowToad , cType_NpcToad , cType_Nabbit , cType_Yoshi ,
  cType_Mii , cType_Num
}
enum  SceneType {
  cSceneType_Course = 0 , cSceneType_CourseSelect , cSceneType_Unknown , cSceneType_2D ,
  cSceneType_Num
}
enum  TexAnmType {
  cTexAnmType_WaitStatic = 0 , cTexAnmType_Wait , cTexAnmType_GoalPutOnCap , cTexAnmType_PropellerGoalPutOnCap ,
  cTexAnmType_PenguinGoalPutOnCap , cTexAnmType_MusaGoalPutOnCap , cTexAnmType_PenguinRideGoalPutOnCap , cTexAnmType_MusaRideGoalPutOnCap ,
  cTexAnmType_GoalPutOnCap_2 , cTexAnmType_Dam , cTexAnmType_Jump , cTexAnmType_Jumped ,
  cTexAnmType_Throw , cTexAnmType_CourseIn , cTexAnmType_CoinComp , cTexAnmType_DmGlad ,
  cTexAnmType_DmGlad2 , cTexAnmType_DmGlad2Wait , cTexAnmType_DmGlad3 , cTexAnmType_DmGlad3Wait ,
  cTexAnmType_DmGlad4Wait , cTexAnmType_DmSad , cTexAnmType_BalloonWaitDisconnect , cTexAnmType_KinopioMGGlad ,
  cTexAnmType_KinopioMGSad , cTexAnmType_DmCourseIn , cTexAnmType_DmSad2 , cTexAnmType_KinopioDmThanksGift ,
  cTexAnmType_KinopioDmHail , cTexAnmType_KinopioDmDamage , cTexAnmType_KinopioDmAwawa , cTexAnmType_KinopioDmShoot ,
  cTexAnmType_DmEscort , cTexAnmType_DmEscortWait , cTexAnmType_DmEnding1 , cTexAnmType_DmEnding1Wait ,
  cTexAnmType_DmEnding2 , cTexAnmType_Num
}
enum  DarkTargetType { cDarkTargetType_InvTevColor0 = 0 , cDarkTargetType_TevKColor3 }
enum  Flag {
  cFlag_IsCarry = 1 << 0 , cFlag_IsLiftUp = 1 << 1 , cFlag_IsBalloonChibiYoshiFly = 1 << 2 , cFlag_IsBubbleChibiYoshiShake = 1 << 3 ,
  cFlag_Bit4 = 1 << 4 , cFlag_Bit5 = 1 << 5 , cFlag_Bit6 = 1 << 6 , cFlag_Bit9 = 1 << 9 ,
  cFlag_IsStarAnm = 1 << 10 , cFlag_IsOnHDokan = 1 << 11 , cFlag_IsWaitL = 1 << 12 , cFlag_IsWaitR = 1 << 13 ,
  cFlag_IsRideCloudWait = 1 << 14 , cFlag_IsRideLiftWait = 1 << 15 , cFlag_None = 0
}
enum  AnmFlagBit {
  cAnmFlagBit_Sit = 0 , cAnmFlagBit_Carry , cAnmFlagBit_Hang , cAnmFlagBit_HangCliff ,
  cAnmFlagBit_Swim , cAnmFlagBit_5 , cAnmFlagBit_6 , cAnmFlagBit_7 ,
  cAnmFlagBit_8 , cAnmFlagBit_9 , cAnmFlagBit_Jump , cAnmFlagBit_Slope = 12 ,
  cAnmFlagBit_Dir_L = 14 , cAnmFlagBit_Dir_R , cAnmFlagBit_16 , cAnmFlagBit_Personal_Luigi = 20 ,
  cAnmFlagBit_Personal_Kinopio , cAnmFlagBit_Personal_Musa , cAnmFlagBit_Personal_Penguin , cAnmFlagBit_Personal_Propeller
}
enum  AnmFlagType { cAnmFlagType_Main = 0 , cAnmFlagType_Body , cAnmFlagType_Unknown , cAnmFlagType_Num }
enum  FaceAngleOverrideFlag { cFaceAngleOverrideFlag_X = 1 << 0 , cFaceAngleOverrideFlag_Y = 1 << 1 , cFaceAngleOverrideFlag_Z = 1 << 2 }
enum  HeadType { cHeadType_Normal = 0 , cHeadType_BonusCap }
enum  RndType { cRndType_Uniform = 0 , cRndType_RightSkew }
enum  { cSklAnm_Main = 0 , cSklAnm_Body , cSklAnm_BaseNum }

Public Member Functions

 PlayerModelBase (const sead::SafeString &model_res_key, const sead::SafeString &anm_res_key)
virtual ~PlayerModelBase ()
virtual void setTexAnmType (TexAnmType type)=0
virtual bool setPersonalAnm (ModelResource **anm_res, sead::BufferedSafeString *anm_name, s32 anm_id, bool body)=0
virtual bool setPersonalRideAnm (ModelResource **anm_res, sead::BufferedSafeString *anm_name, s32 anm_id)=0
virtual void setFootAnmImpl (const ModelResource *anm_res, const sead::SafeString &anm_name, FrameCtrl::PlayMode mode, f32 rate, f32 frame, f32 blend_duration)=0
virtual void setBodyAnmImpl (const ModelResource *anm_res, const sead::SafeString &anm_name, FrameCtrl::PlayMode mode, f32 rate, f32 frame, f32 blend_duration)=0
virtual void setAnmBind ()=0
virtual void calcImpl ()=0
virtual void calc2Impl ()=0
virtual void setModelRenderPass (s32 idx_opa, s32 idx_xlu)=0
virtual void setModelG3dRenderFlag (u32 flag)=0
virtual void setDark (DarkTargetType type, f32 value)=0
void calcStoopOffset ()
void reset ()
virtual f32 getAnmRate (s32 anm_id)
virtual f32 getAnmBlendDuration (s32 anm_id)
virtual void setAnm (s32 anm_id, f32 rate, f32 blend_duration=0.0f, f32 frame=0.0f)
void setBodyAnm (s32 anm_id, f32 rate, f32 frame=0.0f, f32 blend_duration=0.0f)
void copyLinkAnm (f32 blend_duration)
void setLinkAnm (s32 anm_id, f32 rate, f32 blend_duration=0.0f, f32 frame=0.0f)
void setRideAnm (s32 anm_id, f32 rate, f32 blend_duration=0.0f, f32 frame=0.0f)
void setSlopeBodyAnm (f32 blend_duration)
virtual void releaseBodyAnm (f32 blend_duration)=0
virtual void setCarryBodyAnm (f32 blend_duration, bool bubble_reset_frame)=0
void setJumpAnmRand (RndType rnd_type)
virtual bool getJumpAnmName (sead::BufferedSafeString *anm_name, s32 anm_id, bool body)
void setRate (f32 rate)
f32 getRate ()
void setRateDirect (f32 rate)
f32 getRateDirect ()
virtual void setBodyRate (f32 rate)
f32 getBodyRate ()
void setRateImpl (s32 skl_anm_idx, f32 rate)
f32 getRateImpl (s32 skl_anm_idx)
bool isAnmStop ()
bool isBodyAnmStop ()
bool isAnmStopImpl (s32 skl_anm_idx)
void setFrame (f32 frame)
f32 getFrame ()
void setFrameDirect (f32 frame)
f32 getFrameDirect ()
virtual void setBodyFrame (f32 frame)
f32 getBodyFrame ()
void setFrameImpl (s32 skl_anm_idx, f32 frame)
f32 getFrameImpl (s32 skl_anm_idx)
bool checkFrame (f32 frame)
bool checkBodyFrame (f32 frame)
bool checkFrameImpl (s32 skl_anm_idx, f32 frame)
bool isAnmLoopFrame ()
bool isBodyAnmLoopFrame ()
bool isAnmLoopFrameImpl (s32 skl_anm_idx)
f32 getFrameEnd ()
bool isBodyAnmOn ()
void getJointMtx (sead::Matrixf *mtx, s32 index)
void getJointPos (sead::Vector3f *pos, s32 index)
virtual void getJointMtx (sead::Matrixf *mtx, const sead::SafeString &name)
void getJointPos (sead::Vector3f *pos, const sead::SafeString &name)
virtual void play ()=0
void calc (const sead::Matrixf &mtx)
void calc2 ()
virtual void draw ()
void cancelCarry ()
void onCarry ()
void onLiftUp ()
void onBalloonChibiYoshiFly ()
void onBubbleChibiYoshiShake ()
void offCarry ()
void offLiftUp ()
void offBalloonChibiYoshiFly ()
void offBubbleChibiYoshiShake ()
bool isCarry ()
bool isLiftUp ()
bool isBalloonChibiYoshiFly () const
bool isBubbleChibiYoshiShake () const
virtual void onStarAnm ()
virtual void offStarAnm ()
bool isStarAnm () const
bool isFootStepTiming ()
bool isCourseSelectScene ()
u32 rndInt (u32 max)
virtual f32 getBaseScale ()=0
s32 getAnmID () const
ModelResource * getModelResFile () const
ModelResource * getAnmResFile () const
const sead::Matrixf & getMtxSr () const
sead::Vector3f * getHeadTopPosP ()
sead::Vector3f * getHeadPosP ()
SceneType getSceneType () const
bool isValidSceneType () const
u32 getAnmFlag (AnmFlagType type) const
u32 getAnmFlag () const
u32 getBodyAnmFlag () const
bool isAnmFlag (AnmFlagType type, u32 flag) const
bool isAnmFlagBit (AnmFlagType type, AnmFlagBit bit) const
bool isAnmFlag (u32 flag) const
bool isAnmFlagBit (AnmFlagBit bit) const
bool isSitAnm () const
bool isCarryAnm () const
bool isHangAnm () const
bool isHangCliffAnm () const
bool isSwimAnm () const
bool isJumpAnm () const
bool isDirAnm () const
bool isDirAnmL () const
bool isDirAnmR () const
bool isLuigiPersonalAnm () const
bool isMusaPersonalAnm () const
bool isPenguinPersonalAnm () const
bool isPropellerPersonalAnm () const
bool isBodyAnmFlag (u32 flag) const
bool isBodyAnmFlagBit (AnmFlagBit bit) const
bool isCarryBodyAnm () const
bool isJumpBodyAnm () const
bool isSlopeBodyAnm () const
bool isPenguinPersonalBodyAnm () const
void changeFaceAngleOverrideFlag (FaceAngleOverrideFlag flag, bool enable)
const Angle3 & getFaceAngleOverride () const
void setFaceAngleOverride (const Angle3 &angle)
void resetFaceAngleOverride ()
void resetFaceAngleOverrideFlag ()
void onOnHDokan ()
void offOnHDokan ()
bool isOnHDokan () const
void onWaitL ()
void onWaitR ()
void offWait ()
bool isWaitL () const
bool isWaitR () const
void onRideCloudWait ()
void offRideCloudWait ()
bool isRideCloudWait () const
void onRideLiftWait ()
void offRideLiftWait ()
bool isRideLiftWait () const
Public Member Functions inherited from sead::IDisposer
 IDisposer ()
virtual ~IDisposer ()

Protected Attributes

ModelResource * mModelRes
ModelResource * mAnmRes
AnimModel * mModel
s32 mAnm
s32 mBodyAnm
s32 mRideAnm
PlayerModelBase * mLinkPlayer
sead::Matrixf mMtxSrt
sead::Matrixf mMtxSr
sead::Vector3f mHeadTopPos
sead::Vector3f mHeadPos
Type mType
SceneType mSceneType
TexAnmType mTexAnmType
s32 mDefaultExpressionTimer
f32 mOffsetY
f32 mStoopOffsetCurrent
f32 mStoopOffsetTarget
f32 mStoopOffsetBlendFramesRemaining
sead::SafeArray< u32, cAnmFlagType_Num > mAnmFlag
sead::BitFlag32 mFlag
s32 mJumpIndex
s32 mJumpIndexPrev
Angle3 mFaceAngleOverride
sead::BitFlag32 mFaceAngleOverrideFlag
bool mCarryStateChanged

Static Protected Attributes

static const s32 cJumpMax = 3
static const sead::SafeString cJumpAnmVarDt []
static const sead::SafeString c2JumpAnmVarDt []
static const sead::SafeString c2JumpedAnmVarDt []

Member Enumeration Documentation

◆ Type

Enumerator
cType_Mario 
cType_Luigi 
cType_NumMario 
cType_BlueToad 
cType_YellowToad 
cType_NpcToad 
cType_Nabbit 
cType_Yoshi 
cType_Mii 
cType_Num 

◆ SceneType

Enumerator
cSceneType_Course 
cSceneType_CourseSelect 
cSceneType_Unknown 
cSceneType_2D 
cSceneType_Num 

◆ TexAnmType

Enumerator
cTexAnmType_WaitStatic 
cTexAnmType_Wait 
cTexAnmType_GoalPutOnCap 
cTexAnmType_PropellerGoalPutOnCap 
cTexAnmType_PenguinGoalPutOnCap 
cTexAnmType_MusaGoalPutOnCap 
cTexAnmType_PenguinRideGoalPutOnCap 
cTexAnmType_MusaRideGoalPutOnCap 
cTexAnmType_GoalPutOnCap_2 
cTexAnmType_Dam 
cTexAnmType_Jump 
cTexAnmType_Jumped 
cTexAnmType_Throw 
cTexAnmType_CourseIn 
cTexAnmType_CoinComp 
cTexAnmType_DmGlad 
cTexAnmType_DmGlad2 
cTexAnmType_DmGlad2Wait 
cTexAnmType_DmGlad3 
cTexAnmType_DmGlad3Wait 
cTexAnmType_DmGlad4Wait 
cTexAnmType_DmSad 
cTexAnmType_BalloonWaitDisconnect 
cTexAnmType_KinopioMGGlad 
cTexAnmType_KinopioMGSad 
cTexAnmType_DmCourseIn 
cTexAnmType_DmSad2 
cTexAnmType_KinopioDmThanksGift 
cTexAnmType_KinopioDmHail 
cTexAnmType_KinopioDmDamage 
cTexAnmType_KinopioDmAwawa 
cTexAnmType_KinopioDmShoot 
cTexAnmType_DmEscort 
cTexAnmType_DmEscortWait 
cTexAnmType_DmEnding1 
cTexAnmType_DmEnding1Wait 
cTexAnmType_DmEnding2 
cTexAnmType_Num 

◆ DarkTargetType

Enumerator
cDarkTargetType_InvTevColor0 
cDarkTargetType_TevKColor3 

◆ Flag

Enumerator
cFlag_IsCarry 
cFlag_IsLiftUp 
cFlag_IsBalloonChibiYoshiFly 
cFlag_IsBubbleChibiYoshiShake 
cFlag_Bit4 
cFlag_Bit5 
cFlag_Bit6 
cFlag_Bit9 
cFlag_IsStarAnm 
cFlag_IsOnHDokan 
cFlag_IsWaitL 
cFlag_IsWaitR 
cFlag_IsRideCloudWait 
cFlag_IsRideLiftWait 
cFlag_None 

◆ AnmFlagBit

Enumerator
cAnmFlagBit_Sit 
cAnmFlagBit_Carry 
cAnmFlagBit_Hang 
cAnmFlagBit_HangCliff 
cAnmFlagBit_Swim 
cAnmFlagBit_5 
cAnmFlagBit_6 
cAnmFlagBit_7 
cAnmFlagBit_8 
cAnmFlagBit_9 
cAnmFlagBit_Jump 
cAnmFlagBit_Slope 
cAnmFlagBit_Dir_L 
cAnmFlagBit_Dir_R 
cAnmFlagBit_16 
cAnmFlagBit_Personal_Luigi 
cAnmFlagBit_Personal_Kinopio 
cAnmFlagBit_Personal_Musa 
cAnmFlagBit_Personal_Penguin 
cAnmFlagBit_Personal_Propeller 

◆ AnmFlagType

Enumerator
cAnmFlagType_Main 
cAnmFlagType_Body 
cAnmFlagType_Unknown 
cAnmFlagType_Num 

◆ FaceAngleOverrideFlag

Enumerator
cFaceAngleOverrideFlag_X 
cFaceAngleOverrideFlag_Y 
cFaceAngleOverrideFlag_Z 

◆ HeadType

Enumerator
cHeadType_Normal 
cHeadType_BonusCap 

◆ RndType

Enumerator
cRndType_Uniform 
cRndType_RightSkew 

◆ anonymous enum

anonymous enum
Enumerator
cSklAnm_Main 
cSklAnm_Body 
cSklAnm_BaseNum 

Constructor & Destructor Documentation

◆ PlayerModelBase()

PlayerModelBase::PlayerModelBase ( const sead::SafeString & model_res_key,
const sead::SafeString & anm_res_key )

◆ ~PlayerModelBase()

virtual PlayerModelBase::~PlayerModelBase ( )
virtual

Member Function Documentation

◆ setTexAnmType()

virtual void PlayerModelBase::setTexAnmType ( TexAnmType type)
pure virtual

Implemented in PlayerModel, and TottenPlayerModel.

◆ setPersonalAnm()

virtual bool PlayerModelBase::setPersonalAnm ( ModelResource ** anm_res,
sead::BufferedSafeString * anm_name,
s32 anm_id,
bool body )
pure virtual

◆ setPersonalRideAnm()

virtual bool PlayerModelBase::setPersonalRideAnm ( ModelResource ** anm_res,
sead::BufferedSafeString * anm_name,
s32 anm_id )
pure virtual

◆ setFootAnmImpl()

virtual void PlayerModelBase::setFootAnmImpl ( const ModelResource * anm_res,
const sead::SafeString & anm_name,
FrameCtrl::PlayMode mode,
f32 rate,
f32 frame,
f32 blend_duration )
pure virtual

Implemented in PlayerModel, and TottenPlayerModel.

◆ setBodyAnmImpl()

virtual void PlayerModelBase::setBodyAnmImpl ( const ModelResource * anm_res,
const sead::SafeString & anm_name,
FrameCtrl::PlayMode mode,
f32 rate,
f32 frame,
f32 blend_duration )
pure virtual

Implemented in PlayerModel, and TottenPlayerModel.

◆ setAnmBind()

virtual void PlayerModelBase::setAnmBind ( )
pure virtual

Implemented in PlayerModel, and TottenPlayerModel.

◆ calcImpl()

virtual void PlayerModelBase::calcImpl ( )
pure virtual

◆ calc2Impl()

virtual void PlayerModelBase::calc2Impl ( )
pure virtual

Implemented in PlayerModel.

◆ setModelRenderPass()

virtual void PlayerModelBase::setModelRenderPass ( s32 idx_opa,
s32 idx_xlu )
pure virtual

◆ setModelG3dRenderFlag()

virtual void PlayerModelBase::setModelG3dRenderFlag ( u32 flag)
pure virtual

◆ setDark()

virtual void PlayerModelBase::setDark ( DarkTargetType type,
f32 value )
pure virtual

Implemented in PlayerModel.

◆ calcStoopOffset()

void PlayerModelBase::calcStoopOffset ( )

◆ reset()

void PlayerModelBase::reset ( )

◆ getAnmRate()

virtual f32 PlayerModelBase::getAnmRate ( s32 anm_id)
virtual

Reimplemented in TottenPlayerModel.

◆ getAnmBlendDuration()

virtual f32 PlayerModelBase::getAnmBlendDuration ( s32 anm_id)
virtual

Reimplemented in TottenPlayerModel.

◆ setAnm()

virtual void PlayerModelBase::setAnm ( s32 anm_id,
f32 rate,
f32 blend_duration = 0.0f,
f32 frame = 0.0f )
virtual

Reimplemented in PlayerModel, and TottenPlayerModel.

◆ setBodyAnm()

void PlayerModelBase::setBodyAnm ( s32 anm_id,
f32 rate,
f32 frame = 0.0f,
f32 blend_duration = 0.0f )

◆ copyLinkAnm()

void PlayerModelBase::copyLinkAnm ( f32 blend_duration)

◆ setLinkAnm()

void PlayerModelBase::setLinkAnm ( s32 anm_id,
f32 rate,
f32 blend_duration = 0.0f,
f32 frame = 0.0f )

◆ setRideAnm()

void PlayerModelBase::setRideAnm ( s32 anm_id,
f32 rate,
f32 blend_duration = 0.0f,
f32 frame = 0.0f )

◆ setSlopeBodyAnm()

void PlayerModelBase::setSlopeBodyAnm ( f32 blend_duration)

◆ releaseBodyAnm()

virtual void PlayerModelBase::releaseBodyAnm ( f32 blend_duration)
pure virtual

Implemented in PlayerModel, and TottenPlayerModel.

◆ setCarryBodyAnm()

virtual void PlayerModelBase::setCarryBodyAnm ( f32 blend_duration,
bool bubble_reset_frame )
pure virtual

Implemented in PlayerModel, and TottenPlayerModel.

◆ setJumpAnmRand()

void PlayerModelBase::setJumpAnmRand ( RndType rnd_type)

◆ getJumpAnmName()

virtual bool PlayerModelBase::getJumpAnmName ( sead::BufferedSafeString * anm_name,
s32 anm_id,
bool body )
virtual

◆ setRate()

void PlayerModelBase::setRate ( f32 rate)

◆ getRate()

f32 PlayerModelBase::getRate ( )

◆ setRateDirect()

void PlayerModelBase::setRateDirect ( f32 rate)

◆ getRateDirect()

f32 PlayerModelBase::getRateDirect ( )

◆ setBodyRate()

virtual void PlayerModelBase::setBodyRate ( f32 rate)
virtual

Reimplemented in TottenPlayerModel.

◆ getBodyRate()

f32 PlayerModelBase::getBodyRate ( )

◆ setRateImpl()

void PlayerModelBase::setRateImpl ( s32 skl_anm_idx,
f32 rate )

◆ getRateImpl()

f32 PlayerModelBase::getRateImpl ( s32 skl_anm_idx)

◆ isAnmStop()

bool PlayerModelBase::isAnmStop ( )

◆ isBodyAnmStop()

bool PlayerModelBase::isBodyAnmStop ( )

◆ isAnmStopImpl()

bool PlayerModelBase::isAnmStopImpl ( s32 skl_anm_idx)

◆ setFrame()

void PlayerModelBase::setFrame ( f32 frame)

◆ getFrame()

f32 PlayerModelBase::getFrame ( )

◆ setFrameDirect()

void PlayerModelBase::setFrameDirect ( f32 frame)

◆ getFrameDirect()

f32 PlayerModelBase::getFrameDirect ( )
inline

◆ setBodyFrame()

virtual void PlayerModelBase::setBodyFrame ( f32 frame)
virtual

Reimplemented in TottenPlayerModel.

◆ getBodyFrame()

f32 PlayerModelBase::getBodyFrame ( )

◆ setFrameImpl()

void PlayerModelBase::setFrameImpl ( s32 skl_anm_idx,
f32 frame )

◆ getFrameImpl()

f32 PlayerModelBase::getFrameImpl ( s32 skl_anm_idx)

◆ checkFrame()

bool PlayerModelBase::checkFrame ( f32 frame)

◆ checkBodyFrame()

bool PlayerModelBase::checkBodyFrame ( f32 frame)

◆ checkFrameImpl()

bool PlayerModelBase::checkFrameImpl ( s32 skl_anm_idx,
f32 frame )

◆ isAnmLoopFrame()

bool PlayerModelBase::isAnmLoopFrame ( )

◆ isBodyAnmLoopFrame()

bool PlayerModelBase::isBodyAnmLoopFrame ( )

◆ isAnmLoopFrameImpl()

bool PlayerModelBase::isAnmLoopFrameImpl ( s32 skl_anm_idx)

◆ getFrameEnd()

f32 PlayerModelBase::getFrameEnd ( )

◆ isBodyAnmOn()

bool PlayerModelBase::isBodyAnmOn ( )

◆ getJointMtx() [1/2]

void PlayerModelBase::getJointMtx ( sead::Matrixf * mtx,
s32 index )

◆ getJointPos() [1/2]

void PlayerModelBase::getJointPos ( sead::Vector3f * pos,
s32 index )

◆ getJointMtx() [2/2]

virtual void PlayerModelBase::getJointMtx ( sead::Matrixf * mtx,
const sead::SafeString & name )
virtual

Reimplemented in PlayerModel.

◆ getJointPos() [2/2]

void PlayerModelBase::getJointPos ( sead::Vector3f * pos,
const sead::SafeString & name )

◆ play()

virtual void PlayerModelBase::play ( )
pure virtual

◆ calc()

void PlayerModelBase::calc ( const sead::Matrixf & mtx)

◆ calc2()

void PlayerModelBase::calc2 ( )

◆ draw()

virtual void PlayerModelBase::draw ( )
virtual

◆ cancelCarry()

void PlayerModelBase::cancelCarry ( )

◆ onCarry()

void PlayerModelBase::onCarry ( )

◆ onLiftUp()

void PlayerModelBase::onLiftUp ( )

◆ onBalloonChibiYoshiFly()

void PlayerModelBase::onBalloonChibiYoshiFly ( )

◆ onBubbleChibiYoshiShake()

void PlayerModelBase::onBubbleChibiYoshiShake ( )
inline

◆ offCarry()

void PlayerModelBase::offCarry ( )

◆ offLiftUp()

void PlayerModelBase::offLiftUp ( )

◆ offBalloonChibiYoshiFly()

void PlayerModelBase::offBalloonChibiYoshiFly ( )

◆ offBubbleChibiYoshiShake()

void PlayerModelBase::offBubbleChibiYoshiShake ( )
inline

◆ isCarry()

bool PlayerModelBase::isCarry ( )

◆ isLiftUp()

bool PlayerModelBase::isLiftUp ( )

◆ isBalloonChibiYoshiFly()

bool PlayerModelBase::isBalloonChibiYoshiFly ( ) const
inline

◆ isBubbleChibiYoshiShake()

bool PlayerModelBase::isBubbleChibiYoshiShake ( ) const
inline

◆ onStarAnm()

virtual void PlayerModelBase::onStarAnm ( )
inlinevirtual

Reimplemented in PlayerModel.

◆ offStarAnm()

virtual void PlayerModelBase::offStarAnm ( )
inlinevirtual

Reimplemented in PlayerModel.

◆ isStarAnm()

bool PlayerModelBase::isStarAnm ( ) const
inline

◆ isFootStepTiming()

bool PlayerModelBase::isFootStepTiming ( )

◆ isCourseSelectScene()

bool PlayerModelBase::isCourseSelectScene ( )

◆ rndInt()

u32 PlayerModelBase::rndInt ( u32 max)

◆ getBaseScale()

virtual f32 PlayerModelBase::getBaseScale ( )
pure virtual

Implemented in PlayerModel, and TottenPlayerModel.

◆ getAnmID()

s32 PlayerModelBase::getAnmID ( ) const
inline

◆ getModelResFile()

ModelResource * PlayerModelBase::getModelResFile ( ) const
inline

◆ getAnmResFile()

ModelResource * PlayerModelBase::getAnmResFile ( ) const
inline

◆ getMtxSr()

const sead::Matrixf & PlayerModelBase::getMtxSr ( ) const
inline

◆ getHeadTopPosP()

sead::Vector3f * PlayerModelBase::getHeadTopPosP ( )
inline

◆ getHeadPosP()

sead::Vector3f * PlayerModelBase::getHeadPosP ( )
inline

◆ getSceneType()

SceneType PlayerModelBase::getSceneType ( ) const
inline

◆ isValidSceneType()

bool PlayerModelBase::isValidSceneType ( ) const
inline

◆ getAnmFlag() [1/2]

u32 PlayerModelBase::getAnmFlag ( AnmFlagType type) const
inline

◆ getAnmFlag() [2/2]

u32 PlayerModelBase::getAnmFlag ( ) const
inline

◆ getBodyAnmFlag()

u32 PlayerModelBase::getBodyAnmFlag ( ) const
inline

◆ isAnmFlag() [1/2]

bool PlayerModelBase::isAnmFlag ( AnmFlagType type,
u32 flag ) const
inline

◆ isAnmFlagBit() [1/2]

bool PlayerModelBase::isAnmFlagBit ( AnmFlagType type,
AnmFlagBit bit ) const
inline

◆ isAnmFlag() [2/2]

bool PlayerModelBase::isAnmFlag ( u32 flag) const
inline

◆ isAnmFlagBit() [2/2]

bool PlayerModelBase::isAnmFlagBit ( AnmFlagBit bit) const
inline

◆ isSitAnm()

bool PlayerModelBase::isSitAnm ( ) const
inline

◆ isCarryAnm()

bool PlayerModelBase::isCarryAnm ( ) const
inline

◆ isHangAnm()

bool PlayerModelBase::isHangAnm ( ) const
inline

◆ isHangCliffAnm()

bool PlayerModelBase::isHangCliffAnm ( ) const
inline

◆ isSwimAnm()

bool PlayerModelBase::isSwimAnm ( ) const
inline

◆ isJumpAnm()

bool PlayerModelBase::isJumpAnm ( ) const
inline

◆ isDirAnm()

bool PlayerModelBase::isDirAnm ( ) const
inline

◆ isDirAnmL()

bool PlayerModelBase::isDirAnmL ( ) const
inline

◆ isDirAnmR()

bool PlayerModelBase::isDirAnmR ( ) const
inline

◆ isLuigiPersonalAnm()

bool PlayerModelBase::isLuigiPersonalAnm ( ) const
inline

◆ isMusaPersonalAnm()

bool PlayerModelBase::isMusaPersonalAnm ( ) const
inline

◆ isPenguinPersonalAnm()

bool PlayerModelBase::isPenguinPersonalAnm ( ) const
inline

◆ isPropellerPersonalAnm()

bool PlayerModelBase::isPropellerPersonalAnm ( ) const
inline

◆ isBodyAnmFlag()

bool PlayerModelBase::isBodyAnmFlag ( u32 flag) const
inline

◆ isBodyAnmFlagBit()

bool PlayerModelBase::isBodyAnmFlagBit ( AnmFlagBit bit) const
inline

◆ isCarryBodyAnm()

bool PlayerModelBase::isCarryBodyAnm ( ) const
inline

◆ isJumpBodyAnm()

bool PlayerModelBase::isJumpBodyAnm ( ) const
inline

◆ isSlopeBodyAnm()

bool PlayerModelBase::isSlopeBodyAnm ( ) const
inline

◆ isPenguinPersonalBodyAnm()

bool PlayerModelBase::isPenguinPersonalBodyAnm ( ) const
inline

◆ changeFaceAngleOverrideFlag()

void PlayerModelBase::changeFaceAngleOverrideFlag ( FaceAngleOverrideFlag flag,
bool enable )
inline

◆ getFaceAngleOverride()

const Angle3 & PlayerModelBase::getFaceAngleOverride ( ) const
inline

◆ setFaceAngleOverride()

void PlayerModelBase::setFaceAngleOverride ( const Angle3 & angle)
inline

◆ resetFaceAngleOverride()

void PlayerModelBase::resetFaceAngleOverride ( )
inline

◆ resetFaceAngleOverrideFlag()

void PlayerModelBase::resetFaceAngleOverrideFlag ( )
inline

◆ onOnHDokan()

void PlayerModelBase::onOnHDokan ( )
inline

◆ offOnHDokan()

void PlayerModelBase::offOnHDokan ( )
inline

◆ isOnHDokan()

bool PlayerModelBase::isOnHDokan ( ) const
inline

◆ onWaitL()

void PlayerModelBase::onWaitL ( )
inline

◆ onWaitR()

void PlayerModelBase::onWaitR ( )
inline

◆ offWait()

void PlayerModelBase::offWait ( )
inline

◆ isWaitL()

bool PlayerModelBase::isWaitL ( ) const
inline

◆ isWaitR()

bool PlayerModelBase::isWaitR ( ) const
inline

◆ onRideCloudWait()

void PlayerModelBase::onRideCloudWait ( )
inline

◆ offRideCloudWait()

void PlayerModelBase::offRideCloudWait ( )
inline

◆ isRideCloudWait()

bool PlayerModelBase::isRideCloudWait ( ) const
inline

◆ onRideLiftWait()

void PlayerModelBase::onRideLiftWait ( )
inline

◆ offRideLiftWait()

void PlayerModelBase::offRideLiftWait ( )
inline

◆ isRideLiftWait()

bool PlayerModelBase::isRideLiftWait ( ) const
inline

Member Data Documentation

◆ mModelRes

ModelResource* PlayerModelBase::mModelRes
protected

◆ mAnmRes

ModelResource* PlayerModelBase::mAnmRes
protected

◆ mModel

AnimModel* PlayerModelBase::mModel
protected

◆ mAnm

s32 PlayerModelBase::mAnm
protected

◆ mBodyAnm

s32 PlayerModelBase::mBodyAnm
protected

◆ mRideAnm

s32 PlayerModelBase::mRideAnm
protected

◆ mLinkPlayer

PlayerModelBase* PlayerModelBase::mLinkPlayer
protected

◆ mMtxSrt

sead::Matrixf PlayerModelBase::mMtxSrt
protected

◆ mMtxSr

sead::Matrixf PlayerModelBase::mMtxSr
protected

◆ mHeadTopPos

sead::Vector3f PlayerModelBase::mHeadTopPos
protected

◆ mHeadPos

sead::Vector3f PlayerModelBase::mHeadPos
protected

◆ mType

Type PlayerModelBase::mType
protected

◆ mSceneType

SceneType PlayerModelBase::mSceneType
protected

◆ mTexAnmType

TexAnmType PlayerModelBase::mTexAnmType
protected

◆ mDefaultExpressionTimer

s32 PlayerModelBase::mDefaultExpressionTimer
protected

◆ mOffsetY

f32 PlayerModelBase::mOffsetY
protected

◆ mStoopOffsetCurrent

f32 PlayerModelBase::mStoopOffsetCurrent
protected

◆ mStoopOffsetTarget

f32 PlayerModelBase::mStoopOffsetTarget
protected

◆ mStoopOffsetBlendFramesRemaining

f32 PlayerModelBase::mStoopOffsetBlendFramesRemaining
protected

◆ mAnmFlag

sead::SafeArray< u32, cAnmFlagType_Num > PlayerModelBase::mAnmFlag
protected

◆ mFlag

sead::BitFlag32 PlayerModelBase::mFlag
protected

◆ mJumpIndex

s32 PlayerModelBase::mJumpIndex
protected

◆ mJumpIndexPrev

s32 PlayerModelBase::mJumpIndexPrev
protected

◆ mFaceAngleOverride

Angle3 PlayerModelBase::mFaceAngleOverride
protected

◆ mFaceAngleOverrideFlag

sead::BitFlag32 PlayerModelBase::mFaceAngleOverrideFlag
protected

◆ mCarryStateChanged

bool PlayerModelBase::mCarryStateChanged
protected

◆ cJumpMax

const s32 PlayerModelBase::cJumpMax = 3
staticprotected

◆ cJumpAnmVarDt

const sead::SafeString PlayerModelBase::cJumpAnmVarDt[]
staticprotected

◆ c2JumpAnmVarDt

const sead::SafeString PlayerModelBase::c2JumpAnmVarDt[]
staticprotected

◆ c2JumpedAnmVarDt

const sead::SafeString PlayerModelBase::c2JumpedAnmVarDt[]
staticprotected