Files
tp/include/JSystem/J2DGraph/J2DManage.h
T

32 lines
602 B
C++
Raw Normal View History

2021-03-28 22:49:05 +02:00
#ifndef J2DMANAGE_H
#define J2DMANAGE_H
#include "dolphin/types.h"
2023-05-12 12:10:14 -07:00
class JSUInputStream;
2021-08-28 07:25:03 -07:00
struct J2DResReference {
2021-12-13 11:31:40 +01:00
/* 0x00 */ u16 mCount;
/* 0x02 */ u16 mOffsets[1];
2021-12-10 20:52:41 +01:00
/* 8030CF10 */ s8* getResReference(u16) const;
/* 8030CF44 */ char* getName(u16) const;
};
struct J2DataManageLink {
2021-12-13 11:31:40 +01:00
/* 0x00 */ void* mData;
/* 0x04 */ char* mName;
/* 0x08 */ J2DataManageLink* mNext;
2021-08-28 07:25:03 -07:00
};
class J2DDataManage {
2021-12-10 20:52:41 +01:00
private:
2021-12-13 11:31:40 +01:00
/* 0x00 */ J2DataManageLink* mList;
2021-12-10 20:52:41 +01:00
2021-08-28 07:25:03 -07:00
public:
2021-12-11 23:39:53 +01:00
/* 8030CE18 */ void* get(char const*);
/* 8030CE7C */ void* get(JSUInputStream*);
2021-08-28 07:25:03 -07:00
};
2021-03-28 22:49:05 +02:00
#endif /* J2DMANAGE_H */