SMG-Decomp
A decompilation of Super Mario Galaxy 1
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
ShadowController Class Reference

Public Member Functions

 ShadowController (LiveActor *, const char *)
 
void requestCalc ()
 
void update ()
 
void updateFarClipping (f32)
 
void updateDirection ()
 
void upateProjection ()
 
ShadowDrawergetShadowDrawer ()
 
LiveActorgetHost () const
 
void setShadowDrawer (ShadowDrawer *)
 
void getDropPos (TVec3f *) const
 
void getDropDir (TVec3f *) const
 
f32 getDropLength () const
 
void getProjectionPos (TVec3f *) const
 
void getProjectionNormal (TVec3f *) const
 
f32 getProjectionLength () const
 
bool isProjected () const
 
bool isDraw () const
 
bool isCalcCollision () const
 
bool isCalcGravity () const
 
bool isCalcShadowGravity () const
 
void setGroupName (const char *)
 
void setDropPosPtr (const TVec3f *)
 
void setDropPosMtxPtr (MtxPtr, const TVec3f &)
 
void setDropPosFix (const TVec3f &)
 
void setDropDirPtr (const TVec3f *)
 
void setProjectionPtr (const TVec3f *, const TVec3f *)
 
void setDropDirFix (const TVec3f &)
 
void setDropLength (f32)
 
void setDropStartOffset (f32)
 
void setDropTypeNormal ()
 
void setDropTypeSurface ()
 
void setProjectionFix (const TVec3f &, const TVec3f &, bool)
 
void onCalcCollision ()
 
void offCalcCollision ()
 
void onCalcCollisionOneTime ()
 
void onCalcDropGravity ()
 
void onCalcDropGravityOneTime ()
 
void offCalcDropGravity ()
 
void onCalcDropPrivateGravity ()
 
void onCalcDropPrivateGravityOneTime ()
 
void offCalcDropPrivateGravity ()
 
void setCollisionPartsFilter (CollisionPartsFilterBase *)
 
void onFollowHostScale ()
 
void offFollowHostScale ()
 
bool isFollowHostScale () const
 
void onVisibleSyncHost ()
 
void offVisibleSyncHost ()
 
void validate ()
 
void invalidate ()
 
void updateProjection ()
 
void appendToHolder ()
 

Public Attributes

LiveActormActor
 
const char * mName
 
const char * mGroupName
 
ShadowDrawermDrawer
 
u32 _10
 
CollisionPartsFilterBasemCollisionPartsFilter
 
MtxPtr _18
 
MtxPtr _1C
 
const TVec3f * mDropPos
 
const TVec3f * mDropDir
 
TVec3f * mProjPos
 
TVec3f * mProjNorm
 
TVec3f _30
 
TVec3f _3C
 
TVec3f _48
 
TVec3f _54
 
u8 _60
 
u8 _61
 
u8 _62
 
u8 _63
 
u8 _64
 
u8 _65
 
u8 _66
 
u8 _67
 
f32 mStartOffset
 
f32 mDropLength
 
u8 _70
 
u8 _71
 
u8 _72
 

Detailed Description

Definition at line 44 of file ShadowController.hpp.

Member Function Documentation

◆ requestCalc()

void ShadowController::requestCalc ( )

Definition at line 88 of file ShadowController.cpp.

◆ update()

void ShadowController::update ( )

Definition at line 95 of file ShadowController.cpp.

◆ updateFarClipping()

void ShadowController::updateFarClipping ( f32 clip)

Definition at line 104 of file ShadowController.cpp.

◆ getShadowDrawer()

ShadowDrawer * ShadowController::getShadowDrawer ( )

Definition at line 111 of file ShadowController.cpp.

◆ getHost()

LiveActor * ShadowController::getHost ( ) const

Definition at line 115 of file ShadowController.cpp.

◆ setShadowDrawer()

void ShadowController::setShadowDrawer ( ShadowDrawer * pDrawer)

Definition at line 119 of file ShadowController.cpp.

◆ getDropPos()

void ShadowController::getDropPos ( TVec3f * pOut) const

