4 #include "EegeoWorld.h"
5 #include "CommandRegistry.h"
6 #include "CommandTerminal.h"
9 #include "HelpCommand.h"
10 #include "ListCommandsCommand.h"
11 #include "EchoCommand.h"
12 #include "ExecCommand.h"
14 #include "FpsStatsCommand.h"
15 #include "ResetStatsCommand.h"
16 #include "MemStatsCommand.h"
17 #include "NetStatsCommand.h"
18 #include "RenderStatsCommand.h"
20 #include "StreamToggleCommand.h"
21 #include "StreamListCommand.h"
22 #include "StreamStatsCommand.h"
24 #include "CameraLocationCommand.h"
25 #include "CameraTiltToggleCommand.h"
26 #include "CameraJumpCommand.h"
27 #include "CameraJumpIndoorsCommand.h"
29 #include "RoadNamesOpacityCommand.h"
31 #include "TransportPresentationModule.h"
32 #include "PlaceNamesPresentationModule.h"
33 #include "LabelsModule.h"
35 #include "SetCongestionCommand.h"
37 #include "PrecacheCancelCommand.h"
38 #include "PrecacheStatusCommand.h"
39 #include "PrecacheViewCommand.h"
41 #include "DrawDebugLineCommand.h"
42 #include "DrawDebugTextCommand.h"
43 #include "DrawDebugScreenTextCommand.h"
44 #include "DrawDebugSphereCommand.h"
46 #include "NewRouteCommand.h"
47 #include "RouteFittingCommand.h"
49 #include "StreamingModule.h"
50 #include "DebugRenderingModule.h"
52 #include "ProfileShowCommand.h"
53 #include "ProfileEnableCommand.h"
54 #include "PlaceNamesEnableCommand.h"
55 #include "PerformanceTestBeginCommand.h"
56 #include "PerformanceTestRunner.h"
57 #include "PerformanceTestRegisterSplineCommand.h"
59 #include "SetShadowColorCommand.h"
60 #include "SetLightColorCommand.h"
61 #include "DumpLightingCommand.h"
62 #include "SysInfoCommand.h"
64 #include "ChangeThemeStateCommand.h"
65 #include "CityThemesModule.h"
66 #include "WebCacheClearCommand.h"
67 #include "SetWebProxyCommand.h"
69 #include "ChangeCoverageTreeManifestCommand.h"
70 #include "ChangeThemeManifestCommand.h"
72 #include "LabelLayerEnableCommand.h"
74 #include "GlowmapsEnableCommand.h"
75 #include "MapModule.h"
76 #include "MapCameraModule.h"
99 , m_globeCameraController(globeCameraController)
100 , m_cameraJumpController(cameraJumpController)
101 , m_routeCreator(routeCreator)
102 , m_frustumVolumeProvider(frustumVolumeProvider)
103 , m_debugStats(debugStats)
104 , m_performanceTestRunner(perfTestRunner)
105 , m_registry(commandRegistry)
106 , m_commandBuffer(commandBuffer)
109 AddDefaultCommands();
114 for (std::vector<Commands::Command*>::iterator it = m_defaultCommands.begin();
115 it != m_defaultCommands.end();
121 m_defaultCommands.clear();
125 void AddDefaultCommands()
139 auto& mapCameraModule = m_world.GetMapModule().GetMapCameraModule();
159 m_frustumVolumeProvider));
202 m_registry.RegisterCommand(command);
203 m_defaultCommands.push_back(command);
216 std::vector<Commands::Command*> m_defaultCommands;