SMG-Decomp
A decompilation of Super Mario Galaxy 1
Loading...
Searching...
No Matches
include
Game
Map
LightDataHolder.hpp
1
#pragma once
2
3
#include <revolution.h>
4
#include "JSystem/JGeometry/TVec.hpp"
5
6
class
LightInfo
{
7
public
:
8
_GXColor mColor;
// _0
9
TVec3f mPos;
// _4
10
u8 mIsFollowCamera;
// _10
11
};
12
13
class
LightInfoCoin
:
public
LightInfo
{
14
public
:
15
inline
LightInfoCoin
() {
16
17
}
18
19
u8 _14;
20
u8 _15;
21
u8 _16;
22
u8 _17;
23
f32 _18;
24
};
25
26
class
ActorLightInfo
{
27
public
:
28
inline
ActorLightInfo
() {
29
30
}
31
32
void
operator=(
const
ActorLightInfo
&);
33
34
LightInfo
mInfo0;
// _0
35
LightInfo
mInfo1;
// _14
36
u8 mAlpha2;
// _28
37
_GXColor mColor;
// _29
38
};
39
40
struct
AreaLightInfo
{
41
const
char
* mAreaLightName;
// _0
42
s32 mInterpolate;
// _4
43
bool
mFix;
// _8
44
ActorLightInfo
mPlayerLight;
// _C
45
ActorLightInfo
mStrongLight;
// _3C
46
ActorLightInfo
mWeakLight;
// _6C
47
ActorLightInfo
mPlanetLight;
// _9C
48
};
49
50
namespace
{
51
static
const
char
* sDefaultAreaLightName =
"デフォルト"
;
52
};
53
54
class
LightDataHolder
{
55
public
:
56
LightDataHolder
();
57
58
void
initLightData();
59
60
AreaLightInfo
* findAreaLight(
const
char
*)
const
;
61
const
char
* getDefaultAreaLightName()
const
;
62
s32 getDefaultStepInterpolate()
const
;
63
64
s32 mLightCount;
// _0
65
AreaLightInfo
* mLights;
// _4
66
LightInfoCoin
_8;
67
};
ActorLightInfo
Definition
LightDataHolder.hpp:26
LightDataHolder
Definition
LightDataHolder.hpp:54
LightInfoCoin
Definition
LightDataHolder.hpp:13
LightInfo
Definition
LightDataHolder.hpp:6
AreaLightInfo
Definition
LightDataHolder.hpp:40
Generated by
1.10.0