5 #include "ICityThemesService.h"
9 #include "WebMessages.h"
10 #include "CityThemes.h"
11 #include "CityThemeData.h"
12 #include "CallbackCollection.h"
13 #include "LandmarkToRenderableRepository.h"
32 bool downloadThemeTextures,
40 bool ThemeChangeInProgress()
const {
return m_themeChangeInProgress; }
41 const CityThemeData& GetCurrentTheme()
const {
return m_currentTheme; }
46 bool HasCurrentTheme()
const {
return !m_currentTheme.Name.empty(); }
48 bool IsStreaming()
const;
50 void Update(
float deltaSeconds);
55 bool RequestTransitionToState(
const std::string& stateName,
const float transitionSpeed);
56 bool RequestTransitionToGlobeView(
const std::string& globeViewStateName,
const float transitionSpeed);
57 bool RequestTransitionToLastRequestedState(
const float transitionSpeed);
63 bool BeginTransitionToState(
const std::string& stateName,
const float transitionSpeed);
69 void RetryFailedLoads();
80 void OnWebConnectivityStateChanged();
84 bool m_themeChangeInProgress;
85 const bool m_loadThemeTextures;
86 std::string m_lastRequestedState;
88 bool m_shouldRetryFailedLoads;
89 bool m_themeTexturesLoadFailed;
90 bool m_animatedObjectsLoadFailed;
92 typedef std::vector<ICityThemeChangedObserver*> TThemeChangedObservers;
93 TThemeChangedObservers m_observers;