Definition at line 124 of file ShadowController.cpp.

◆ getDropDir()

void ShadowController::getDropDir ( TVec3f * pOut) const

Definition at line 138 of file ShadowController.cpp.

◆ getDropLength()

f32 ShadowController::getDropLength ( ) const

Definition at line 147 of file ShadowController.cpp.

◆ getProjectionPos()

void ShadowController::getProjectionPos ( TVec3f * pOut) const

Definition at line 151 of file ShadowController.cpp.

◆ getProjectionNormal()

void ShadowController::getProjectionNormal ( TVec3f * pOut) const

Definition at line 160 of file ShadowController.cpp.

◆ isProjected()

bool ShadowController::isProjected ( ) const

Definition at line 169 of file ShadowController.cpp.

◆ isDraw()

bool ShadowController::isDraw ( ) const

Definition at line 173 of file ShadowController.cpp.

◆ setGroupName()

void ShadowController::setGroupName ( const char * pName)

Definition at line 209 of file ShadowController.cpp.

◆ setDropPosPtr()

void ShadowController::setDropPosPtr ( const TVec3f * pDropPos)

Definition at line 213 of file ShadowController.cpp.

◆ setDropPosFix()

void ShadowController::setDropPosFix ( const TVec3f & rPos)

Definition at line 218 of file ShadowController.cpp.

◆ setDropDirPtr()

void ShadowController::setDropDirPtr ( const TVec3f * pDropDir)

Definition at line 224 of file ShadowController.cpp.

◆ setDropDirFix()

void ShadowController::setDropDirFix ( const TVec3f & a1)

Definition at line 229 of file ShadowController.cpp.

◆ setDropLength()

void ShadowController::setDropLength ( f32 len)

Definition at line 235 of file ShadowController.cpp.

◆ setDropStartOffset()

void ShadowController::setDropStartOffset ( f32 offs)

Definition at line 239 of file ShadowController.cpp.

◆ setDropTypeNormal()

void ShadowController::setDropTypeNormal ( )

Definition at line 243 of file ShadowController.cpp.

◆ setDropTypeSurface()

void ShadowController::setDropTypeSurface ( )

Definition at line 247 of file ShadowController.cpp.

◆ setProjectionFix()

void ShadowController::setProjectionFix ( const TVec3f & a1,
const TVec3f & a2,
bool a3 )

Definition at line 251 of file ShadowController.cpp.

◆ onCalcCollision()

void ShadowController::onCalcCollision ( )

Definition at line 258 of file ShadowController.cpp.

◆ offCalcCollision()

void ShadowController::offCalcCollision ( )

Definition at line 262 of file ShadowController.cpp.

◆ onCalcCollisionOneTime()

void ShadowController::onCalcCollisionOneTime ( )

Definition at line 266 of file ShadowController.cpp.

◆ onCalcDropGravity()

void ShadowController::onCalcDropGravity ( )

Definition at line 271 of file ShadowController.cpp.

◆ onCalcDropGravityOneTime()

void ShadowController::onCalcDropGravityOneTime ( )

Definition at line 278 of file ShadowController.cpp.

◆ offCalcDropGravity()

void ShadowController::offCalcDropGravity ( )

Definition at line 286 of file ShadowController.cpp.

◆ onCalcDropPrivateGravity()

void ShadowController::onCalcDropPrivateGravity ( )

Definition at line 290 of file ShadowController.cpp.

◆ onCalcDropPrivateGravityOneTime()

void ShadowController::onCalcDropPrivateGravityOneTime ( )

Definition at line 297 of file ShadowController.cpp.

◆ offCalcDropPrivateGravity()

void ShadowController::offCalcDropPrivateGravity ( )

Definition at line 305 of file ShadowController.cpp.

◆ setCollisionPartsFilter()

void ShadowController::setCollisionPartsFilter ( CollisionPartsFilterBase * pBase)

Definition at line 309 of file ShadowController.cpp.

◆ onFollowHostScale()

void ShadowController::onFollowHostScale ( )

Definition at line 313 of file ShadowController.cpp.

◆ offFollowHostScale()

