mirror of
https://github.com/encounter/tp.git
synced 2026-03-30 11:40:53 -07:00
a61e3491f7
* initial freezard actor struct + setActionMode OK * daE_FZ_Draw * setReflectAngle * mBoundSoundset * daE_FZ_Execute & execute * demoDelete * daE_FZ_Delete & _delete * CreateHeap * useHeapInit * cc_set * mtx_set * action WIP * way_gake_check * executeRollMove * executeMove * draw WIP * executeDamage * checkpoint * create * checkpoint * daE_FZ_c::executeWait * checkpoint * daE_FZ_c::damage_check almost done * rm asm * rm headers * setup_profile WIP + doxygen update * fix merge issues * docs fix? * fix2 * doxygen updates * setup g_profile_E_FZ, profile setup script WIP * update github actions * update progress.md
35 lines
801 B
C++
35 lines
801 B
C++
#ifndef JUTRESOURCE_H
|
|
#define JUTRESOURCE_H
|
|
|
|
#include "dolphin/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; }
|
|
/* 802DE078 */ void* getResource(JSUInputStream*, u32, JKRArchive*);
|
|
/* 802DE120 */ void* getResource(void const*, u32, JKRArchive*);
|
|
/* 802DE1BC */ void* getResource(u32, JKRArchive*);
|
|
};
|
|
// only rough size known due to getPointer__7J2DPaneFP20JSURandomInputStreamUlP10JKRArchive
|
|
|
|
#endif /* JUTRESOURCE_H */
|