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
4
#include "
JSystem/JParticle/JPATexture.h
"
5
6
class
JKRHeap
;
7
class
JPAResource
;
8
struct
ResTIMG
;
9
14
class
JPAResourceManager
{
15
public
:
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
24
void
load
(
u16
idx,
GXTexMapID
texMapID
) {
mpTexArr
[idx]->
load
(
texMapID
); }
25
26
public
:
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 */
GXTexMapID
enum _GXTexMapID GXTexMapID
JPATexture.h
cLib_calcTimer
T cLib_calcTimer(T *value)
Definition
c_lib.h:74
JKRHeap
Definition
JKRHeap.h:16
JPAResourceManager
Definition
JPAResourceManager.h:14
JPAResourceManager::mpTexArr
JPATexture ** mpTexArr
Definition
JPAResourceManager.h:29
JPAResourceManager::getResUserWork
u32 getResUserWork(u16) const
Definition
JPAResourceManager.cpp:76
JPAResourceManager::mTexNum
u16 mTexNum
Definition
JPAResourceManager.h:33
JPAResourceManager::mResNum
u16 mResNum
Definition
JPAResourceManager.h:31
JPAResourceManager::mResMax
u16 mResMax
Definition
JPAResourceManager.h:30
JPAResourceManager::load
void load(u16 idx, GXTexMapID texMapID)
Definition
JPAResourceManager.h:24
JPAResourceManager::mTexMax
u16 mTexMax
Definition
JPAResourceManager.h:32
JPAResourceManager::swapTexture
const ResTIMG * swapTexture(ResTIMG const *, char const *)
Definition
JPAResourceManager.cpp:46
JPAResourceManager::checkUserIndexDuplication
bool checkUserIndexDuplication(u16) const
Definition
JPAResourceManager.cpp:37
JPAResourceManager::registRes
void registRes(JPAResource *)
Definition
JPAResourceManager.cpp:63
JPAResourceManager::getResource
JPAResource * getResource(u16) const
Definition
JPAResourceManager.cpp:28
JPAResourceManager::mpResArr
JPAResource ** mpResArr
Definition
JPAResourceManager.h:28
JPAResourceManager::mpHeap
JKRHeap * mpHeap
Definition
JPAResourceManager.h:27
JPAResourceManager::registTex
void registTex(JPATexture *)
Definition
JPAResourceManager.cpp:70
JPAResource
Definition
JPAResource.h:23
JPATexture
Definition
JPATexture.h:21
JPATexture::load
void load(GXTexMapID texMapID)
Definition
JPATexture.h:26
ResTIMG
Image data header.
Definition
d_menu_dmap_map.cpp:109
u32
unsigned long u32
Definition
types.h:10
u16
unsigned short u16
Definition
types.h:9
include
JSystem
JParticle
JPAResourceManager.h
Generated by
1.9.8