void ShadowController::offFollowHostScale ( )

Definition at line 317 of file ShadowController.cpp.

◆ isFollowHostScale()

bool ShadowController::isFollowHostScale ( ) const

Definition at line 321 of file ShadowController.cpp.

◆ onVisibleSyncHost()

void ShadowController::onVisibleSyncHost ( )

Definition at line 325 of file ShadowController.cpp.

◆ offVisibleSyncHost()

void ShadowController::offVisibleSyncHost ( )

Definition at line 329 of file ShadowController.cpp.

◆ validate()

void ShadowController::validate ( )

Definition at line 333 of file ShadowController.cpp.

◆ invalidate()

void ShadowController::invalidate ( )

Definition at line 337 of file ShadowController.cpp.

◆ appendToHolder()

void ShadowController::appendToHolder ( )
inline

Definition at line 99 of file ShadowController.hpp.

Member Data Documentation

◆ mActor

LiveActor* ShadowController::mActor

Definition at line 103 of file ShadowController.hpp.

◆ mName

const char* ShadowController::mName

Definition at line 104 of file ShadowController.hpp.

◆ mGroupName

const char* ShadowController::mGroupName

Definition at line 105 of file ShadowController.hpp.

◆ mDrawer

ShadowDrawer* ShadowController::mDrawer

Definition at line 106 of file ShadowController.hpp.

◆ _10

u32 ShadowController::_10

Definition at line 107 of file ShadowController.hpp.

◆ mCollisionPartsFilter

CollisionPartsFilterBase* ShadowController::mCollisionPartsFilter

Definition at line 108 of file ShadowController.hpp.

◆ _18

MtxPtr ShadowController::_18

Definition at line 109 of file ShadowController.hpp.

◆ _1C

MtxPtr ShadowController::_1C

Definition at line 110 of file ShadowController.hpp.

◆ mDropPos

const TVec3f* ShadowController::mDropPos

Definition at line 111 of file ShadowController.hpp.

◆ mDropDir

const TVec3f* ShadowController::mDropDir

Definition at line 112 of file ShadowController.hpp.

◆ mProjPos

TVec3f* ShadowController::mProjPos

Definition at line 113 of file ShadowController.hpp.

◆ mProjNorm

TVec3f* ShadowController::mProjNorm

Definition at line 114 of file ShadowController.hpp.

◆ _30

TVec3f ShadowController::_30

Definition at line 115 of file ShadowController.hpp.

◆ _3C

TVec3f ShadowController::_3C

Definition at line 116 of file ShadowController.hpp.

◆ _48

TVec3f ShadowController::_48

Definition at line 117 of file ShadowController.hpp.

◆ _54

TVec3f ShadowController::_54

Definition at line 118 of file ShadowController.hpp.

◆ _60

u8 ShadowController::_60

Definition at line 119 of file ShadowController.hpp.

◆ _61

u8 ShadowController::_61

Definition at line 120 of file ShadowController.hpp.

◆ _62

u8 ShadowController::_62

Definition at line 121 of file ShadowController.hpp.

◆ _63

u8 ShadowController::_63

Definition at line 122 of file ShadowController.hpp.

◆ _64

u8 ShadowController::_64

Definition at line 123 of file ShadowController.hpp.

◆ _65

u8 ShadowController::_65

Definition at line 124 of file ShadowController.hpp.

◆ _66

u8 ShadowController::_66

Definition at line 125 of file ShadowController.hpp.

◆ _67

u8 ShadowController::_67

Definition at line 126 of file ShadowController.hpp.

◆ mStartOffset

f32 ShadowController::mStartOffset

Definition at line 127 of file ShadowController.hpp.

◆ mDropLength

f32 ShadowController::mDropLength

Definition at line 128 of file ShadowController.hpp.

◆ _70

u8 ShadowController::_70

Definition at line 129 of file ShadowController.hpp.

◆ _71

u8 ShadowController::_71

Definition at line 130 of file ShadowController.hpp.

◆ _72

u8 ShadowController::_72

Definition at line 131 of file ShadowController.hpp.