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.
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Namespaces | Enumerations | Functions
commands.h File Reference
#include <initializer_list>
#include "common/components/movement.h"
#include "common/components/orbit.h"
#include "common/universe.h"

Go to the source code of this file.

Classes

struct  cqsp::common::systems::commands::OrbitTarget
 
struct  cqsp::common::systems::commands::OrbitScalar
 
struct  cqsp::common::systems::commands::OrbitEntityTarget
 

Namespaces

namespace  cqsp
 
namespace  cqsp::common
 
namespace  cqsp::common::systems
 
namespace  cqsp::common::systems::commands
 

Enumerations

enum class  cqsp::common::systems::commands::Command {
  cqsp::common::systems::commands::CircularizeAtApoapsis , cqsp::common::systems::commands::CircularizeAtPeriapsis , cqsp::common::systems::commands::SetApoapsis , cqsp::common::systems::commands::SetPeriapsis ,
  cqsp::common::systems::commands::SetInclination , cqsp::common::systems::commands::MatchPlanes , cqsp::common::systems::commands::CoplanarIntercept , cqsp::common::systems::commands::CoplanarInterceptAndTransfer ,
  cqsp::common::systems::commands::Impulse , cqsp::common::systems::commands::LandOnBody
}
 
enum class  cqsp::common::systems::commands::Trigger { cqsp::common::systems::commands::OnEnterSOI , cqsp::common::systems::commands::OnExitSOI , cqsp::common::systems::commands::OnManeuver , cqsp::common::systems::commands::OnCrash }
 

Functions

bool cqsp::common::systems::commands::VerifyCommand (Universe &universe, entt::entity command)
 
bool cqsp::common::systems::commands::ProcessCommandQueue (Universe &universe, entt::entity body, Trigger trigger)
 Returns true if a command is processed and popped, returns false if not. More...
 
void cqsp::common::systems::commands::ExecuteCommand (Universe &universe, entt::entity entity, entt::entity command_entity, Command command)
 
void cqsp::common::systems::commands::TransferToMoon (Universe &universe, entt::entity agent, entt::entity target)
 
void cqsp::common::systems::commands::LandOnMoon (Universe &universe, entt::entity agent, entt::entity target, entt::entity city)
 
void cqsp::common::systems::commands::PushManeuvers (Universe &universe, entt::entity entity, std::initializer_list< components::Maneuver_t > maneuver, double offset)
 
void cqsp::common::systems::commands::PushManeuvers (Universe &universe, entt::entity entity, components::HohmannPair_t hohmann_pair, double offset)
 
std::vector< entt::entity > cqsp::common::systems::commands::GetSOIHierarchy (Universe &universe, entt::entity source)
 
entt::entity cqsp::common::systems::commands::GetCommonSOI (Universe &universe, entt::entity source, entt::entity target)