Files
Petari/include/Game/Map/LightZoneDataHolder.hpp
NextOp-Next 7a82158b17 (Cleanup) Fix wrongly formatted offset comments. (#2147)
* (Cleanup) offset comments for DinoPackun

* (Cleanup) offset comments for SkeletalFishBoss

* (Cleanup) offset comments for CameraTranslators

* (Cleanup) offset comments for Demos

* (Cleanup) offset comments for Enemies

* (Cleanup) offset comments for Gravities

* (Cleanup) offset comments for LiveActors

* (Cleanup) offset comments for Maps

* (Cleanup) offset comments for MapObjs

* (Cleanup) offset comments for NameObjs

* (Cleanup) offset comments for NPCs

* (Cleanup) offset comments for Player

* (Cleanup) offset comments for Scenes

* (Cleanup) offset comments for System

* (Cleanup) offset comments for Utils

* (Cleanup) offset comments for JSystem

* (Cleanup) offset comments for MetroTRK

* forgot the union comments

* (Cleanup) offset comments for MSL_C

* (Cleanup) offset comments for nw4r

* (Cleanup) offset comments for the SDK

* (Cleanup) offset comments for all that was left
2026-10-10 14:47:49 -07:00

48 lines
970 B
C++

#pragma once
#include <revolution.h>
class LightArea;
class ZoneLightID {
public:
ZoneLightID();
void clear();
bool isTargetArea(const LightArea*) const;
bool isOutOfArea() const;
/* 0x0 */ s32 _0;
/* 0x4 */ s32 mLightID;
};
// I am assuming they called this "AreaInfo" because the debug map
// tells me there was a function contained in LightZoneInfo called "getAreaInfo"
struct AreaInfo {
/* 0x0 */ s32 mID;
/* 0x4 */ const char* mAreaLightName;
};
class LightZoneInfo {
public:
LightZoneInfo();
void init(s32);
const char* getAreaLightNameInZoneData(s32) const;
/* 0x0 */ s32 mAreaCount;
/* 0x4 */ AreaInfo* mAreaInfo;
};
class LightZoneDataHolder {
public:
LightZoneDataHolder();
void initZoneData();
const char* getAreaLightNameInZoneData(const ZoneLightID&) const;
const char* getDefaultStageAreaLightName() const;
/* 0x0 */ s32 mCount;
/* 0x4 */ LightZoneInfo* mZoneInfo;
};