28 #ifndef HPL_RESOURCES_H 29 #define HPL_RESOURCES_H 31 #include "hpl1/engine/system/SystemTypes.h" 32 #include "common/stablemap.h" 34 #include "hpl1/engine/graphics/GPUProgram.h" 36 #include "hpl1/engine/game/Updateable.h" 44 class LowLevelResources;
45 class iLowLevelGraphics;
48 class iResourceManager;
51 class cGpuProgramManager;
52 class cTileSetManager;
53 class cImageEntityManager;
54 class cParticleManager;
58 class cTextureManager;
59 class cMaterialManager;
60 class cSoundEntityManager;
61 class cAnimationManager;
67 class cMeshLoaderHandler;
83 const tString &GetName() {
return msName; }
101 const tString &GetName() {
return msName; }
103 virtual void Load(
cArea2D *apArea) = 0;
119 const tString &GetName() {
return msName; }
122 cWorld3D *apWorld,
const tString &asFileName,
bool abLoadReferences) = 0;
138 const tString &GetName() {
return msName; }
167 void Update(
float afTimeStep);
172 bool AddResourceDir(
const tString &asDir,
const tString &asMask =
"*.*");
173 void ClearResourceDirs();
175 bool SetLanguageFile(
const tString &asFile);
181 void AddEntity3DLoader(
iEntity3DLoader *apLoader,
bool abSetAsDefault =
false);
184 void AddArea3DLoader(
iArea3DLoader *apLoader,
bool abSetAsDefault =
false);
190 bool LoadResourceDirsFile(
const tString &asFile);
198 cFontManager *GetFontManager() {
return mpFontManager; }
202 cMeshManager *GetMeshManager() {
return mpMeshManager; }
216 tResourceManagerList mlstManagers;
236 tEntity2DLoaderMap m_mMapEntity2DLoaders;
237 tArea2DLoaderMap m_mMapArea2DLoaders;
239 tEntity3DLoaderMap m_mEntity3DLoaders;
242 tArea3DLoaderMap m_mArea3DLoaders;
250 #endif // HPL_RESOURCES_H
Definition: Resources.h:96
Definition: ScriptManager.h:39
Definition: GpuProgramManager.h:39
Definition: MaterialManager.h:41
Definition: FontManager.h:40
Definition: SoundEntityManager.h:39
Definition: TileSetManager.h:39
typename TreeT::BasicIterator iterator
Definition: stablemap.h:48
Definition: ImageEntityManager.h:40
Definition: MeshLoaderHandler.h:50
Definition: ParticleManager.h:50
Definition: FileSearcher.h:43
Definition: low_level_resources.h:40
Definition: LanguageFile.h:64
Definition: AnimationManager.h:39
Definition: Resources.h:114
Definition: World3D.h:179
Definition: VideoManager.h:52
Definition: Resources.h:78
Definition: TextureManager.h:47
Definition: Updateable.h:35
Definition: SoundManager.h:39
Definition: low_level_system.h:95
Definition: Resources.h:160
Definition: ImageManager.h:48
Definition: Entity3D.h:81
Definition: tinyxml.h:864
Definition: list_intern.h:51
Definition: Resources.h:133
Definition: MeshManager.h:39
Definition: Graphics.h:46
Definition: LowLevelGraphics.h:200
Definition: ImageEntity.h:44