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

Public Member Functions

 ActorLightCtrl (const LiveActor *)
 
void init (int, bool)
 
void update (bool)
 
void loadLight () const
 
void reset ()
 
void copy (const ActorLightCtrl *)
 
bool isSameLight (const ActorLightCtrl *) const
 
const ActorLightInfogetActorLight () const
 
void initActorLightInfo ()
 
void tryFindNewAreaLight (bool)
 
void updateLightBlend ()
 
void resetCurrentLightInfo ()
 
const ActorLightInfogetTargetActorLight (const AreaLightInfo *) const
 

Public Attributes

const LiveActormActor
 
s32 _4
 
u32 _8
 
u8 _C
 
AreaLightInfomAreaLightInf
 
ZoneLightID mLightID
 
u32 _1C
 
ActorLightInfo mLightInfo
 
s32 mInterpolate
 
s32 _54
 

Detailed Description

Definition at line 7 of file ActorLightCtrl.hpp.

Constructor & Destructor Documentation

◆ ActorLightCtrl()

ActorLightCtrl::ActorLightCtrl ( const LiveActor * pActor)

Definition at line 5 of file ActorLightCtrl.cpp.

Member Function Documentation

◆ update()

void ActorLightCtrl::update ( bool direct)

Definition at line 27 of file ActorLightCtrl.cpp.

◆ loadLight()

void ActorLightCtrl::loadLight ( ) const

Definition at line 34 of file ActorLightCtrl.cpp.

◆ isSameLight()

bool ActorLightCtrl::isSameLight ( const ActorLightCtrl * pLight) const

Definition at line 45 of file ActorLightCtrl.cpp.

◆ getActorLight()

const ActorLightInfo * ActorLightCtrl::getActorLight ( ) const

Definition at line 53 of file ActorLightCtrl.cpp.

◆ initActorLightInfo()

void ActorLightCtrl::initActorLightInfo ( )

Definition at line 61 of file ActorLightCtrl.cpp.

◆ resetCurrentLightInfo()

void ActorLightCtrl::resetCurrentLightInfo ( )

Definition at line 70 of file ActorLightCtrl.cpp.

◆ getTargetActorLight()

const ActorLightInfo * ActorLightCtrl::getTargetActorLight ( const AreaLightInfo * pInfo) const

Definition at line 78 of file ActorLightCtrl.cpp.

Member Data Documentation

◆ mActor

const LiveActor* ActorLightCtrl::mActor

Definition at line 24 of file ActorLightCtrl.hpp.

◆ _4

s32 ActorLightCtrl::_4

Definition at line 25 of file ActorLightCtrl.hpp.

◆ _8

u32 ActorLightCtrl::_8

Definition at line 26 of file ActorLightCtrl.hpp.

◆ _C

u8 ActorLightCtrl::_C

Definition at line 27 of file ActorLightCtrl.hpp.

◆ mAreaLightInf

AreaLightInfo* ActorLightCtrl::mAreaLightInf

Definition at line 28 of file ActorLightCtrl.hpp.

◆ mLightID

ZoneLightID ActorLightCtrl::mLightID

Definition at line 29 of file ActorLightCtrl.hpp.

◆ _1C

u32 ActorLightCtrl::_1C

Definition at line 30 of file ActorLightCtrl.hpp.

◆ mLightInfo

ActorLightInfo ActorLightCtrl::mLightInfo

Definition at line 31 of file ActorLightCtrl.hpp.

◆ mInterpolate

s32 ActorLightCtrl::mInterpolate

Definition at line 32 of file ActorLightCtrl.hpp.

◆ _54

s32 ActorLightCtrl::_54

Definition at line 33 of file ActorLightCtrl.hpp.