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

Public Member Functions

 LodCtrl (LiveActor *, const JMapInfoIter &)
 
void offSyncShadowHost ()
 
void appear ()
 
void kill ()
 
void validate ()
 
void invalidate ()
 
void update ()
 
bool isShowLowModel () const
 
void setDistanceToMiddle (f32)
 
f32 calcDistanceToCamera () const
 
void setDistanceToLow (f32)
 
void setDistanceToMiddleAndLow (f32, f32)
 
void setClippingTypeSphereContainsModelBoundingBox (f32)
 
void setFarClipping (f32)
 
void invalidateClipping ()
 
void showHighModel ()
 
void showMiddleModel ()
 
void showLowModel ()
 
void hideAllModel ()
 
void setViewCtrlPtr (const bool *, const bool *, const bool *, const bool *)
 
void createLodModel (int, int, int)
 
void syncMaterialAnimation ()
 
void syncJointAnimation ()
 
void initLightCtrl ()
 
ModelObjinitLodModel (int, int, int, bool) const
 

Public Attributes

f32 _0
 
f32 _4
 
LiveActor_8
 
LiveActormActor
 
ModelObj_10
 
ModelObj_14
 
u8 _18
 
u8 _19
 
u8 _1A
 
u8 _1B
 
const bool * _1C
 
const bool * _20
 
const bool * _24
 
const bool * _28
 
s16 mViewGroupID
 
ActorLightCtrlmActorLightCtrl
 

Detailed Description

Definition at line 10 of file LodCtrl.hpp.

Constructor & Destructor Documentation

◆ LodCtrl()

LodCtrl::LodCtrl ( LiveActor * pActor,
const JMapInfoIter & rIter )

Definition at line 35 of file LodCtrl.cpp.

Member Function Documentation

◆ offSyncShadowHost()

void LodCtrl::offSyncShadowHost ( )

Definition at line 56 of file LodCtrl.cpp.

◆ appear()

void LodCtrl::appear ( )

Definition at line 61 of file LodCtrl.cpp.

◆ kill()

void LodCtrl::kill ( )

Definition at line 82 of file LodCtrl.cpp.

◆ validate()

void LodCtrl::validate ( )

Definition at line 104 of file LodCtrl.cpp.

◆ invalidate()

void LodCtrl::invalidate ( )

Definition at line 109 of file LodCtrl.cpp.

◆ isShowLowModel()

bool LodCtrl::isShowLowModel ( ) const

Definition at line 114 of file LodCtrl.cpp.

◆ setDistanceToMiddle()

void LodCtrl::setDistanceToMiddle ( f32 dist)

Definition at line 125 of file LodCtrl.cpp.

◆ calcDistanceToCamera()

f32 LodCtrl::calcDistanceToCamera ( ) const

Definition at line 129 of file LodCtrl.cpp.

◆ setDistanceToLow()

void LodCtrl::setDistanceToLow ( f32 dist)

Definition at line 137 of file LodCtrl.cpp.

◆ setDistanceToMiddleAndLow()

void LodCtrl::setDistanceToMiddleAndLow ( f32 mid_dist,
f32 low_dist )

Definition at line 141 of file LodCtrl.cpp.

◆ setClippingTypeSphereContainsModelBoundingBox()

void LodCtrl::setClippingTypeSphereContainsModelBoundingBox ( f32 bounds)

Definition at line 146 of file LodCtrl.cpp.

◆ setFarClipping()

void LodCtrl::setFarClipping ( f32 clip)

Definition at line 150 of file LodCtrl.cpp.

◆ invalidateClipping()

void LodCtrl::invalidateClipping ( )

Definition at line 154 of file LodCtrl.cpp.

◆ showHighModel()

void LodCtrl::showHighModel ( )

Definition at line 158 of file LodCtrl.cpp.

◆ showMiddleModel()

void LodCtrl::showMiddleModel ( )

Definition at line 184 of file LodCtrl.cpp.

◆ showLowModel()

void LodCtrl::showLowModel ( )

Definition at line 209 of file LodCtrl.cpp.

◆ hideAllModel()

void LodCtrl::hideAllModel ( )

Definition at line 232 of file LodCtrl.cpp.

◆ setViewCtrlPtr()

void LodCtrl::setViewCtrlPtr ( const bool * a1,
const bool * a2,
const bool * a3,
const bool * a4 )

Definition at line 252 of file LodCtrl.cpp.

◆ createLodModel()

void LodCtrl::createLodModel ( int a1,
int a2,
int a3 )

Definition at line 259 of file LodCtrl.cpp.

◆ syncMaterialAnimation()

void LodCtrl::syncMaterialAnimation ( )

Definition at line 273 of file LodCtrl.cpp.

◆ syncJointAnimation()

void LodCtrl::syncJointAnimation ( )

Definition at line 283 of file LodCtrl.cpp.

◆ initLightCtrl()

void LodCtrl::initLightCtrl ( )

Definition at line 293 of file LodCtrl.cpp.

◆ initLodModel()

ModelObj * LodCtrl::initLodModel ( int a1,
int a2,
int a3,
bool isLowModel ) const

Definition at line 303 of file LodCtrl.cpp.

Member Data Documentation

◆ _0

f32 LodCtrl::_0

Definition at line 40 of file LodCtrl.hpp.

◆ _4

f32 LodCtrl::_4

Definition at line 41 of file LodCtrl.hpp.

◆ _8

LiveActor* LodCtrl::_8

Definition at line 42 of file LodCtrl.hpp.

◆ mActor

LiveActor* LodCtrl::mActor

Definition at line 43 of file LodCtrl.hpp.

◆ _10

ModelObj* LodCtrl::_10

Definition at line 44 of file LodCtrl.hpp.

◆ _14

ModelObj* LodCtrl::_14

Definition at line 45 of file LodCtrl.hpp.

◆ _18

u8 LodCtrl::_18

Definition at line 46 of file LodCtrl.hpp.

◆ _19

u8 LodCtrl::_19

Definition at line 47 of file LodCtrl.hpp.

◆ _1A

u8 LodCtrl::_1A

Definition at line 48 of file LodCtrl.hpp.

◆ _1B

u8 LodCtrl::_1B

Definition at line 49 of file LodCtrl.hpp.

◆ _1C

const bool* LodCtrl::_1C

Definition at line 50 of file LodCtrl.hpp.

◆ _20

const bool* LodCtrl::_20

Definition at line 51 of file LodCtrl.hpp.

◆ _24

const bool* LodCtrl::_24

Definition at line 52 of file LodCtrl.hpp.

◆ _28

const bool* LodCtrl::_28

Definition at line 53 of file LodCtrl.hpp.

◆ mViewGroupID

s16 LodCtrl::mViewGroupID

Definition at line 54 of file LodCtrl.hpp.

◆ mActorLightCtrl

ActorLightCtrl* LodCtrl::mActorLightCtrl

Definition at line 55 of file LodCtrl.hpp.