mirror of
https://github.com/zeldaret/tp
synced 2026-05-23 06:54:28 -04:00
a6e76c0841
* some wii OS fixes * remove old dol2asm comments * remove dol2asm.h * remove function address comments * normalize ATTRIBUTE_ALIGN usage * DECL_WEAK macro * fix gcc attribute weak macro * wrap more mwcc specific things in ifdefs * fixes * fix revo sdk version flags * fixes
44 lines
650 B
C++
44 lines
650 B
C++
#ifndef J2DMANAGE_H
|
|
#define J2DMANAGE_H
|
|
|
|
#include "dolphin/types.h"
|
|
|
|
class JSUInputStream;
|
|
|
|
/**
|
|
* @ingroup jsystem-j2d
|
|
*
|
|
*/
|
|
struct J2DResReference {
|
|
/* 0x00 */ u16 mCount;
|
|
/* 0x02 */ u16 mOffsets[1];
|
|
|
|
s8* getResReference(u16) const;
|
|
char* getName(u16) const;
|
|
};
|
|
|
|
/**
|
|
* @ingroup jsystem-j2d
|
|
*
|
|
*/
|
|
struct J2DataManageLink {
|
|
/* 0x00 */ void* mData;
|
|
/* 0x04 */ char* mName;
|
|
/* 0x08 */ J2DataManageLink* mNext;
|
|
};
|
|
|
|
/**
|
|
* @ingroup jsystem-j2d
|
|
*
|
|
*/
|
|
class J2DDataManage {
|
|
private:
|
|
/* 0x00 */ J2DataManageLink* mList;
|
|
|
|
public:
|
|
void* get(char const*);
|
|
void* get(JSUInputStream*);
|
|
};
|
|
|
|
#endif /* J2DMANAGE_H */
|