31 #ifndef SWORD25_RESOURCEMANAGER_H 32 #define SWORD25_RESOURCEMANAGER_H 34 #include "common/list.h" 35 #include "common/hashmap.h" 36 #include "common/hash-str.h" 38 #include "sword25/kernel/common.h" 44 class ResourceService;
58 #ifdef PRECACHE_RESOURCES 65 bool precacheResource(
const Common::String &fileName,
bool forceReload =
false);
104 void moveToFront(
Resource *pResource);
134 void deleteResourcesIfNecessary();
140 ResMap _resourceHashMap;
void dumpLockedResources()
Definition: resource.h:43
Definition: resservice.h:43
Definition: resmanager.h:48
void emptyThumbnailCache()
Definition: list_intern.h:51
Resource * requestResource(const Common::String &fileName)
bool registerResourceService(ResourceService *pService)