update overlaymanager

This commit is contained in:
Yanis002
2025-07-20 14:29:48 +02:00
parent 8a2f7fd9ad
commit f90439260b
2 changed files with 18 additions and 17 deletions
+5 -4
View File
@@ -240,6 +240,7 @@ typedef u32 OverlayId;
typedef u32 OverlayIndex;
enum OverlayIndex_ {
/* -1 */ OverlayIndex_None = -1,
/* 000 */ OverlayIndex_Second,
/* 001 */ OverlayIndex_SceneInit,
/* 002 */ OverlayIndex_Collect,
@@ -382,11 +383,11 @@ enum OverlaySlot_ {
class OverlayManager {
public:
OverlayId mLoadedOverlays[OverlaySlot_COUNT];
OverlayIndex mLoadedOverlays[OverlaySlot_COUNT];
void Load(OverlaySlot index, OverlayId id);
void LoadIfNotLoaded(OverlaySlot index, OverlayId id);
void Unload(OverlaySlot index);
void Load(OverlaySlot slot, OverlayIndex index);
void LoadIfNotLoaded(OverlaySlot slot, OverlayIndex index);
void Unload(OverlaySlot slot);
void LoadOverlaySetup(s32 index);
void UnloadOverlaySetup();