Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
JPAResourceManager.h
Go to the documentation of this file.
1#ifndef JPARESOURCEMANAGER_H
2#define JPARESOURCEMANAGER_H
3
5
6class JKRHeap;
7class JPAResource;
8struct ResTIMG;
9
15public:
16 /* 80273E10 */ JPAResourceManager(void const*, JKRHeap*);
17 /* 80273E68 */ JPAResource* getResource(u16) const;
18 /* 80273EA8 */ bool checkUserIndexDuplication(u16) const;
19 /* 80273EEC */ const ResTIMG* swapTexture(ResTIMG const*, char const*);
20 /* 80273F8C */ void registRes(JPAResource*);
21 /* 80273FAC */ void registTex(JPATexture*);
22 /* 80273FCC */ u32 getResUserWork(u16) const;
23
25
26public:
27 /* 0x00 */ JKRHeap* mpHeap;
28 /* 0x04 */ JPAResource** mpResArr;
29 /* 0x08 */ JPATexture** mpTexArr;
30 /* 0x0C */ u16 mResMax;
31 /* 0x0E */ u16 mResNum;
32 /* 0x10 */ u16 mTexMax;
33 /* 0x12 */ u16 mTexNum;
34};
35
36#endif /* JPARESOURCEMANAGER_H */
enum _GXTexMapID GXTexMapID
T cLib_calcTimer(T *value)
Definition c_lib.h:74
Definition JKRHeap.h:16
Definition JPAResourceManager.h:14
JPATexture ** mpTexArr
Definition JPAResourceManager.h:29
u32 getResUserWork(u16) const
Definition JPAResourceManager.cpp:76
u16 mTexNum
Definition JPAResourceManager.h:33
u16 mResNum
Definition JPAResourceManager.h:31
u16 mResMax
Definition JPAResourceManager.h:30
void load(u16 idx, GXTexMapID texMapID)
Definition JPAResourceManager.h:24
u16 mTexMax
Definition JPAResourceManager.h:32
const ResTIMG * swapTexture(ResTIMG const *, char const *)
Definition JPAResourceManager.cpp:46
bool checkUserIndexDuplication(u16) const
Definition JPAResourceManager.cpp:37
void registRes(JPAResource *)
Definition JPAResourceManager.cpp:63
JPAResource * getResource(u16) const
Definition JPAResourceManager.cpp:28
JPAResource ** mpResArr
Definition JPAResourceManager.h:28
JKRHeap * mpHeap
Definition JPAResourceManager.h:27
void registTex(JPATexture *)
Definition JPAResourceManager.cpp:70
Definition JPAResource.h:23
Definition JPATexture.h:21
void load(GXTexMapID texMapID)
Definition JPATexture.h:26
Image data header.
Definition d_menu_dmap_map.cpp:109
unsigned long u32
Definition types.h:10
unsigned short u16
Definition types.h:9