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
37 lines
981 B
C++
37 lines
981 B
C++
#ifndef JPARESOURCEMANAGER_H
|
|
#define JPARESOURCEMANAGER_H
|
|
|
|
#include "JSystem/JParticle/JPATexture.h"
|
|
|
|
class JKRHeap;
|
|
class JPAResource;
|
|
struct ResTIMG;
|
|
|
|
/**
|
|
* @ingroup jsystem-jparticle
|
|
*
|
|
*/
|
|
class JPAResourceManager {
|
|
public:
|
|
/* 80273E10 */ JPAResourceManager(void const*, JKRHeap*);
|
|
/* 80273E68 */ JPAResource* getResource(u16) const;
|
|
/* 80273EA8 */ bool checkUserIndexDuplication(u16) const;
|
|
/* 80273EEC */ const ResTIMG* swapTexture(ResTIMG const*, char const*);
|
|
/* 80273F8C */ void registRes(JPAResource*);
|
|
/* 80273FAC */ void registTex(JPATexture*);
|
|
/* 80273FCC */ u32 getResUserWork(u16) const;
|
|
|
|
void load(u16 idx, GXTexMapID texMapID) { mpTexArr[idx]->load(texMapID); }
|
|
|
|
public:
|
|
/* 0x00 */ JKRHeap* mpHeap;
|
|
/* 0x04 */ JPAResource** mpResArr;
|
|
/* 0x08 */ JPATexture** mpTexArr;
|
|
/* 0x0C */ u16 mResMax;
|
|
/* 0x0E */ u16 mResNum;
|
|
/* 0x10 */ u16 mTexMax;
|
|
/* 0x12 */ u16 mTexNum;
|
|
};
|
|
|
|
#endif /* JPARESOURCEMANAGER_H */
|