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.
src
common
components
orders.h
Go to the documentation of this file.
1
2
#include <entt/entt.hpp>
3
4
#include "
common/components/orbit.h
"
5
6
namespace
cqsp::common::components
{
7
enum class
Command
{
8
CircularizeAtApoapsis
,
9
CircularizeAtPeriapsis
,
10
SetApoapsis
,
11
SetPeriapsis
,
12
SetInclination
,
13
MatchPlanes
,
14
CoplanarIntercept
,
// Just intercepts
15
CoplanarInterceptAndTransfer
,
// Intercepts and matches orbit
16
Impulse
,
17
LandOnBody
,
18
};
19
20
enum class
Trigger
{
21
// When to trigger the command
22
OnEnterSOI
,
23
OnExitSOI
,
24
OnManeuver
,
// When the previous manuever is executed
25
OnCrash
,
26
};
27
28
struct
OrbitTarget
{
29
types::Orbit
orbit
;
30
};
31
32
struct
OrbitScalar
{
33
double
value
;
// Modifies the orbit by some sort of scalar
34
};
35
36
struct
OrbitEntityTarget
{
37
entt::entity
target
;
38
};
39
}
// namespace cqsp::common::components
cqsp::common::components
Definition:
area.h:23
cqsp::common::components::Trigger
Trigger
Definition:
orders.h:20
cqsp::common::components::Trigger::OnManeuver
@ OnManeuver
cqsp::common::components::Trigger::OnExitSOI
@ OnExitSOI
cqsp::common::components::Trigger::OnCrash
@ OnCrash
cqsp::common::components::Trigger::OnEnterSOI
@ OnEnterSOI
cqsp::common::components::Command
Command
Definition:
orders.h:7
cqsp::common::components::Command::LandOnBody
@ LandOnBody
cqsp::common::components::Command::SetInclination
@ SetInclination
cqsp::common::components::Command::MatchPlanes
@ MatchPlanes
cqsp::common::components::Command::CircularizeAtApoapsis
@ CircularizeAtApoapsis
cqsp::common::components::Command::CircularizeAtPeriapsis
@ CircularizeAtPeriapsis
cqsp::common::components::Command::Impulse
@ Impulse
cqsp::common::components::Command::SetPeriapsis
@ SetPeriapsis
cqsp::common::components::Command::CoplanarIntercept
@ CoplanarIntercept
cqsp::common::components::Command::SetApoapsis
@ SetApoapsis
cqsp::common::components::Command::CoplanarInterceptAndTransfer
@ CoplanarInterceptAndTransfer
orbit.h
cqsp::common::components::OrbitEntityTarget
Definition:
orders.h:36
cqsp::common::components::OrbitEntityTarget::target
entt::entity target
Definition:
orders.h:37
cqsp::common::components::OrbitScalar
Definition:
orders.h:32
cqsp::common::components::OrbitScalar::value
double value
Definition:
orders.h:33
cqsp::common::components::OrbitTarget
Definition:
orders.h:28
cqsp::common::components::OrbitTarget::orbit
types::Orbit orbit
Definition:
orders.h:29
cqsp::common::components::types::Orbit
Definition:
orbit.h:41
Generated on Sat Aug 30 2025 06:22:48 for Conquer Space by
1.9.2