SMG-Decomp
A decompilation of Super Mario Galaxy 1
Loading...
Searching...
No Matches
include
Game
Map
LightZoneDataHolder.hpp
1
#pragma once
2
3
#include <revolution.h>
4
5
class
LightArea
;
6
7
class
ZoneLightID
{
8
public
:
9
ZoneLightID
();
10
11
void
clear();
12
bool
isTargetArea(
const
LightArea
*)
const
;
13
bool
isOutOfArea()
const
;
14
15
s32 _0;
16
s32 mLightID;
// _4
17
};
18
19
// I am assuming they called this "AreaInfo" because the debug map
20
// tells me there was a function contained in LightZoneInfo called "getAreaInfo"
21
struct
AreaInfo
{
22
s32 mID;
// _0
23
const
char
* mAreaLightName;
// _4
24
};
25
26
class
LightZoneInfo
{
27
public
:
28
LightZoneInfo
();
29
30
void
init(s32);
31
32
const
char
* getAreaLightNameInZoneData(s32)
const
;
33
34
s32 mAreaCount;
// _0
35
AreaInfo
* mAreaInfo;
// _4
36
};
37
38
class
LightZoneDataHolder
{
39
public
:
40
LightZoneDataHolder
();
41
42
void
initZoneData();
43
const
char
* getAreaLightNameInZoneData(
const
ZoneLightID
&)
const
;
44
const
char
* getDefaultStageAreaLightName()
const
;
45
46
s32 mCount;
// _0
47
LightZoneInfo
* mZoneInfo;
// _4
48
};
LightArea
Definition
LightArea.hpp:5
LightZoneDataHolder
Definition
LightZoneDataHolder.hpp:38
LightZoneInfo
Definition
LightZoneDataHolder.hpp:26
ZoneLightID
Definition
LightZoneDataHolder.hpp:7
AreaInfo
Definition
LightZoneDataHolder.hpp:21
Generated by
1.10.0