![]() |
Pioneer
|
#include <StarSystem.h>


Public Member Functions | |
| bool | HasCustomBodies () const |
| void | SetCustom (bool isCustom, bool hasCustomBodies) |
| void | SetNumStars (int numStars) |
| void | SetRootBody (RefCountedPtr< SystemBody > rootBody) |
| void | SetRootBody (SystemBody *rootBody) |
| void | SetName (const std::string &name) |
| void | SetOtherNames (const std::vector< std::string > &other_names) |
| void | SetLongDesc (const std::string &desc) |
| void | SetExplored (ExplorationState explored, double time) |
| void | SetSeed (Uint32 seed) |
| void | SetFaction (const Faction *faction) |
| void | SetEconType (GalacticEconomy::EconomyId econType) |
| void | SetSysPolit (SysPolit polit) |
| void | SetMetallicity (fixed metallicity) |
| void | SetIndustrial (fixed industrial) |
| void | SetAgricultural (fixed agricultural) |
| void | SetHumanProx (fixed humanProx) |
| void | SetTotalPop (fixed pop) |
| void | AddTotalPop (fixed pop) |
| int | GetTradeLevel (GalacticEconomy::CommodityId type) |
| void | SetTradeLevel (GalacticEconomy::CommodityId type, int level) |
| void | AddTradeLevel (GalacticEconomy::CommodityId type, int level) |
| void | SetCommodityLegal (GalacticEconomy::CommodityId type, bool legal) |
| void | AddSpaceStation (SystemBody *station) |
| void | AddStar (SystemBody *star) |
| void | MakeShortDescription () |
| SystemBody * | NewBody () |
| void | SetShortDesc (const std::string &desc) |
Public Member Functions inherited from StarSystem | |
| void | ExportToLua (const char *filename) |
| const std::string & | GetName () const |
| std::vector< std::string > | GetOtherNames () const |
| SystemPath | GetPathOf (const SystemBody *sbody) const |
| SystemBody * | GetBodyByPath (const SystemPath &path) const |
| const SystemPath & | GetPath () const |
| const std::string & | GetShortDescription () const |
| const std::string & | GetLongDescription () const |
| unsigned | GetNumStars () const |
| const SysPolit & | GetSysPolit () const |
| RefCountedPtr< const SystemBody > | GetRootBody () const |
| RefCountedPtr< SystemBody > | GetRootBody () |
| bool | HasSpaceStations () const |
| Uint32 | GetNumSpaceStations () const |
| IterationProxy< std::vector< SystemBody * > > | GetSpaceStations () |
| const IterationProxy< const std::vector< SystemBody * > > | GetSpaceStations () const |
| IterationProxy< std::vector< SystemBody * > > | GetStars () |
| const IterationProxy< const std::vector< SystemBody * > > | GetStars () const |
| Uint32 | GetNumBodies () const |
| IterationProxy< std::vector< RefCountedPtr< SystemBody > > > | GetBodies () |
| const IterationProxy< const std::vector< RefCountedPtr< SystemBody > > > | GetBodies () const |
| bool | IsCommodityLegal (const GalacticEconomy::CommodityId t) |
| int | GetCommodityBasePriceModPercent (GalacticEconomy::CommodityId t) |
| const Faction * | GetFaction () const |
| bool | GetUnexplored () const |
| ExplorationState | GetExplored () const |
| double | GetExploredTime () const |
| void | ExploreSystem (double time) |
| fixed | GetMetallicity () const |
| fixed | GetIndustrial () const |
| fixed | GetAgricultural () const |
| GalacticEconomy::EconomyId | GetEconType () const |
| int | GetSeed () const |
| fixed | GetHumanProx () const |
| fixed | GetTotalPop () const |
| void | Dump (FILE *file, const char *indent="", bool suppressSectorData=false) const |
Public Member Functions inherited from RefCounted | |
| RefCounted () | |
| virtual | ~RefCounted () |
| void | IncRefCount () const |
| void | DecRefCount () const |
| int | GetRefCount () const |
Public Member Functions inherited from LuaWrappable | |
| virtual | ~LuaWrappable () |
Friends | |
| class | GalaxyGenerator |
Additional Inherited Members | |
Public Types inherited from StarSystem | |
| enum | ExplorationState { eUNEXPLORED = 0 , eEXPLORED_BY_PLAYER = 1 , eEXPLORED_AT_START = 2 } |
Static Public Member Functions inherited from StarSystem | |
| static void | ToJson (Json &jsonObj, StarSystem *) |
| static RefCountedPtr< StarSystem > | FromJson (RefCountedPtr< Galaxy > galaxy, const Json &jsonObj) |
Public Attributes inherited from StarSystem | |
| const RefCountedPtr< Galaxy > | m_galaxy |
Static Public Attributes inherited from StarSystem | |
| static const Color | starColors [] |
| static const Color | starRealColors [] |
| static const double | starLuminosities [] |
| static const float | starScale [] |
Protected Member Functions inherited from StarSystem | |
| StarSystem (const SystemPath &path, RefCountedPtr< Galaxy > galaxy, StarSystemCache *cache, Random &rand) | |
| virtual | ~StarSystem () |
| SystemBody * | NewBody () |
| void | MakeShortDescription () |
| void | SetShortDesc (const std::string &desc) |
|
inline |

|
inline |

|
inline |
|
inline |
|
inline |
|
inline |
| void StarSystem::MakeShortDescription | ( | ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
friend |