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.
Functions
cqsp::common::systems::science Namespace Reference

Functions

void LoadFields (Universe &universe, Hjson::Value &hjson)
 
Hjson::Value WriteFields (Universe &universe)
 
entt::entity CreateLab (Universe &universe)
 
void AddScienceResearch (Universe &universe, entt::entity lab, entt::entity research, double progress)
 
void LoadTechnologies (Universe &universe, Hjson::Value &value)
 
void ResearchTech (Universe &universe, entt::entity civilization, entt::entity tech)
 
void ProcessAction (Universe &universe, entt::entity civilization, const std::string &action)
 

Function Documentation

◆ AddScienceResearch()

void cqsp::common::systems::science::AddScienceResearch ( Universe universe,
entt::entity  lab,
entt::entity  research,
double  progress 
)

◆ CreateLab()

entt::entity cqsp::common::systems::science::CreateLab ( Universe universe)

◆ LoadFields()

void cqsp::common::systems::science::LoadFields ( Universe universe,
Hjson::Value &  hjson 
)

◆ LoadTechnologies()

void cqsp::common::systems::science::LoadTechnologies ( Universe universe,
Hjson::Value &  value 
)

◆ ProcessAction()

void cqsp::common::systems::science::ProcessAction ( Universe universe,
entt::entity  civilization,
const std::string &  action 
)

◆ ResearchTech()

void cqsp::common::systems::science::ResearchTech ( Universe universe,
entt::entity  civilization,
entt::entity  tech 
)

◆ WriteFields()

Hjson::Value cqsp::common::systems::science::WriteFields ( Universe universe)