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.
Namespaces | Functions
commands.h File Reference
#include <initializer_list>
#include "common/components/movement.h"
#include "common/components/orbit.h"
#include "common/components/orders.h"
#include "common/universe.h"

Go to the source code of this file.

Namespaces

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

Functions

bool cqsp::common::systems::commands::VerifyCommand (Universe &universe, entt::entity command)
 
bool cqsp::common::systems::commands::ProcessCommandQueue (Universe &universe, entt::entity body, components::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, components::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)