|
SMG-Decomp
A decompilation of Super Mario Galaxy 1
|
Public Types | |
| enum | AxisType |
Public Member Functions | |
| MapPartsRotator (LiveActor *) | |
| virtual void | init (const JMapInfoIter &) |
| Intializes the NameObj and can set various settings and construct necessary classes. | |
| virtual bool | isWorking () const |
| virtual void | start () |
| virtual void | end () |
| virtual TMtx34f & | getRotateMtx () const |
| virtual bool | isMoving () const |
| virtual bool | isOnReverse () const |
| virtual f32 | getRotateSpeed () const |
| void | startWithSignalMotion () |
| void | cancelSignalMotion () |
| void | updateBaseHostMtx () |
| void | updateVelocity () |
| void | updateAngle () |
| void | updateTargetAngle () |
| void | restartAtEnd () |
| void | initRotateSpeed (const JMapInfoIter &) |
| bool | isReachedTargetAngle () const |
| void | updateRotateMtx (AxisType, f32) |
| void | calcRotateAxisDir (AxisType, TVec3f *) const |
| void | exeRotate () |
| void | exeRotateStart () |
Public Member Functions inherited from MapPartsFunction | |
| MapPartsFunction (LiveActor *, const char *) | |
| virtual void | movement () |
| virtual s32 | receiveMsg (u32) |
| virtual void | control () |
| void | sendMsgToHost (u32) |
| void | initNerve (const Nerve *) |
| void | setNerve (const Nerve *) |
| s32 | getStep () const |
| bool | isStep (s32) const |
| bool | isNerve (const Nerve *) const |
| bool | isFirstStep () const |
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. | |
| virtual void | calcAnim () |
| virtual void | calcViewAndEntry () |
| 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 | _18 |
| f32 | mRotateAngle |
| s32 | mRotateStopTime |
| f32 | mTargetAngle |
| f32 | mRotateSpeed |
| f32 | mAngle |
| s32 | mRotateAxis |
| s32 | mRotateAccelType |
| s32 | mRotateType |
| s32 | mSignMotionType |
| TMtx34f | _40 |
| TMtx34f | _70 |
| f32 | _A0 |
| bool | mIsOnReverse |
Public Attributes inherited from MapPartsFunction | |
| Spine * | mSpine |
| LiveActor * | mHost |
| u8 | _14 |
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 24 of file MapPartsRotator.hpp.
| enum MapPartsRotator::AxisType |
Definition at line 28 of file MapPartsRotator.hpp.
|
virtual |
Definition at line 147 of file MapPartsRotator.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 MapPartsFunction.
Definition at line 27 of file MapPartsRotator.cpp.
|
virtual |
Reimplemented from MapPartsFunction.
Definition at line 66 of file MapPartsRotator.cpp.
|
virtual |
Reimplemented from MapPartsFunction.
Definition at line 56 of file MapPartsRotator.cpp.
|
virtual |
Reimplemented from MapPartsFunction.
Definition at line 62 of file MapPartsRotator.cpp.
|
virtual |
Reimplemented from MapPartsRotatorBase.
Definition at line 86 of file MapPartsRotator.cpp.
|
virtual |
Reimplemented from MapPartsRotatorBase.
Definition at line 184 of file MapPartsRotator.cpp.
|
virtual |
Reimplemented from MapPartsRotatorBase.
Definition at line 188 of file MapPartsRotator.cpp.
| void MapPartsRotator::startWithSignalMotion | ( | ) |
Definition at line 74 of file MapPartsRotator.cpp.
| void MapPartsRotator::cancelSignalMotion | ( | ) |
Definition at line 80 of file MapPartsRotator.cpp.
| void MapPartsRotator::restartAtEnd | ( | ) |
Definition at line 90 of file MapPartsRotator.cpp.
| void MapPartsRotator::initRotateSpeed | ( | const JMapInfoIter & | rIter | ) |
Definition at line 107 of file MapPartsRotator.cpp.
| void MapPartsRotator::calcRotateAxisDir | ( | AxisType | type, |
| TVec3f * | pDir ) const |
Definition at line 123 of file MapPartsRotator.cpp.
| f32 MapPartsRotator::_18 |
Definition at line 57 of file MapPartsRotator.hpp.
| f32 MapPartsRotator::mRotateAngle |
Definition at line 58 of file MapPartsRotator.hpp.
| s32 MapPartsRotator::mRotateStopTime |
Definition at line 59 of file MapPartsRotator.hpp.
| f32 MapPartsRotator::mTargetAngle |
Definition at line 60 of file MapPartsRotator.hpp.
| f32 MapPartsRotator::mRotateSpeed |
Definition at line 61 of file MapPartsRotator.hpp.
| f32 MapPartsRotator::mAngle |
Definition at line 62 of file MapPartsRotator.hpp.
| s32 MapPartsRotator::mRotateAxis |
Definition at line 63 of file MapPartsRotator.hpp.
| s32 MapPartsRotator::mRotateAccelType |
Definition at line 64 of file MapPartsRotator.hpp.
| s32 MapPartsRotator::mRotateType |
Definition at line 65 of file MapPartsRotator.hpp.
| s32 MapPartsRotator::mSignMotionType |
Definition at line 66 of file MapPartsRotator.hpp.
| TMtx34f MapPartsRotator::_40 |
Definition at line 67 of file MapPartsRotator.hpp.
| TMtx34f MapPartsRotator::_70 |
Definition at line 68 of file MapPartsRotator.hpp.
| f32 MapPartsRotator::_A0 |
Definition at line 69 of file MapPartsRotator.hpp.
| bool MapPartsRotator::mIsOnReverse |
Definition at line 70 of file MapPartsRotator.hpp.