63 std::vector<DBGPointEntity> planetIDs;
70 std::vector<DBGPointEntity> moonIDs;
77 std::vector<DBGPointEntity> planetIDs;
81 if (planetIDs.empty())
85 return (planetIDs[i].position + planetIDs[i].radius + 50000);
90 std::vector<DBGPointEntity> moonIDs;
98 return (moonIDs[i].position + moonIDs[i].radius + 10000);
103 std::vector<DBGPointEntity> planetIDs;
107 if (planetIDs.empty())
111 return planetIDs[i].itemID;
116 std::vector<DBGPointEntity> planetIDs;
125 std::vector<DBGPointEntity> planetIDs;
135 std::vector<DBGPointEntity> moonIDs;
143 return moonIDs[i].itemID;
155 std::vector<DBGPointEntity> planetIDs;
161 GPoint pos(pSE->GetPosition());
const GPoint Get3RandPlanets(uint32 systemID)
SystemEntity * GetSE(uint32 entityID) const
const GPoint GetRandPointOnMoon(uint32 systemID)
uint32 GetRandMoon(uint32 systemID)
uint32 GetRandPlanet(uint32 systemID)
void GetMoons(uint32 systemID, std::vector< DBGPointEntity > &moonIDs, uint8 &total)
void GetMoons(uint32 systemID)
const GPoint GetRandPointOnPlanet(uint32 systemID)
static const GPoint NULL_ORIGIN(0, 0, 0)
void MakeRandomPointOnSphereLayer(double radiusInner, double radiusOuter)
void GetPlanets(uint32 systemID, std::vector< DBGPointEntity > &planetIDs, uint8 &total)
int64 MakeRandomInt(int64 low, int64 high)
Generates random integer from interval [low; high].
typeID Spawn an NPC with the specified type text Search for items matching the specified query() type()() itemID() copy() materialLevel()() itemID(attributeID)-Retrieves attribute value." ) COMMAND( setattr
const GPoint Get2RandPlanets(uint32 systemID)
const GPoint GetAnomalyPoint(SystemManager *pSys)
void GetPlanets(uint32 systemID)
const GPoint GetRandPointInSystem(uint32 systemID, int64 distance)
static const int64 ONE_AU_IN_METERS