|
SMG-Decomp
A decompilation of Super Mario Galaxy 1
|
Public Member Functions | |
| NPCActor (const char *) | |
| virtual void | init (const JMapInfoIter &) |
| Intializes the NameObj and can set various settings and construct necessary classes. | |
| virtual void | initAfterPlacement () |
| virtual void | makeActorAppeared () |
| virtual void | kill () |
| virtual void | makeActorDead () |
| virtual void | control () |
| virtual void | calcAndSetBaseMtx () |
| Calculates and sets the base matrix of the actor. | |
| virtual void | attackSensor (HitSensor *, HitSensor *) |
| virtual bool | receiveMsgPlayerAttack (u32, HitSensor *, HitSensor *) |
| bool | initTalkCtrl (const JMapInfoIter &, const char *, const TVec3f &, MtxPtr) |
| bool | initTalkCtrlDirect (const JMapInfoIter &, const char *, const TVec3f &, MtxPtr) |
| bool | calcJointScale (TPos3f *, const JointControllerInfo &) |
| void | turnToPlayer () |
| void | turnToPlayer (f32) |
| void | turnToPlayer (f32, f32, f32) |
| void | turnToDefault (f32) |
| void | setToDefault () |
| void | pushNerve (const Nerve *) |
| Nerve * | popAndPushNerve (const Nerve *) |
| Nerve * | popNerve () |
| bool | tryPulNullNerve () |
| bool | isEmptyNerve () const |
| bool | isScaleAnim () const |
| bool | isPointingSe () const |
| void | updateReaction () |
| void | updateScaleCtrl () |
| void | exeWait () |
| void | exeTalk () |
| void | setInitPose () |
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 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 | receiveMsgPush (HitSensor *, 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 | 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 () |
Static Public Member Functions | |
| static void | makeArchiveList (NameObjArchiveListCollector *, const JMapInfoIter &) |
| static void | addArchive (NameObjArchiveListCollector *, const NPCActorItem &) |
| static void | makeArchiveListDefault (NameObjArchiveListCollector *, const JMapInfoIter &) |
Public Attributes | |
| LodCtrl * | mLodCtrl |
| TalkMessageCtrl * | mMsgCtrl |
| PartsModel * | _94 |
| PartsModel * | _98 |
| u32 | _9C |
| TVec4f | _A0 |
| TVec4f | _B0 |
| TVec3f | _C0 |
| TVec3f | _CC |
| u8 | _D8 |
| u8 | _D9 |
| u8 | _DA |
| u8 | _DB |
| u8 | _DC |
| u8 | _DD |
| u8 | _DE |
| u8 | _DF |
| u8 | _E0 |
| u8 | _E1 |
| u8 | _E2 |
| u8 | _E3 |
| u8 | _E4 |
| u8 | _E5 |
| u8 | _E6 |
| u8 | _E7 |
| u8 | _E8 |
| u8 | _E9 |
| f32 | _EC |
| f32 | _F0 |
| f32 | _F4 |
| f32 | _F8 |
| const char * | _FC |
| u32 | _100 |
| u32 | _104 |
| u32 | _108 |
| u32 | _10C |
| u32 | _110 |
| u32 | _114 |
| u32 | _118 |
| u32 | _11C |
| u32 | _120 |
| u8 | _124 |
| u8 | _125 |
| u8 | _126 |
| u8 | _127 |
| u8 | _128 |
| f32 | _12C |
| const char * | _130 |
| const char * | _134 |
| const char * | _138 |
| const char * | _13C |
| AnimScaleController * | mScaleController |
| u32 | _144 |
| Nerve * | mCurNerve |
| NrvNPCActor::NPCActorNrvWait * | mWaitNerve |
| NrvNPCActor::NPCActorNrvTalk * | mTalkNerve |
| NrvNPCActor::NPCActorNrvReaction * | mReactionNerve |
| u32 | _158 |
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 78 of file NPCActor.hpp.
|
inlinevirtual |
Definition at line 82 of file NPCActor.hpp.
|
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 184 of file NPCActor.cpp.
|
virtual |
Reimplemented from NameObj.
Definition at line 188 of file NPCActor.cpp.
|
virtual |
Reimplemented from LiveActor.
|
virtual |
Reimplemented from LiveActor.
|
virtual |
Reimplemented from LiveActor.
|
virtual |
Reimplemented from LiveActor.
|
virtual |
Calculates and sets the base matrix of the actor.
Reimplemented from LiveActor.
Reimplemented from LiveActor.
Reimplemented from LiveActor.
|
static |
Definition at line 141 of file NPCActor.cpp.
|
static |
Definition at line 155 of file NPCActor.cpp.
|
static |
Definition at line 165 of file NPCActor.cpp.
| void NPCActor::setInitPose | ( | ) |
Definition at line 176 of file NPCActor.cpp.
| LodCtrl* NPCActor::mLodCtrl |
Definition at line 123 of file NPCActor.hpp.
| TalkMessageCtrl* NPCActor::mMsgCtrl |
Definition at line 124 of file NPCActor.hpp.
| PartsModel* NPCActor::_94 |
Definition at line 125 of file NPCActor.hpp.
| PartsModel* NPCActor::_98 |
Definition at line 126 of file NPCActor.hpp.
| u32 NPCActor::_9C |
Definition at line 127 of file NPCActor.hpp.
| TVec4f NPCActor::_A0 |
Definition at line 128 of file NPCActor.hpp.
| TVec4f NPCActor::_B0 |
Definition at line 129 of file NPCActor.hpp.
| TVec3f NPCActor::_C0 |
Definition at line 130 of file NPCActor.hpp.
| TVec3f NPCActor::_CC |
Definition at line 131 of file NPCActor.hpp.
| u8 NPCActor::_D8 |
Definition at line 132 of file NPCActor.hpp.
| u8 NPCActor::_D9 |
Definition at line 133 of file NPCActor.hpp.
| u8 NPCActor::_DA |
Definition at line 134 of file NPCActor.hpp.
| u8 NPCActor::_DB |
Definition at line 135 of file NPCActor.hpp.
| u8 NPCActor::_DC |
Definition at line 136 of file NPCActor.hpp.
| u8 NPCActor::_DD |
Definition at line 137 of file NPCActor.hpp.
| u8 NPCActor::_DE |
Definition at line 138 of file NPCActor.hpp.
| u8 NPCActor::_DF |
Definition at line 139 of file NPCActor.hpp.
| u8 NPCActor::_E0 |
Definition at line 140 of file NPCActor.hpp.
| u8 NPCActor::_E1 |
Definition at line 141 of file NPCActor.hpp.
| u8 NPCActor::_E2 |
Definition at line 142 of file NPCActor.hpp.
| u8 NPCActor::_E3 |
Definition at line 143 of file NPCActor.hpp.
| u8 NPCActor::_E4 |
Definition at line 144 of file NPCActor.hpp.
| u8 NPCActor::_E5 |
Definition at line 145 of file NPCActor.hpp.
| u8 NPCActor::_E6 |
Definition at line 146 of file NPCActor.hpp.
| u8 NPCActor::_E7 |
Definition at line 147 of file NPCActor.hpp.
| u8 NPCActor::_E8 |
Definition at line 148 of file NPCActor.hpp.
| u8 NPCActor::_E9 |
Definition at line 149 of file NPCActor.hpp.
| f32 NPCActor::_EC |
Definition at line 150 of file NPCActor.hpp.
| f32 NPCActor::_F0 |
Definition at line 151 of file NPCActor.hpp.
| f32 NPCActor::_F4 |
Definition at line 152 of file NPCActor.hpp.
| f32 NPCActor::_F8 |
Definition at line 153 of file NPCActor.hpp.
| const char* NPCActor::_FC |
Definition at line 154 of file NPCActor.hpp.
| u32 NPCActor::_100 |
Definition at line 155 of file NPCActor.hpp.
| u32 NPCActor::_104 |
Definition at line 156 of file NPCActor.hpp.
| u32 NPCActor::_108 |
Definition at line 157 of file NPCActor.hpp.
| u32 NPCActor::_10C |
Definition at line 158 of file NPCActor.hpp.
| u32 NPCActor::_110 |
Definition at line 159 of file NPCActor.hpp.
| u32 NPCActor::_114 |
Definition at line 160 of file NPCActor.hpp.
| u32 NPCActor::_118 |
Definition at line 161 of file NPCActor.hpp.
| u32 NPCActor::_11C |
Definition at line 162 of file NPCActor.hpp.
| u32 NPCActor::_120 |
Definition at line 163 of file NPCActor.hpp.
| u8 NPCActor::_124 |
Definition at line 164 of file NPCActor.hpp.
| u8 NPCActor::_125 |
Definition at line 165 of file NPCActor.hpp.
| u8 NPCActor::_126 |
Definition at line 166 of file NPCActor.hpp.
| u8 NPCActor::_127 |
Definition at line 167 of file NPCActor.hpp.
| u8 NPCActor::_128 |
Definition at line 168 of file NPCActor.hpp.
| f32 NPCActor::_12C |
Definition at line 169 of file NPCActor.hpp.
| const char* NPCActor::_130 |
Definition at line 170 of file NPCActor.hpp.
| const char* NPCActor::_134 |
Definition at line 171 of file NPCActor.hpp.
| const char* NPCActor::_138 |
Definition at line 172 of file NPCActor.hpp.
| const char* NPCActor::_13C |
Definition at line 173 of file NPCActor.hpp.
| AnimScaleController* NPCActor::mScaleController |
Definition at line 174 of file NPCActor.hpp.
| u32 NPCActor::_144 |
Definition at line 175 of file NPCActor.hpp.
| Nerve* NPCActor::mCurNerve |
Definition at line 176 of file NPCActor.hpp.
| NrvNPCActor::NPCActorNrvWait* NPCActor::mWaitNerve |
Definition at line 177 of file NPCActor.hpp.
| NrvNPCActor::NPCActorNrvTalk* NPCActor::mTalkNerve |
Definition at line 178 of file NPCActor.hpp.
| NrvNPCActor::NPCActorNrvReaction* NPCActor::mReactionNerve |
Definition at line 179 of file NPCActor.hpp.
| u32 NPCActor::_158 |
Definition at line 180 of file NPCActor.hpp.