28 #ifndef HPL_RESOURCEMANAGER_H 29 #define HPL_RESOURCEMANAGER_H 31 #include "hpl1/engine/system/SystemTypes.h" 32 #include "common/stablemap.h" 36 class LowLevelResources;
50 typedef cSTLMapIterator<iResourceBase *, tResourceNameMap, tResourceNameMapIt> cResourceBaseIterator;
63 cResourceBaseIterator GetResourceBaseIterator();
65 void DestroyUnused(
int alMaxToKeep);
68 virtual void DestroyAll();
72 virtual void Update(
float afTimeStep) {}
75 unsigned long mlHandleCount;
76 tResourceNameMap m_mapNameResources;
77 tResourceHandleMap m_mapHandleResources;
83 void BeginLoad(
const tString &asFile);
86 unsigned long mlTimeStart;
95 void AddResource(
iResourceBase *apResource,
bool abLog =
true);
98 unsigned long GetHandle();
101 static int mlTabCount;
106 #endif // HPL_RESOURCEMANAGER_H
Definition: ResourceBase.h:36
typename TreeT::BasicIterator iterator
Definition: stablemap.h:48
Definition: FileSearcher.h:43
Definition: low_level_resources.h:40
ListInternal::Iterator< t_T > iterator
Definition: list.h:52
Definition: low_level_system.h:95
Definition: ResourceManager.h:52
iResourceBase * FindLoadedResource(const tString &asName, tString &asFilePath)