|
SMG-Decomp
A decompilation of Super Mario Galaxy 1
|
Public Member Functions | |
| PowerStar (const char *) | |
| virtual void | init (const JMapInfoIter &) |
| Intializes the NameObj and can set various settings and construct necessary classes. | |
| virtual void | initAfterPlacement () |
| virtual void | appear () |
| virtual void | makeActorAppeared () |
| virtual void | control () |
| virtual void | calcAndSetBaseMtx () |
| Calculates and sets the base matrix of the actor. | |
| virtual bool | receiveMsgPlayerAttack (u32, HitSensor *, HitSensor *) |
| virtual bool | receiveOtherMsg (u32, HitSensor *, HitSensor *) |
| void | requestAppear () |
| void | setDemoAppearPos (const TVec3f &) |
| bool | isEndAppearDemo () const |
| void | offAppearDemo () |
| void | initMapToolInfo (const JMapInfoIter &) |
| void | initModel () |
| void | initSensorGrandStar () |
| void | initShadow (const JMapInfoIter &) |
| void | initPosture () |
| void | endAppearDemo () |
| PowerStarAppearPoint * | getNearestAppearPoint (const TVec3f &) const |
| LiveActor * | getAppearCameraActor () |
| ActorCameraInfo * | getAppearCameraInfo () const |
| void | requestAppearOrWait () |
| void | calcAppearDemoRiseTrans (TVec3f *, f32) const |
| void | processWait (f32) |
| void | exeAppearDemoRise () |
| void | exeAppearDemoMove () |
| void | exeAppearDemoKoopa () |
| void | exeWait () |
| void | exeWeak () |
| void | exeWeakNoRotate () |
| void | exeWeakToWait () |
| void | exeStageClearDemo () |
| bool | isGrandStar () |
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 | 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 void | attackSensor (HitSensor *, 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 *) |
| 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 | setupColor (LiveActor *, const NameObj *, s32) |
| static void | setupColorAtResultSequence (LiveActor *, bool) |
| static void | requestPointLight (const LiveActor *, const NameObj *, s32) |
| static void | requestPointLightAtResultSequence (const LiveActor *) |
| static f32 | getPowerStarWaitRotateSpeed () |
| static s32 | getBtpFrameCurrentStage (s32) |
| static bool | isCurrentStageKoopaVs3 () |
| static void | initShadowPowerStar (LiveActor *, bool) |
| static void | makeArchiveList (NameObjArchiveListCollector *, const JMapInfoIter &) |
Public Attributes | ||
| s32 | mPowerStarId | |
| bool | mIsInDemo | |
| TVec3f | mAppearPosition | |
| TVec3f | _A0 | |
| TVec3f | _AC | |
| TPos3f | _B8 | |
| TMtx34f | _E8 | |
| ModelObj * | mPowerStarModelObj | |
| u8 | _11C | |
| u8 | _11D | |
| u8 | _11E | |
| u8 | _11F | |
| union { | ||
| volatile s32 mColorFrame_v | ||
| s32 mColorFrame | ||
| }; | ||
| volatile bool | mIsGrandStar | |
| bool | _125 | |
| bool | _126 | |
| bool | _127 | |
| ActorCameraInfo * | mCameraInfo | |
| PowerStarAppearPoint * | mCameraActor | |
| ModelObj * | mLuigiNPC | |
| TMtx34f | _134 | |
| u8 | _164 | |
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 15 of file PowerStar.hpp.
| PowerStar::PowerStar | ( | const char * | pName | ) |
Definition at line 42 of file PowerStar.cpp.
|
virtual |
Definition at line 698 of file PowerStar.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 61 of file PowerStar.cpp.
|
virtual |
Reimplemented from NameObj.
Definition at line 132 of file PowerStar.cpp.
|
virtual |
Reimplemented from LiveActor.
Definition at line 136 of file PowerStar.cpp.
|
virtual |
Reimplemented from LiveActor.
Definition at line 142 of file PowerStar.cpp.
|
virtual |
Reimplemented from LiveActor.
Definition at line 287 of file PowerStar.cpp.
|
virtual |
Calculates and sets the base matrix of the actor.
Reimplemented from LiveActor.
Reimplemented from LiveActor.
Definition at line 332 of file PowerStar.cpp.
Reimplemented from LiveActor.
Definition at line 340 of file PowerStar.cpp.
| void PowerStar::requestAppear | ( | ) |
Definition at line 148 of file PowerStar.cpp.
| void PowerStar::setDemoAppearPos | ( | const TVec3f & | rVec | ) |
Definition at line 163 of file PowerStar.cpp.
| bool PowerStar::isEndAppearDemo | ( | ) | const |
Definition at line 173 of file PowerStar.cpp.
| void PowerStar::offAppearDemo | ( | ) |
Definition at line 183 of file PowerStar.cpp.
Definition at line 187 of file PowerStar.cpp.
|
static |
Definition at line 207 of file PowerStar.cpp.
Definition at line 227 of file PowerStar.cpp.
|
static |
Definition at line 243 of file PowerStar.cpp.
|
static |
Definition at line 259 of file PowerStar.cpp.
|
static |
Definition at line 263 of file PowerStar.cpp.
|
static |
Definition at line 271 of file PowerStar.cpp.
|
static |
Definition at line 275 of file PowerStar.cpp.
|
static |
Definition at line 281 of file PowerStar.cpp.
| void PowerStar::initMapToolInfo | ( | const JMapInfoIter & | rIter | ) |
Definition at line 364 of file PowerStar.cpp.
| void PowerStar::initModel | ( | ) |
Definition at line 393 of file PowerStar.cpp.
| void PowerStar::initSensorGrandStar | ( | ) |
Definition at line 429 of file PowerStar.cpp.
| void PowerStar::initShadow | ( | const JMapInfoIter & | rIter | ) |
Definition at line 451 of file PowerStar.cpp.
| void PowerStar::initPosture | ( | ) |
Definition at line 465 of file PowerStar.cpp.
| void PowerStar::endAppearDemo | ( | ) |
Definition at line 495 of file PowerStar.cpp.
| PowerStarAppearPoint * PowerStar::getNearestAppearPoint | ( | const TVec3f & | rPos | ) | const |
Definition at line 505 of file PowerStar.cpp.
| LiveActor * PowerStar::getAppearCameraActor | ( | ) |
Definition at line 527 of file PowerStar.cpp.
| void PowerStar::requestAppearOrWait | ( | ) |
Definition at line 534 of file PowerStar.cpp.
| void PowerStar::calcAppearDemoRiseTrans | ( | TVec3f * | pOutTrans, |
| f32 | a2 ) const |
Definition at line 559 of file PowerStar.cpp.
| void PowerStar::exeWait | ( | ) |
Definition at line 647 of file PowerStar.cpp.
| void PowerStar::exeWeak | ( | ) |
Definition at line 660 of file PowerStar.cpp.
| void PowerStar::exeWeakNoRotate | ( | ) |
Definition at line 674 of file PowerStar.cpp.
| void PowerStar::exeWeakToWait | ( | ) |
Definition at line 683 of file PowerStar.cpp.
|
inline |
Definition at line 63 of file PowerStar.hpp.
| s32 PowerStar::mPowerStarId |
Definition at line 67 of file PowerStar.hpp.
| bool PowerStar::mIsInDemo |
Definition at line 68 of file PowerStar.hpp.
| TVec3f PowerStar::mAppearPosition |
Definition at line 69 of file PowerStar.hpp.
| TVec3f PowerStar::_A0 |
Definition at line 70 of file PowerStar.hpp.
| TVec3f PowerStar::_AC |
Definition at line 71 of file PowerStar.hpp.
| TPos3f PowerStar::_B8 |
Definition at line 72 of file PowerStar.hpp.
| TMtx34f PowerStar::_E8 |
Definition at line 73 of file PowerStar.hpp.
| ModelObj* PowerStar::mPowerStarModelObj |
Definition at line 74 of file PowerStar.hpp.
| u8 PowerStar::_11C |
Definition at line 75 of file PowerStar.hpp.
| u8 PowerStar::_11D |
Definition at line 76 of file PowerStar.hpp.
| u8 PowerStar::_11E |
Definition at line 77 of file PowerStar.hpp.
| u8 PowerStar::_11F |
Definition at line 78 of file PowerStar.hpp.
| volatile s32 PowerStar::mColorFrame_v |
Definition at line 83 of file PowerStar.hpp.
| s32 PowerStar::mColorFrame |
Definition at line 84 of file PowerStar.hpp.
| volatile bool PowerStar::mIsGrandStar |
Definition at line 87 of file PowerStar.hpp.
| bool PowerStar::_125 |
Definition at line 88 of file PowerStar.hpp.
| bool PowerStar::_126 |
Definition at line 89 of file PowerStar.hpp.
| bool PowerStar::_127 |
Definition at line 90 of file PowerStar.hpp.
| ActorCameraInfo* PowerStar::mCameraInfo |
Definition at line 91 of file PowerStar.hpp.
| PowerStarAppearPoint* PowerStar::mCameraActor |
Definition at line 92 of file PowerStar.hpp.
| ModelObj* PowerStar::mLuigiNPC |
Definition at line 93 of file PowerStar.hpp.
| TMtx34f PowerStar::_134 |
Definition at line 94 of file PowerStar.hpp.
| u8 PowerStar::_164 |
Definition at line 95 of file PowerStar.hpp.