|
SMG-Decomp
A decompilation of Super Mario Galaxy 1
|
Public Member Functions | |
| ArrowSwitch (const char *) | |
| virtual void | init (const JMapInfoIter &) |
| Intializes the NameObj and can set various settings and construct necessary classes. | |
| virtual void | control () |
| virtual void | calcAndSetBaseMtx () |
| Calculates and sets the base matrix of the actor. | |
| virtual void | attackSensor (HitSensor *, HitSensor *) |
| virtual bool | receiveMsgPush (HitSensor *, HitSensor *) |
| virtual bool | receiveMsgPlayerAttack (u32, HitSensor *, HitSensor *) |
| bool | requestPunch (HitSensor *, HitSensor *) |
| void | listenOnSwitch () |
| void | listenOffSwitch () |
| void | exeWait () |
| void | exeRotate () |
| void | exeLock () |
| bool | isPlusLimit () const |
| bool | isMinusLimit () const |
| s32 | getOneStep () const |
Public Member Functions inherited from LiveActor | |
| LiveActor (const char *pName) | |
| Constructs a new LiveActor instance. | |
| virtual void | movement () |
| virtual void | calcAnim () |
| virtual void | calcViewAndEntry () |
| virtual void | appear () |
| virtual void | makeActorAppeared () |
| virtual void | kill () |
| virtual void | makeActorDead () |
| virtual bool | receiveMessage (u32, HitSensor *, HitSensor *) |
| virtual MtxPtr | getBaseMtx () const |
| Gets the base matrix of the model used for the actor. | |
| virtual MtxPtr | getTakingMtx () const |
| virtual void | startClipped () |
| virtual void | endClipped () |
| virtual void | updateHitSensor (HitSensor *) |
| virtual bool | receiveMsgEnemyAttack (u32, HitSensor *, HitSensor *) |
| virtual u32 | receiveMsgTake (HitSensor *, HitSensor *) |
| virtual u32 | receiveMsgTaken (HitSensor *, HitSensor *) |
| virtual u32 | receiveMsgThrow (HitSensor *, HitSensor *) |
| virtual u32 | receiveMsgApart (HitSensor *, HitSensor *) |
| virtual bool | receiveOtherMsg (u32, HitSensor *, HitSensor *) |
| void | calcAnmMtx () |
| void | setNerve (const Nerve *) |
| bool | isNerve (const Nerve *) const |
| s32 | getNerveStep () const |
| HitSensor * | getSensor (const char *pSensorName) const |
| Gets a sensor. | |
| void | initModelManagerWithAnm (const char *, const char *, bool) |
| void | initNerve (const Nerve *) |
| void | initHitSensor (int) |
| void | initBinder (f32, f32, u32) |
| void | initRailRider (const JMapInfoIter &) |
| void | initEffectKeeper (int, const char *, bool) |
| void | initSound (int, bool) |
| void | initShadowControllerList (u32) |
| void | initActorCollisionParts (const char *, HitSensor *, ResourceHolder *, MtxPtr, bool, bool) |
| void | initStageSwitch (const JMapInfoIter &) |
| void | initActorStarPointerTarget (f32, const TVec3f *, MtxPtr, TVec3f) |
| void | initActorLightCtrl () |
| void | addToSoundObjHolder () |
| void | updateBinder () |
| bool | isBinderValid (Binder *pBinder) |
| TVec3f * | getPosPtr () |
Public Member Functions inherited from NameObj | |
| NameObj (const char *pName) | |
| Constructs a new NameObj instance. | |
| virtual void | initAfterPlacement () |
| virtual void | draw () const |
| Draws the object. Does nothing until overridden. | |
| void | initWithoutIter () |
| Initializes a NameObj without a JMapInfoIter instance. | |
| void | setName (const char *pName) |
| Sets the NameObj's mName. | |
| void | executeMovement () |
| void | requestSuspend () |
| void | requestResume () |
| void | syncWithFlags () |
Public Attributes | |
| f32 | _8C |
| s32 | mRotationIdx |
| f32 | _94 |
| s32 | _98 |
| bool | _9C |
| u8 | _9D |
| u8 | _9E |
| u8 | _9F |
Public Attributes inherited from LiveActor | |
| TVec3f | mPosition |
| 3D vector of the actor's position. | |
| TVec3f | mRotation |
| 3D vector of the actor's rotation. | |
| TVec3f | mScale |
| 3D vector of the actor's scale. | |
| TVec3f | mVelocity |
| 3D vector of the actor's velocity. | |
| TVec3f | mGravity |
| 3D vector of the actor's gravity. | |
| ModelManager * | mModelManager |
| A pointer to a ModelManager instance, used for drawing a 3D model. | |
| ActorAnimKeeper * | mAnimationKeeper |
| A pointer to a ActorAnimKeeper instance, used for storing and playing model animations. | |
| Spine * | mSpine |
| HitSensorKeeper * | mSensorKeeper |
| A pointer to a HitSensorKeeper instance, used for storing HitSensor instances. | |
| Binder * | mBinder |
| RailRider * | mRailRider |
| A pointer to a RailRider instance, used for allowing the actor to ride on paths. | |
| EffectKeeper * | mEffectKeeper |
| AudAnmSoundObject * | mSoundObject |
| LiveActorFlag | mFlags |
| Flags relating to drawing, animation calculation, etc. | |
| ShadowControllerList * | mShadowList |
| CollisionParts * | mCollisionParts |
| StageSwitchCtrl * | mStageSwitchCtrl |
| A pointer to a StageSwitchCtrl instance, used for activating and deactivating switches. | |
| StarPointerTarget * | mStarPointerTarget |
| ActorLightCtrl * | mActorLightCtrl |
| ActorPadAndCameraCtrl * | mCameraCtrl |
Public Attributes inherited from NameObj | |
| const char * | mName |
| A string to identify the NameObj. | |
| volatile u16 | mFlags |
| Flags in relation to movement. | |
| s16 | mExecutorIdx |
| The index into the NameObjExecuteInfo array. | |
Definition at line 5 of file ArrowSwitch.hpp.
| ArrowSwitch::ArrowSwitch | ( | const char * | pName | ) |
Definition at line 8 of file ArrowSwitch.cpp.
|
virtual |
Definition at line 354 of file ArrowSwitch.cpp.
|
virtual |
Intializes the NameObj and can set various settings and construct necessary classes.
| rIter | A reference to the JMapInfoIter that supplies BCSV information. |
Reimplemented from LiveActor.
Definition at line 19 of file ArrowSwitch.cpp.
|
virtual |
Reimplemented from LiveActor.
Definition at line 66 of file ArrowSwitch.cpp.
|
virtual |
Calculates and sets the base matrix of the actor.
Reimplemented from LiveActor.
Definition at line 70 of file ArrowSwitch.cpp.
Reimplemented from LiveActor.
Definition at line 94 of file ArrowSwitch.cpp.
Reimplemented from LiveActor.
Definition at line 108 of file ArrowSwitch.cpp.
Reimplemented from LiveActor.
Definition at line 100 of file ArrowSwitch.cpp.
Definition at line 112 of file ArrowSwitch.cpp.
| void ArrowSwitch::listenOnSwitch | ( | ) |
Definition at line 153 of file ArrowSwitch.cpp.
| void ArrowSwitch::listenOffSwitch | ( | ) |
Definition at line 186 of file ArrowSwitch.cpp.
| void ArrowSwitch::exeWait | ( | ) |
Definition at line 211 of file ArrowSwitch.cpp.
| void ArrowSwitch::exeLock | ( | ) |
Definition at line 275 of file ArrowSwitch.cpp.
| bool ArrowSwitch::isPlusLimit | ( | ) | const |
Definition at line 289 of file ArrowSwitch.cpp.
| bool ArrowSwitch::isMinusLimit | ( | ) | const |
Definition at line 304 of file ArrowSwitch.cpp.
| f32 ArrowSwitch::_8C |
Definition at line 27 of file ArrowSwitch.hpp.
| s32 ArrowSwitch::mRotationIdx |
Definition at line 28 of file ArrowSwitch.hpp.
| f32 ArrowSwitch::_94 |
Definition at line 29 of file ArrowSwitch.hpp.
| s32 ArrowSwitch::_98 |
Definition at line 30 of file ArrowSwitch.hpp.
| bool ArrowSwitch::_9C |
Definition at line 31 of file ArrowSwitch.hpp.
| u8 ArrowSwitch::_9D |
Definition at line 32 of file ArrowSwitch.hpp.
| u8 ArrowSwitch::_9E |
Definition at line 33 of file ArrowSwitch.hpp.
| u8 ArrowSwitch::_9F |
Definition at line 34 of file ArrowSwitch.hpp.