Conquer Space 0.0.0
A space themed grand strategy game set in the near future, with realistic orbital mechanics, and an emphasis on economics and politics.
Classes | Typedefs | Enumerations | Functions | Variables
cqsp::client::ctx Namespace Reference

Classes

struct  CameraState
 
struct  GameLoad
 
struct  HoveredProvince
 
struct  HoveringItem
 
struct  MapModeCtx
 
struct  overloaded
 
struct  PauseOptions
 
struct  SelectedCountry
 
struct  SelectedProvince
 
struct  StarSystemViewDebug
 
struct  ViewProvince
 
struct  VisibleOrbit
 

Typedefs

typedef std::variant< std::monostate, entt::entity, std::string > SelectedItem
 

Enumerations

enum  UiDisplayMode { CountrySelect , Gameplay }
 
enum class  MapMode {
  NoMapMode , LocalSelectedMapMode , ProvinceMapMode , CountryMapMode ,
  InvalidMapMode , ResourceMapMode , ScienceMapMode , GoodPriceMapMode
}
 
enum class  SelectedMenu {
  NoMenu , SpaceMenu , EconomyMenu , ProjectsMenu ,
  ExplorationMenu , BuildingMenu , BudgetMenu
}
 

Functions

void ZoomOntoProvince (core::Universe &universe, entt::entity province)
 
template<class... Ts>
 overloaded (Ts...) -> overloaded< Ts... >
 

Variables

static const std::array tick_speeds {1000, 500, 333, 100, 50, 10, 1, -1, -2, -5, -10}
 

Typedef Documentation

◆ SelectedItem

typedef std::variant<std::monostate, entt::entity, std::string> cqsp::client::ctx::SelectedItem

Enumeration Type Documentation

◆ MapMode

enum class cqsp::client::ctx::MapMode
strong
Enumerator
NoMapMode 
LocalSelectedMapMode 

Maybe this should be the default map mode

ProvinceMapMode 
CountryMapMode 
InvalidMapMode 
ResourceMapMode 
ScienceMapMode 
GoodPriceMapMode 

◆ SelectedMenu

Enumerator
NoMenu 
SpaceMenu 
EconomyMenu 
ProjectsMenu 
ExplorationMenu 
BuildingMenu 
BudgetMenu 

◆ UiDisplayMode

Enumerator
CountrySelect 
Gameplay 

Function Documentation

◆ overloaded()

template<class... Ts>
cqsp::client::ctx::overloaded ( Ts...  ) -> overloaded< Ts... >

◆ ZoomOntoProvince()

void cqsp::client::ctx::ZoomOntoProvince ( core::Universe universe,
entt::entity  province 
)

Variable Documentation

◆ tick_speeds

const std::array cqsp::client::ctx::tick_speeds {1000, 500, 333, 100, 50, 10, 1, -1, -2, -5, -10}
static