mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-05-29 16:14:54 -04:00
4df8ccc871
* Reorganize files into libs/{dolphin,JSystem,PowerPC_EABI_Support,revolution,TRK_MINNOW_DOLPHIN}
* Update configure.py and project.py for new libs structure
* Refactor `#include <dolphin/x.h>` -> `<x.h>`
* Remove `__REVOLUTION_SDK__` forwards from dolphin
* Fix dolphin/ references in revolution
* Wrap `#include <dolphin.h>` in `!__REVOLUTION_SDK__`
* Always build TRK against dolphin headers
* Resolve revolution SDK header resolution issues
35 lines
748 B
C++
35 lines
748 B
C++
#ifndef JUTRESOURCE_H
|
|
#define JUTRESOURCE_H
|
|
|
|
#include <types.h>
|
|
|
|
class JKRArchive;
|
|
class JSUInputStream;
|
|
|
|
/**
|
|
* @ingroup jsystem-jutility
|
|
*
|
|
*/
|
|
class JUTResReference {
|
|
private:
|
|
/* 0x001 */ u8 mType;
|
|
/* 0x002 */ u8 mNameLength;
|
|
/* 0x003 */ char mName[0x100];
|
|
|
|
public:
|
|
enum ResType {
|
|
RESTYPE_Null = 0,
|
|
RESTYPE_Unk1 = 1,
|
|
RESTYPE_Unk2 = 2,
|
|
RESTYPE_Unk3 = 3,
|
|
RESTYPE_Unk4 = 4,
|
|
};
|
|
JUTResReference() { mType = 0; }
|
|
void* getResource(JSUInputStream*, u32, JKRArchive*);
|
|
void* getResource(void const*, u32, JKRArchive*);
|
|
void* getResource(u32, JKRArchive*);
|
|
};
|
|
// only rough size known due to getPointer__7J2DPaneFP20JSURandomInputStreamUlP10JKRArchive
|
|
|
|
#endif /* JUTRESOURCE_H */
|