|
| ResourceManager (ScummEngine *vm) |
|
void | setHeapThreshold (int min, int max) |
|
uint32 | getHeapSize () |
|
void | allocResTypeData (ResType type, uint32 tag, int num, ResTypeMode mode) |
|
void | freeResources () |
|
byte * | createResource (ResType type, ResId idx, uint32 size) |
|
void | nukeResource (ResType type, ResId idx) |
|
bool | isResourceLoaded (ResType type, ResId idx) const |
|
void | lock (ResType type, ResId idx) |
|
void | unlock (ResType type, ResId idx) |
|
bool | isLocked (ResType type, ResId idx) const |
|
void | setModified (ResType type, ResId idx) |
|
bool | isModified (ResType type, ResId idx) const |
|
void | setOffHeap (ResType type, ResId idx) |
|
bool | isOffHeap (ResType type, ResId idx) const |
|
void | setOnHeap (ResType type, ResId idx) |
|
void | increaseExpireCounter () |
|
void | setResourceCounter (ResType type, ResId idx, byte counter) |
|
void | increaseResourceCounters () |
|
void | resourceStats () |
|
bool | validateResource (const char *str, ResType type, ResId idx) const |
|
The 'resource manager' class. Currently doesn't really deserve to be called a 'class', at least until somebody gets around to OOfying this more.