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

Go to the source code of this file.

Classes

struct  cqsp::common::components::bodies::Body
 
struct  cqsp::common::components::bodies::TexturedTerrain
 
struct  cqsp::common::components::bodies::NautralObject
 
struct  cqsp::common::components::bodies::OrbitalSystem
 An object for the children of an orbital object. More...
 
struct  cqsp::common::components::bodies::DirtyOrbit
 
struct  cqsp::common::components::bodies::Terrain
 
struct  cqsp::common::components::bodies::TerrainData
 
struct  cqsp::common::components::bodies::Star
 
struct  cqsp::common::components::bodies::Planet
 
struct  cqsp::common::components::bodies::LightEmitter
 

Namespaces

namespace  cqsp
 When adding assets, it is extremely crucial that you read cqsp::asset::AssetLoader::LoadResources to find out how to add a resource to the game.
 
namespace  cqsp::common
 
namespace  cqsp::common::components
 
namespace  cqsp::common::components::bodies
 

Functions

double cqsp::common::components::bodies::CalculateSOI (const double &mass, const double &reference_mass, const double &sma)
 Calculates SOI More...
 
double cqsp::common::components::bodies::CalculateMass (const double &GM)
 Calculates mass from gravitational constant More...
 
double cqsp::common::components::bodies::GetPlanetRotationAngle (const double &time, const double &day_length, const double &offset)
 Calculates the current planet rotation angle More...