SMG-Decomp
A decompilation of Super Mario Galaxy 1
Loading...
Searching...
No Matches
LightZoneDataHolder.hpp
1#pragma once
2
3#include <revolution.h>
4
5class LightArea;
6
8public:
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"
21struct AreaInfo {
22 s32 mID; // _0
23 const char* mAreaLightName; // _4
24};
25
27public:
29
30 void init(s32);
31
32 const char* getAreaLightNameInZoneData(s32) const;
33
34 s32 mAreaCount; // _0
35 AreaInfo* mAreaInfo; // _4
36};
37
39public:
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};