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 | Namespaces | Typedefs | Functions | Variables
bodies.h File Reference
#include <limits>
#include <map>
#include <ranges>
#include <string>
#include <tuple>
#include <vector>
#include <entt/entt.hpp>
#include "core/components/units.h"

Go to the source code of this file.

Classes

struct  cqsp::core::components::bodies::Body
 
struct  cqsp::core::components::bodies::TexturedTerrain
 
struct  cqsp::core::components::bodies::NautralObject
 
struct  cqsp::core::components::bodies::GetFirstTypeT< T, Rest >
 
struct  cqsp::core::components::bodies::ExpandedIter< R, Ranges... >
 
struct  cqsp::core::components::bodies::ExpandedIter<>
 
class  cqsp::core::components::bodies::ConcatIter< Views >
 
struct  cqsp::core::components::bodies::EndIter
 
class  cqsp::core::components::bodies::ConcatView< Ranges >
 
struct  cqsp::core::components::bodies::OrbitalSystem
 An object for the children of an orbital object. More...
 
struct  cqsp::core::components::bodies::DirtyOrbit
 
struct  cqsp::core::components::bodies::Star
 
struct  cqsp::core::components::bodies::Planet
 
struct  cqsp::core::components::bodies::LightEmitter
 
struct  cqsp::core::components::bodies::Atmosphere
 

Namespaces

namespace  cqsp
 
namespace  cqsp::core
 
namespace  cqsp::core::components
 
namespace  cqsp::core::components::bodies
 

Typedefs

template<typename... Pack>
using cqsp::core::components::bodies::GetFirstType = GetFirstTypeT< Pack... >::Type
 

Functions

double cqsp::core::components::bodies::CalculateSOI (const double &mass, const double &reference_mass, const double &sma)
 Calculates SOI More...
 
double cqsp::core::components::bodies::CalculateMass (const double &GM)
 Calculates mass from gravitational constant More...
 
double cqsp::core::components::bodies::GetPlanetRotationAngle (const double &time, const double &day_length, const double &offset)
 Calculates the current planet rotation angle More...
 
template<typename... Rs>
bool cqsp::core::components::bodies::operator== (const ConcatIter< Rs... > &iter, EndIter)
 

Variables

template<typename... Rs>
return cqsp::core::components::bodies::v