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

Public Member Functions

 MarioEffect (MarioActor *)
 
virtual void execute (JPABaseEmitter *)
 
- 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

s32 _C
 
s32 _10
 
s32 _14
 
u8 _18
 
Color8 _1C
 
Color8 _20
 
TMtx34f _24
 
SomeData _54 [0x100]
 
- Public Attributes inherited from MarioModule
MarioActormActor
 

Detailed Description

Definition at line 18 of file MarioEffect.hpp.

Constructor & Destructor Documentation

◆ MarioEffect()

MarioEffect::MarioEffect ( MarioActor * actor)

Definition at line 3 of file MarioEffect.cpp.

Member Data Documentation

◆ _C

s32 MarioEffect::_C

Definition at line 28 of file MarioEffect.hpp.

◆ _10

s32 MarioEffect::_10

Definition at line 29 of file MarioEffect.hpp.

◆ _14

s32 MarioEffect::_14

Definition at line 30 of file MarioEffect.hpp.

◆ _18

u8 MarioEffect::_18

Definition at line 31 of file MarioEffect.hpp.

◆ _1C

Color8 MarioEffect::_1C

Definition at line 32 of file MarioEffect.hpp.

◆ _20

Color8 MarioEffect::_20

Definition at line 33 of file MarioEffect.hpp.

◆ _24

TMtx34f MarioEffect::_24

Definition at line 34 of file MarioEffect.hpp.

◆ _54

SomeData MarioEffect::_54[0x100]

Definition at line 35 of file MarioEffect.hpp.