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

Public Member Functions

 SpinDriverPathDrawer (SpinDriverShootPath *)
 
virtual void init (const JMapInfoIter &)
 Intializes the NameObj and can set various settings and construct necessary classes.
 
virtual void draw () const
 Draws the object. Does nothing until overridden.
 
s32 calcPositionCount (f32, f32) const
 
void initPositionList (f32, f32)
 
void initClipping ()
 
void initPathEnd ()
 
f32 calcDrawCode () const
 
f32 calcDrawBaseCode () const
 
void setCoord (f32)
 
void setColorNormal ()
 
void setColorGreen ()
 
void setColorPink ()
 
void setMaskLength (f32)
 
void setFadeScale (f32)
 
void sendPoint (const TVec3f &, f32, f32)
 
- 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 control ()
 
virtual void calcAndSetBaseMtx ()
 Calculates and sets the base matrix of the actor.
 
virtual void updateHitSensor (HitSensor *)
 
virtual void attackSensor (HitSensor *, HitSensor *)
 
virtual bool receiveMsgPush (HitSensor *, HitSensor *)
 
virtual bool receiveMsgPlayerAttack (u32, 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
 
HitSensorgetSensor (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 ()
 
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

SpinDriverShootPathmShootPath
 
TVec3f * _90
 
TVec3f * _94
 
TVec3f * _98
 
void * _9C
 
s32 mPositionCount
 
u32 _A4
 
u32 _A8
 
f32 _AC
 
f32 _B0
 
s32 mColor
 
f32 _B8
 
f32 mFadeScale
 
f32 mMaskLength
 
- 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.
 
ModelManagermModelManager
 A pointer to a ModelManager instance, used for drawing a 3D model.
 
ActorAnimKeepermAnimationKeeper
 A pointer to a ActorAnimKeeper instance, used for storing and playing model animations.
 
SpinemSpine
 
HitSensorKeepermSensorKeeper
 A pointer to a HitSensorKeeper instance, used for storing HitSensor instances.
 
BindermBinder
 
RailRidermRailRider
 A pointer to a RailRider instance, used for allowing the actor to ride on paths.
 
EffectKeepermEffectKeeper
 
AudAnmSoundObjectmSoundObject
 
LiveActorFlag mFlags
 Flags relating to drawing, animation calculation, etc.
 
ShadowControllerListmShadowList
 
CollisionPartsmCollisionParts
 
StageSwitchCtrlmStageSwitchCtrl
 A pointer to a StageSwitchCtrl instance, used for activating and deactivating switches.
 
StarPointerTarget * mStarPointerTarget
 
ActorLightCtrlmActorLightCtrl
 
ActorPadAndCameraCtrlmCameraCtrl
 
- 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.
 

Detailed Description

Definition at line 22 of file SpinDriverPathDrawer.hpp.

Constructor & Destructor Documentation

◆ SpinDriverPathDrawer()

SpinDriverPathDrawer::SpinDriverPathDrawer ( SpinDriverShootPath * pShootPath)

Definition at line 18 of file SpinDriverPathDrawer.cpp.

◆ ~SpinDriverPathDrawer()

SpinDriverPathDrawer::~SpinDriverPathDrawer ( )
virtual

Definition at line 203 of file SpinDriverPathDrawer.cpp.

Member Function Documentation

◆ init()

void SpinDriverPathDrawer::init ( const JMapInfoIter & rIter)
virtual

Intializes the NameObj and can set various settings and construct necessary classes.

Parameters
rIterA reference to the JMapInfoIter that supplies BCSV information.

Reimplemented from LiveActor.

Definition at line 101 of file SpinDriverPathDrawer.cpp.

◆ draw()

virtual void SpinDriverPathDrawer::draw ( ) const
virtual

Draws the object. Does nothing until overridden.

Reimplemented from NameObj.

◆ initClipping()

void SpinDriverPathDrawer::initClipping ( )

Definition at line 112 of file SpinDriverPathDrawer.cpp.

◆ initPathEnd()

void SpinDriverPathDrawer::initPathEnd ( )

Definition at line 120 of file SpinDriverPathDrawer.cpp.

◆ calcDrawCode()

f32 SpinDriverPathDrawer::calcDrawCode ( ) const

Definition at line 132 of file SpinDriverPathDrawer.cpp.

◆ calcDrawBaseCode()

f32 SpinDriverPathDrawer::calcDrawBaseCode ( ) const

Definition at line 142 of file SpinDriverPathDrawer.cpp.

◆ setCoord()

void SpinDriverPathDrawer::setCoord ( f32 coord)

Definition at line 156 of file SpinDriverPathDrawer.cpp.

◆ setColorNormal()

void SpinDriverPathDrawer::setColorNormal ( )

Definition at line 163 of file SpinDriverPathDrawer.cpp.

◆ setColorGreen()

void SpinDriverPathDrawer::setColorGreen ( )

Definition at line 167 of file SpinDriverPathDrawer.cpp.

◆ setColorPink()

void SpinDriverPathDrawer::setColorPink ( )

Definition at line 171 of file SpinDriverPathDrawer.cpp.

◆ setMaskLength()

void SpinDriverPathDrawer::setMaskLength ( f32 mask)

Definition at line 175 of file SpinDriverPathDrawer.cpp.

◆ setFadeScale()

void SpinDriverPathDrawer::setFadeScale ( f32 fade)

Definition at line 184 of file SpinDriverPathDrawer.cpp.

◆ sendPoint()

void SpinDriverPathDrawer::sendPoint ( const TVec3f & a1,
f32 a2,
f32 a3 )

Definition at line 195 of file SpinDriverPathDrawer.cpp.

Member Data Documentation

◆ mShootPath

SpinDriverShootPath* SpinDriverPathDrawer::mShootPath

Definition at line 44 of file SpinDriverPathDrawer.hpp.

◆ _90

TVec3f* SpinDriverPathDrawer::_90

Definition at line 45 of file SpinDriverPathDrawer.hpp.

◆ _94

TVec3f* SpinDriverPathDrawer::_94

Definition at line 46 of file SpinDriverPathDrawer.hpp.

◆ _98

TVec3f* SpinDriverPathDrawer::_98

Definition at line 47 of file SpinDriverPathDrawer.hpp.

◆ _9C

void* SpinDriverPathDrawer::_9C

Definition at line 48 of file SpinDriverPathDrawer.hpp.

◆ mPositionCount

s32 SpinDriverPathDrawer::mPositionCount

Definition at line 49 of file SpinDriverPathDrawer.hpp.

◆ _A4

u32 SpinDriverPathDrawer::_A4

Definition at line 50 of file SpinDriverPathDrawer.hpp.

◆ _A8

u32 SpinDriverPathDrawer::_A8

Definition at line 51 of file SpinDriverPathDrawer.hpp.

◆ _AC

f32 SpinDriverPathDrawer::_AC

Definition at line 52 of file SpinDriverPathDrawer.hpp.

◆ _B0

f32 SpinDriverPathDrawer::_B0

Definition at line 53 of file SpinDriverPathDrawer.hpp.

◆ mColor

s32 SpinDriverPathDrawer::mColor

Definition at line 54 of file SpinDriverPathDrawer.hpp.

◆ _B8

f32 SpinDriverPathDrawer::_B8

Definition at line 55 of file SpinDriverPathDrawer.hpp.

◆ mFadeScale

f32 SpinDriverPathDrawer::mFadeScale

Definition at line 56 of file SpinDriverPathDrawer.hpp.

◆ mMaskLength

f32 SpinDriverPathDrawer::mMaskLength

Definition at line 57 of file SpinDriverPathDrawer.hpp.