#include <starsystemcontroller.h>
◆ StarSystemController()
◆ CalculateCenteredObject() [1/2]
| glm::vec3 cqsp::client::systems::StarSystemController::CalculateCenteredObject |
( |
const entt::entity & |
ent | ) |
|
◆ CalculateCenteredObject() [2/2]
| glm::vec3 cqsp::client::systems::StarSystemController::CalculateCenteredObject |
( |
const glm::vec3 & |
vec | ) |
|
◆ CalculateCityPositions()
| void cqsp::client::systems::StarSystemController::CalculateCityPositions |
( |
| ) |
|
|
private |
◆ CalculateMouseRay()
| glm::vec3 cqsp::client::systems::StarSystemController::CalculateMouseRay |
( |
const glm::vec3 & |
ray_nds | ) |
|
|
private |
◆ CalculateObjectPos()
| glm::vec3 cqsp::client::systems::StarSystemController::CalculateObjectPos |
( |
const entt::entity & |
ent | ) |
|
◆ CalculateScroll()
| void cqsp::client::systems::StarSystemController::CalculateScroll |
( |
| ) |
|
|
private |
◆ CalculateViewChange()
| void cqsp::client::systems::StarSystemController::CalculateViewChange |
( |
double |
deltaX, |
|
|
double |
deltaY |
|
) |
| |
|
private |
◆ CenterCameraOnCity()
| void cqsp::client::systems::StarSystemController::CenterCameraOnCity |
( |
| ) |
|
|
private |
◆ CheckIntersection()
| std::optional< glm::vec3 > cqsp::client::systems::StarSystemController::CheckIntersection |
( |
const glm::vec3 & |
object_pos, |
|
|
const glm::vec3 & |
ray_wor, |
|
|
float |
radius |
|
) |
| |
|
private |
◆ CityDetection()
| void cqsp::client::systems::StarSystemController::CityDetection |
( |
| ) |
|
|
private |
◆ FocusCityView()
| void cqsp::client::systems::StarSystemController::FocusCityView |
( |
| ) |
|
|
private |
◆ FocusOnEntity()
| void cqsp::client::systems::StarSystemController::FocusOnEntity |
( |
entt::entity |
ent | ) |
|
|
private |
◆ FocusPlanetView()
| void cqsp::client::systems::StarSystemController::FocusPlanetView |
( |
| ) |
|
|
private |
◆ FoundCity()
| void cqsp::client::systems::StarSystemController::FoundCity |
( |
| ) |
|
|
private |
◆ GetBodyRotation()
| glm::quat cqsp::client::systems::StarSystemController::GetBodyRotation |
( |
double |
axial, |
|
|
double |
rotation, |
|
|
double |
day_offset |
|
) |
| |
Gets the quaternion to calculate the planet's rotation from the axial rotation and the rotation period
- Parameters
-
| axial | Axial rotation in radians |
| rotation | Rotation period in seconds |
◆ GetMouseInScreenSpace()
| glm::vec3 cqsp::client::systems::StarSystemController::GetMouseInScreenSpace |
( |
int |
mouse_x, |
|
|
int |
mouse_y |
|
) |
| |
|
private |
◆ GetMouseIntersectionOnObject()
| glm::vec3 cqsp::client::systems::StarSystemController::GetMouseIntersectionOnObject |
( |
int |
mouse_x, |
|
|
int |
mouse_y |
|
) |
| |
|
private |
◆ GetMouseOnObject()
| entt::entity cqsp::client::systems::StarSystemController::GetMouseOnObject |
( |
int |
mouse_x, |
|
|
int |
mouse_y |
|
) |
| |
|
private |
◆ GetMouseOnObjectPosition()
| glm::vec3 cqsp::client::systems::StarSystemController::GetMouseOnObjectPosition |
( |
| ) |
|
|
inline |
◆ GetMouseSurfaceIntersection()
| SurfaceCoordinate cqsp::client::systems::StarSystemController::GetMouseSurfaceIntersection |
( |
| ) |
|
|
private |
◆ GetScrollValue()
| float cqsp::client::systems::StarSystemController::GetScrollValue |
( |
| ) |
|
|
private |
◆ IsFoundingCity()
| bool cqsp::client::systems::StarSystemController::IsFoundingCity |
( |
| ) |
|
|
private |
◆ MoveCamera()
| void cqsp::client::systems::StarSystemController::MoveCamera |
( |
double |
delta_time | ) |
|
|
private |
◆ PreRender()
| void cqsp::client::systems::StarSystemController::PreRender |
( |
| ) |
|
◆ SeeEntity()
| void cqsp::client::systems::StarSystemController::SeeEntity |
( |
| ) |
|
|
private |
◆ SeePlanet()
| void cqsp::client::systems::StarSystemController::SeePlanet |
( |
entt::entity |
ent | ) |
|
|
private |
◆ SelectCountry()
| void cqsp::client::systems::StarSystemController::SelectCountry |
( |
| ) |
|
|
private |
◆ SelectedProvinceColor()
| const glm::vec3 & cqsp::client::systems::StarSystemController::SelectedProvinceColor |
( |
| ) |
|
◆ ShouldDrawCityPrototype()
| bool cqsp::client::systems::StarSystemController::ShouldDrawCityPrototype |
( |
| ) |
|
◆ Update()
| void cqsp::client::systems::StarSystemController::Update |
( |
float |
delta_time | ) |
|
◆ app
◆ camera
◆ CAMERA_MOVEMENT_SPEED
| const float cqsp::client::systems::StarSystemController::CAMERA_MOVEMENT_SPEED = 30.f / 40.f |
|
private |
◆ hovering_province
| entt::entity cqsp::client::systems::StarSystemController::hovering_province |
|
private |
◆ hovering_province_color
| glm::vec3 cqsp::client::systems::StarSystemController::hovering_province_color |
|
private |
◆ is_founding_city
| bool cqsp::client::systems::StarSystemController::is_founding_city |
|
private |
◆ is_rendering_founding_city
| bool cqsp::client::systems::StarSystemController::is_rendering_founding_city |
|
private |
◆ m_viewing_entity
| entt::entity cqsp::client::systems::StarSystemController::m_viewing_entity = entt::null |
◆ mouse_on_object
| glm::vec3 cqsp::client::systems::StarSystemController::mouse_on_object |
|
private |
◆ on_planet
| entt::entity cqsp::client::systems::StarSystemController::on_planet = entt::null |
|
private |
◆ PAN_SPEED
| const float cqsp::client::systems::StarSystemController::PAN_SPEED = 4.0f |
|
private |
◆ previous_mouseX
| double cqsp::client::systems::StarSystemController::previous_mouseX |
|
private |
◆ previous_mouseY
| double cqsp::client::systems::StarSystemController::previous_mouseY |
|
private |
◆ SCROLL_SENSITIVITY
| const float cqsp::client::systems::StarSystemController::SCROLL_SENSITIVITY = 3.f / 33.f |
|
private |
◆ selected_city
| entt::entity cqsp::client::systems::StarSystemController::selected_city = entt::null |
|
private |
◆ selected_province
| entt::entity cqsp::client::systems::StarSystemController::selected_province |
|
private |
◆ selected_province_color
| glm::vec3 cqsp::client::systems::StarSystemController::selected_province_color |
|
private |
◆ StarSystemViewUI
| friend cqsp::client::systems::StarSystemController::StarSystemViewUI |
|
private |
◆ terrain_displaying
| entt::entity cqsp::client::systems::StarSystemController::terrain_displaying = entt::null |
|
private |
◆ tex_b
| int cqsp::client::systems::StarSystemController::tex_b |
|
private |
◆ tex_g
| int cqsp::client::systems::StarSystemController::tex_g |
|
private |
◆ tex_r
| int cqsp::client::systems::StarSystemController::tex_r |
|
private |
◆ tex_x
| int cqsp::client::systems::StarSystemController::tex_x |
|
private |
◆ tex_y
| int cqsp::client::systems::StarSystemController::tex_y |
|
private |
◆ universe
The documentation for this class was generated from the following files: