53 void Update(
float deltaTime);
54 void Ui(
float deltaTime);
55 void Render(
float deltaTime);
59 auto ui = std::make_unique<T>(
GetApp());
66 auto ui = std::make_unique<T>(
GetApp());
92 std::unique_ptr<cqsp::common::systems::simulation::Simulation>
simulation;
99 std::vector<std::unique_ptr<cqsp::client::systems::SysUserInterface>>
user_interfaces;
101 std::vector<std::unique_ptr<client::systems::SysRmlUiInterface>>
documents;
Definition: starsystemview.h:49
Definition: universe.h:32
Definition: application.h:47
Definition: renderable.h:28
Application & GetApp()
Definition: scene.h:34
Definition: universescene.h:37
cqsp::engine::Renderable sky
Definition: universescene.h:78
float x
Definition: universescene.h:82
bool to_show_planet_window
Definition: universescene.h:94
bool interp
Definition: universescene.h:108
double previous_mouseY
Definition: universescene.h:85
std::vector< std::unique_ptr< cqsp::client::systems::SysUserInterface > > user_interfaces
Definition: universescene.h:99
void Ui(float deltaTime)
Definition: universescene.cpp:158
entt::entity selected_planet
Definition: universescene.h:88
void AddRmlUiSystem()
Definition: universescene.h:65
cqsp::engine::Renderable planetDisp
Definition: universescene.h:79
double last_tick
Definition: universescene.h:103
void AddUISystem()
Definition: universescene.h:58
void Update(float deltaTime)
Definition: universescene.cpp:101
cqsp::client::systems::SysStarSystemRenderer * system_renderer
Definition: universescene.h:90
std::vector< std::unique_ptr< client::systems::SysRmlUiInterface > > documents
Definition: universescene.h:101
cqsp::engine::Renderable sun
Definition: universescene.h:80
float y
Definition: universescene.h:82
void Init()
Definition: universescene.cpp:62
void Render(float deltaTime)
Definition: universescene.cpp:164
double previous_mouseX
Definition: universescene.h:84
std::unique_ptr< cqsp::common::systems::simulation::Simulation > simulation
Definition: universescene.h:92
~UniverseScene()
Definition: universescene.h:40
std::array< int, 7 > tick_speeds
Definition: universescene.h:105
void DoScreenshot()
Does the screenshot interface.
Definition: universescene.cpp:170
UniverseScene(cqsp::engine::Application &app)
Definition: universescene.cpp:60
cqsp::engine::Renderable sphere
Definition: universescene.h:77
void ToggleTick()
Definition: universescene.cpp:178
entt::entity player
Definition: universescene.h:87
bool view_mode
Definition: universescene.h:97
entt::entity GetCurrentViewingPlanet(cqsp::common::Universe &)
Definition: universescene.cpp:183
void SeePlanet(cqsp::common::Universe &universe, entt::entity ent)
Definition: universescene.cpp:187
void SetGameHalted(bool b)
Definition: universescene.cpp:192
bool IsGameHalted()
Definition: universescene.cpp:194
When adding assets, it is extremely crucial that you read cqsp::asset::AssetLoader::LoadResources to ...
Definition: clientctx.h:21
common::Universe * universe
Definition: turnsavewindow.h:3