Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
JPAResourceManager Class Reference

#include <JPAResourceManager.h>

+ Collaboration diagram for JPAResourceManager:

Public Member Functions

 JPAResourceManager (void const *, JKRHeap *)
 
JPAResourcegetResource (u16) const
 
bool checkUserIndexDuplication (u16) const
 
const ResTIMGswapTexture (ResTIMG const *, char const *)
 
void registRes (JPAResource *)
 
void registTex (JPATexture *)
 
u32 getResUserWork (u16) const
 
void load (u16 idx, GXTexMapID texMapID)
 

Public Attributes

JKRHeapmpHeap
 
JPAResource ** mpResArr
 
JPATexture ** mpTexArr
 
u16 mResMax
 
u16 mResNum
 
u16 mTexMax
 
u16 mTexNum
 

Constructor & Destructor Documentation

◆ JPAResourceManager()

JPAResourceManager::JPAResourceManager ( void const pData,
JKRHeap pHeap 
)

Member Function Documentation

◆ checkUserIndexDuplication()

bool JPAResourceManager::checkUserIndexDuplication ( u16  usrIdx) const

◆ getResource()

JPAResource * JPAResourceManager::getResource ( u16  usrIdx) const

◆ getResUserWork()

u32 JPAResourceManager::getResUserWork ( u16  usrIdx) const

◆ load()

void JPAResourceManager::load ( u16  idx,
GXTexMapID  texMapID 
)
inline

◆ registRes()

void JPAResourceManager::registRes ( JPAResource res)

◆ registTex()

void JPAResourceManager::registTex ( JPATexture tex)

◆ swapTexture()

const ResTIMG * JPAResourceManager::swapTexture ( ResTIMG const img,
char const swapName 
)

Member Data Documentation

◆ mpHeap

JKRHeap* JPAResourceManager::mpHeap

◆ mpResArr

JPAResource** JPAResourceManager::mpResArr

◆ mpTexArr

JPATexture** JPAResourceManager::mpTexArr

◆ mResMax

u16 JPAResourceManager::mResMax

◆ mResNum

u16 JPAResourceManager::mResNum

◆ mTexMax

u16 JPAResourceManager::mTexMax

◆ mTexNum

u16 JPAResourceManager::mTexNum

The documentation for this class was generated from the following files: