SMG-Decomp
A decompilation of Super Mario Galaxy 1
Loading...
Searching...
No Matches
include
Game
LiveActor
ActorLightCtrl.hpp
1
#pragma once
2
3
#include "Game/LiveActor/LiveActor.hpp"
4
#include "Game/Map/LightZoneDataHolder.hpp"
5
#include "Game/Map/LightDataHolder.hpp"
6
7
class
ActorLightCtrl
{
8
public
:
9
ActorLightCtrl
(
const
LiveActor
*);
10
11
void
init(
int
,
bool
);
12
void
update(
bool
);
13
void
loadLight()
const
;
14
void
reset();
15
void
copy(
const
ActorLightCtrl
*);
16
bool
isSameLight(
const
ActorLightCtrl
*)
const
;
17
const
ActorLightInfo
* getActorLight()
const
;
18
void
initActorLightInfo();
19
void
tryFindNewAreaLight(
bool
);
20
void
updateLightBlend();
21
void
resetCurrentLightInfo();
22
const
ActorLightInfo
* getTargetActorLight(
const
AreaLightInfo
*)
const
;
23
24
const
LiveActor
* mActor;
// _0
25
s32 _4;
26
u32 _8;
27
u8 _C;
28
AreaLightInfo
* mAreaLightInf;
// _10
29
ZoneLightID
mLightID;
// _14
30
u32 _1C;
31
ActorLightInfo
mLightInfo;
// _20
32
s32 mInterpolate;
// _50
33
s32 _54;
34
};
ActorLightCtrl
Definition
ActorLightCtrl.hpp:7
ActorLightInfo
Definition
LightDataHolder.hpp:26
LiveActor
The basis of a drawable actor that can contain states (see: Nerve)
Definition
LiveActor.hpp:24
ZoneLightID
Definition
LightZoneDataHolder.hpp:7
AreaLightInfo
Definition
LightDataHolder.hpp:40
Generated by
1.10.0