4#ifndef STARSYSTEM_GENERATOR_H
5#define STARSYSTEM_GENERATOR_H
76 void PositionSettlementOnPlanet(
SystemBody *sbody, std::vector<fixed> &prevOrbits);
Definition: CustomSystem.h:45
Definition: StarSystemGenerator.h:66
virtual bool Apply(Random &rng, RefCountedPtr< Galaxy > galaxy, RefCountedPtr< StarSystem::GeneratorAPI > system, GalaxyGenerator::StarSystemConfig *config)
Definition: StarSystemGenerator.cpp:1856
Definition: RefCounted.h:36
Definition: StarSystemGenerator.h:32
bool ApplyToSystem(Random &rng, RefCountedPtr< StarSystem::GeneratorAPI > system, const CustomSystem *customSys)
Definition: StarSystemGenerator.cpp:442
virtual bool Apply(Random &rng, RefCountedPtr< Galaxy > galaxy, RefCountedPtr< StarSystem::GeneratorAPI > system, GalaxyGenerator::StarSystemConfig *config)
Definition: StarSystemGenerator.cpp:488
Definition: StarSystemGenerator.h:10
virtual bool Apply(Random &rng, RefCountedPtr< Galaxy > galaxy, RefCountedPtr< StarSystem::GeneratorAPI > system, GalaxyGenerator::StarSystemConfig *config)
Definition: StarSystemGenerator.cpp:191
Definition: GalaxyGenerator.h:122
Definition: StarSystemGenerator.h:15
fixedf< 48 > CalcHillRadius(SystemBody *sbody) const
Definition: StarSystemGenerator.cpp:363
static const StarTypeInfo starTypeInfo[]
Definition: StarSystemGenerator.h:27
static void PickAtmosphere(SystemBody *sbody)
Definition: StarSystemGenerator.cpp:206
static const fixed starMetallicities[]
Definition: StarSystemGenerator.h:26
static void PickRings(SystemBodyData *sbody, bool forceRings=false)
Definition: StarSystemGenerator.cpp:298
Definition: StarSystemGenerator.h:43
static constexpr uint32_t BODY_SATELLITE_SALT
Definition: StarSystemGenerator.h:45
fixed CalcBodySatelliteShellDensity(Random &rand, SystemBody *primary, fixed &discMin, fixed &discMax)
Definition: StarSystemGenerator.cpp:890
void PickPlanetType(SystemBody *sbody, Random &rand)
Definition: StarSystemGenerator.cpp:641
SystemBody * MakeBodyInOrbitSlice(Random &rand, StarSystem::GeneratorAPI *system, SystemBody *primary, fixed min, fixed max, fixed discMax, fixed discDensity)
Definition: StarSystemGenerator.cpp:1044
virtual bool Apply(Random &rng, RefCountedPtr< Galaxy > galaxy, RefCountedPtr< StarSystem::GeneratorAPI > system, GalaxyGenerator::StarSystemConfig *config)
Definition: StarSystemGenerator.cpp:1262
Definition: StarSystem.h:166
Definition: SystemBody.h:89
BodyType
Definition: SystemBody.h:25
Definition: SystemBody.h:137
Definition: GalaxyGenerator.h:60
Definition: StarSystemGenerator.h:21
int radius[2]
Definition: StarSystemGenerator.h:23
int tempMin
Definition: StarSystemGenerator.h:24
int mass[2]
Definition: StarSystemGenerator.h:22
int tempMax
Definition: StarSystemGenerator.h:24
vector3< T > max(const vector3< T > &lhs, const vector3< T > &rhs)
Definition: vector3.h:312
vector3< T > min(const vector3< T > &lhs, const vector3< T > &rhs)
Definition: vector3.h:320