Simulator::cPlanet class

Base classes

class cSpatialObject
class cGameData

Public static variables

static const uint32_t TYPE
static const uint32_t NOUN_ID

Public functions

auto GetTemperatureScore() const -> float
Returns the temperature score of the planet record in the [0, 1] range or 0.5 if there is no planet record.
auto GetEmpire() -> cEmpire*
Returns the empire that controls this planet, if any.
auto AddRef() -> int pure virtual
auto Release() -> int pure virtual

Public variables

int mNumSpecializedBehaviorUFOs
Math::Matrix3 field_10C
int field_130
int field_134
int field_138
intrusive_ptr<cPlanetRecord> mpPlanetRecord
uint32_t mPlanetKey
uint32_t mStarterWorldID
Math::Vector3 mOrbitedPlanetLastKnownPosition
intrusive_ptr<cSimPlanetLowLOD> mpPlanetSim
int field_158
string16 mImpostorModel
uint32_t mEffectScript
vector<int> field_170
float mPlanetScale
int field_188
intrusive_ptr<cVisiblePlanet> mpVisiblePlanet
bool field_190
cGonzagoTimer mTimeSinceLastColonyPlaced
bool field_1B8
int mPlanetFlags
intrusive_ptr<cPlanet> mpParent
uint32_t field_1C4