mirror of
https://github.com/zeldaret/tp
synced 2026-05-23 06:54:28 -04:00
5867eaf68b
* typedef for cPhs_Step * make sdk includes consistent * d_menu_quit / d_msg_scrn_explain debug * d_a_obj_testcube mostly done * d_debug_pad mostly done * jstudio tool library headers * some JStudioCameraEditor headers * d_jcam_editor mostly done * try fixing some shield regressions * d_bg_parts mostly done * fix merge errors * debug fix
44 lines
652 B
C++
44 lines
652 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];
|
|
|
|
char* 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 */
|