SMG-Decomp
A decompilation of Super Mario Galaxy 1
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
MarioAnimator Class Reference
Inheritance diagram for MarioAnimator:
MarioModule

Public Member Functions

 MarioAnimator (MarioActor *)
 
void init ()
 
void update ()
 
void setHoming ()
 
bool isAnimationStop ()
 
void setSpeed (f32)
 
void forceSetBlendWeight (const f32 *)
 
void waterToGround ()
 
void initCallbackTable ()
 
void change (const char *)
 
void changeDefaultUpper (const char *)
 
void f1 (const char *name)
 
- Public Member Functions inherited from MarioModule
 MarioModule (MarioActor *actor)
 
virtual f32 getStickY () const
 
virtual void addVelocity (const TVec3f &)
 
virtual void addVelocity (const TVec3f &, f32)
 
MariogetPlayer () const
 
MarioAnimatorgetAnimator () const
 
TVec3f & getShadowPos () const
 
TVec3f & getGravityVec () const
 
TVec3f & getAirGravityVec () const
 
TVec3f & getFrontVec () const
 
bool isStatusActiveID (u32) const
 
bool isStatusActiveS (MarioState *) const
 
u16 getPlayerMode () const
 
bool isPlayerModeBee () const
 
bool isPlayerModeIce () const
 
bool isPlayerModeTeresa () const
 
bool isPlayerModeHopper () const
 
bool isPlayerModeInvincible () const
 
bool isPlayerModeFoo () const
 
void changeAnimation (const char *, const char *)
 
void changeAnimationNonStop (const char *)
 
void changeAnimationWithAttr (const char *, const char *)
 
void stopAnimation (const char *, const char *)
 
bool isDefaultAnimationRun (const char *) const
 
void changeAnimationInterpoleFrame (u32)
 
bool isAnimationRun (const char *) const
 
bool isAnimationTerminate (const char *) const
 
bool isAnimationTerminateUPper (const char *) const
 
const char * getAnimationStringPointer (const char *) const
 
const char * getCurrentBckName () const
 
void changeAnimationUpper (const char *, const char *)
 
void changeAnimationUpperWeak (const char *, const char *)
 
void stopAnimationUpper (const char *, const char *)
 
void stopAnimationUpperForce ()
 
f32 getAnimationFrame () const
 
void changeAnimation (const char *, u32)
 
bool isAnimationRun (const char *, u32)
 
void stopAnimation (const char *, u32)
 
void setJointGlobalMtx (u16, MtxPtr)
 
void setYangleOffset (f32)
 
bool isStickOn () const
 
bool isStickFull () const
 
TVec3f & getWorldPadDir () const
 
bool calcWorldPadDir (TVec3f *, f32, f32, bool)
 
void addVelocityAfter (const TVec3f &)
 
void clearVelocity ()
 
TVec3f & getVelocity () const
 
void addTrans (const TVec3f &, const char *)
 
void cutGravityElementFromJumpVec (bool)
 
void cutVecElementFromJumpVec (const TVec3f &)
 
TVec3f & getJumpVec () const
 
void setJumpVec (const TVec3f &)
 
void playEffect (const char *)
 
void playEffectTarns (const char *, const TVec3f &)
 
void playEffectRT (const char *, const TVec3f &, const TVec3f &)
 
void playEffectRTZ (const char *, const TVec3f &, const TVec3f &)
 
void playEffectRTW (const char *, const TVec3f &, const TVec3f &)
 
void playEffectSRT (const char *, f32, const TVec3f &, const TVec3f &)
 
void stopEFfect (const char *)
 
void stopEffectForce (const char *)
 
bool playSound (const char *, s32)
 
void stopSound (const char *, u32)
 
void startCamVib (u32)
 
TVec3f & getCamPos () const
 
TVec3f & getCamDirX () const
 
TVec3f & getCamDirY () const
 
TVec3f & getCamDirZ () const
 
void startPadVib (u32)
 
void startPadVib (const char *)
 
f32 getStickX () const
 
f32 getStickP () const
 
bool checkTrgA () const
 
bool checkLvlA () const
 
bool checkTrgZ () const
 
bool checkLvlZ () const
 
bool checkPreLvlZ () const
 
bool checkSquat (bool)
 
TVec3f & getTrans () const
 
const TrianglegetGroundPolygon () const
 
bool isOnSlipGround () const
 
bool isSlipFloorCode (s32) const
 
bool isSlipPolygon (const Triangle *) const
 
u32 getFloorCode () const
 
void calcPolygonAngleD (const Triangle *) const
 
f32 calcAngleD (const TVec3f &) const
 
TrianglegetTmpPolygon () const
 
