mirror of
https://github.com/zeldaret/ss
synced 2026-06-04 10:48:38 -04:00
Fix a bunch of splits and implement LayoutArc/ObjectArcControl
This commit is contained in:
@@ -5,6 +5,20 @@
|
||||
#include "d/d_rawarchive.h"
|
||||
#include "egg/core/eggHeap.h"
|
||||
|
||||
class LayoutArcControl {
|
||||
public:
|
||||
LayoutArcControl() : mLayoutArcs(nullptr), mNumArcs(0) {}
|
||||
virtual ~LayoutArcControl();
|
||||
void set(const char *const *layoutArcs, s32 numArcs);
|
||||
bool load(EGG::Heap *heap) const;
|
||||
bool allLoaded() const;
|
||||
bool release();
|
||||
|
||||
private:
|
||||
const char *const *mLayoutArcs;
|
||||
s32 mNumArcs;
|
||||
};
|
||||
|
||||
class LayoutArcManager {
|
||||
public:
|
||||
LayoutArcManager();
|
||||
@@ -35,17 +49,4 @@ private:
|
||||
dRawArcTable_c mArcTable;
|
||||
};
|
||||
|
||||
class LayoutArcControl {
|
||||
public:
|
||||
LayoutArcControl() : mLayoutArcs(nullptr), mNumArcs(0) {}
|
||||
virtual ~LayoutArcControl();
|
||||
void set(const char *const *layoutArcs, s32 numArcs);
|
||||
void load(EGG::Heap *heap);
|
||||
void release();
|
||||
|
||||
private:
|
||||
const char **mLayoutArcs;
|
||||
s32 mNumArcs;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
@@ -4,6 +4,19 @@
|
||||
#include "d/d_rawarchive.h"
|
||||
#include "egg/core/eggHeap.h"
|
||||
|
||||
class ObjectArcControl {
|
||||
public:
|
||||
ObjectArcControl() : mObjectArcs(nullptr), mNumArcs(0) {}
|
||||
virtual ~ObjectArcControl();
|
||||
void set(const char *const *objectArcs, s32 numArcs);
|
||||
bool load(EGG::Heap *heap) const;
|
||||
bool release();
|
||||
|
||||
private:
|
||||
const char *const *mObjectArcs;
|
||||
s32 mNumArcs;
|
||||
};
|
||||
|
||||
class OarcManager {
|
||||
public:
|
||||
OarcManager();
|
||||
@@ -41,17 +54,4 @@ private:
|
||||
dRawArcTable_c mArcTable;
|
||||
};
|
||||
|
||||
class ObjectArcControl {
|
||||
public:
|
||||
ObjectArcControl() : mObjectArcs(nullptr), mNumArcs(0) {}
|
||||
virtual ~ObjectArcControl();
|
||||
void set(const char *const *objectArcs, s32 numArcs);
|
||||
void load(EGG::Heap *heap);
|
||||
void release();
|
||||
|
||||
private:
|
||||
const char **mObjectArcs;
|
||||
s32 mNumArcs;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user