10 #include "Rendering.h"
11 #include "AnimatedObjects.h"
13 #include "VectorMath.h"
14 #include "HttpAsyncTextureLoader.h"
16 #include "CityThemes.h"
18 #include "ModelInfoRef.h"
19 #include "PendingWebRequestsContainer.h"
39 bool IsLoading()
const {
return m_modelsStillToDownload > 0; }
40 bool LoadsFailed()
const {
return m_modelLoadingFailed; }
41 void CleanupRedundantLoads();
53 int m_modelsStillToDownload;
54 bool m_modelLoadingFailed;
56 std::map<std::string, ModelInfoRef> m_loadedModels;
57 std::vector<ICityThemeAnimatedObjectsObserver*> m_observers;
59 std::set<ModelInfoRef*> m_pendingRequestInfoRefs;
63 void LoadModelFromBuffer(
const std::string& url,
const std::vector<Byte>& buffer,
ModelInfoRef modelInfoRef);
64 std::string CreateTextureUrl(
const std::string modelUrl,
const std::string textureNameWithoutExtension)
const;
65 Eegeo::Rendering::AsyncTexturing::TIAsyncTextures LoadTexturesFromPODFile(
const std::string& modelUrl,
const IO::POD::PODFile& podFile);