bool sendPunch (HitSensor *, bool)
 
HitSensorgetSensor (const Triangle *) const
 
f32 marioAcos (f32) const
 
bool isInputDisable () const
 
void stopEffect (const char *)
 

Public Attributes

XanimeResourceTable_8
 
XanimePlayer_C
 
XanimePlayer_10
 
u8 _14
 
u8 _15
 
u8 _16
 
f32 _18
 
f32 _1C
 
f32 _20
 
f32 _24
 
TMtx34f _28
 
f32 _58
 
f32 _5C
 
TVec3f _60
 
u8 _6C
 
f32 _70
 
u32 _74
 
u16 _78
 
TMtx34f _7C
 
TMtx34f _AC
 
TMtx34f _DC
 
u8 _10C
 
u8 _10D
 
u8 _10E
 
f32 _110
 
u32 _114
 
f32 _118
 
u8 _11C [8]
 
- Public Attributes inherited from MarioModule
MarioActormActor
 

Detailed Description

Definition at line 11 of file MarioAnimator.hpp.

Constructor & Destructor Documentation

◆ MarioAnimator()

MarioAnimator::MarioAnimator ( MarioActor * actor)

Definition at line 8 of file MarioAnimator.cpp.

Member Function Documentation

◆ init()

void MarioAnimator::init ( )

Definition at line 13 of file MarioAnimator.cpp.

◆ f1()

void MarioAnimator::f1 ( const char * name)
inline

Definition at line 27 of file MarioAnimator.hpp.

Member Data Documentation

◆ _8

XanimeResourceTable* MarioAnimator::_8

Definition at line 35 of file MarioAnimator.hpp.

◆ _C

XanimePlayer* MarioAnimator::_C

Definition at line 36 of file MarioAnimator.hpp.

◆ _10

XanimePlayer* MarioAnimator::_10

Definition at line 37 of file MarioAnimator.hpp.

◆ _14

u8 MarioAnimator::_14

Definition at line 38 of file MarioAnimator.hpp.

◆ _15

u8 MarioAnimator::_15

Definition at line 39 of file MarioAnimator.hpp.

◆ _16

u8 MarioAnimator::_16

Definition at line 40 of file MarioAnimator.hpp.

◆ _18

f32 MarioAnimator::_18

Definition at line 41 of file MarioAnimator.hpp.

◆ _1C

f32 MarioAnimator::_1C

Definition at line 42 of file MarioAnimator.hpp.

◆ _20

f32 MarioAnimator::_20

Definition at line 43 of file MarioAnimator.hpp.

◆ _24

f32 MarioAnimator::_24

Definition at line 44 of file MarioAnimator.hpp.

◆ _28

TMtx34f MarioAnimator::_28

Definition at line 45 of file MarioAnimator.hpp.

◆ _58

f32 MarioAnimator::_58

Definition at line 46 of file MarioAnimator.hpp.

◆ _5C

f32 MarioAnimator::_5C

Definition at line 47 of file MarioAnimator.hpp.

◆ _60

TVec3f MarioAnimator::_60

Definition at line 48 of file MarioAnimator.hpp.

◆ _6C

u8 MarioAnimator::_6C

Definition at line 49 of file MarioAnimator.hpp.

◆ _70

f32 MarioAnimator::_70

Definition at line 50 of file MarioAnimator.hpp.

◆ _74

u32 MarioAnimator::_74

Definition at line 51 of file MarioAnimator.hpp.

◆ _78

u16 MarioAnimator::_78

Definition at line 52 of file MarioAnimator.hpp.

◆ _7C

TMtx34f MarioAnimator::_7C

Definition at line 53 of file MarioAnimator.hpp.

◆ _AC

TMtx34f MarioAnimator::_AC

Definition at line 54 of file MarioAnimator.hpp.

◆ _DC

TMtx34f MarioAnimator::_DC

Definition at line 55 of file MarioAnimator.hpp.

◆ _10C

u8 MarioAnimator::_10C

Definition at line 56 of file MarioAnimator.hpp.

◆ _10D

u8 MarioAnimator::_10D

Definition at line 57 of file MarioAnimator.hpp.

◆ _10E

u8 MarioAnimator::_10E

Definition at line 58 of file MarioAnimator.hpp.

◆ _110

f32 MarioAnimator::_110

Definition at line 59 of file MarioAnimator.hpp.

◆ _114

u32 MarioAnimator::_114

Definition at line 60 of file MarioAnimator.hpp.

◆ _118

f32 MarioAnimator::_118

Definition at line 61 of file MarioAnimator.hpp.

◆ _11C

u8 MarioAnimator::_11C[8]

Definition at line 63 of file MarioAnimator.hpp.