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


Classes | |
| struct | SectorConfig |
| struct | StarSystemConfig |
Public Types | |
| typedef int | Version |
Public Member Functions | |
| virtual | ~GalaxyGenerator () |
| const std::string & | GetName () const |
| Version | GetVersion () const |
| bool | IsDefault () const |
| void | ToJson (Json &jsonObj, RefCountedPtr< Galaxy > galaxy) |
| void | FromJson (const Json &jsonObj, RefCountedPtr< Galaxy > galaxy) |
| template<typename T , typename Cache > | |
| RefCountedPtr< T > | Generate (RefCountedPtr< Galaxy > galaxy, const SystemPath &path, Cache *cache) |
| GalaxyGenerator * | AddSectorStage (SectorGeneratorStage *sectorGenerator) |
| GalaxyGenerator * | AddStarSystemStage (StarSystemGeneratorStage *starSystemGenerator) |
| template<> | |
| RefCountedPtr< Sector > | Generate (RefCountedPtr< Galaxy > galaxy, const SystemPath &path, SectorCache *cache) |
| template<> | |
| RefCountedPtr< StarSystem > | Generate (RefCountedPtr< Galaxy > galaxy, const SystemPath &path, StarSystemCache *cache) |
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 () |
Static Public Member Functions | |
| static void | Init (const std::string &name=std::string("legacy"), Version version=LAST_VERSION) |
| static void | Uninit () |
| static RefCountedPtr< Galaxy > | Create (const std::string &name, Version version=LAST_VERSION) |
| static RefCountedPtr< Galaxy > | Create () |
| static RefCountedPtr< Galaxy > | CreateFromJson (const Json &jsonObj) |
| static std::string | GetDefaultGeneratorName () |
| static Version | GetDefaultGeneratorVersion () |
| static Version | GetLastVersion (const std::string &name) |
Static Public Attributes | |
| static const Version | LAST_VERSION = -1 |
| typedef int GalaxyGenerator::Version |
|
virtual |
| GalaxyGenerator * GalaxyGenerator::AddSectorStage | ( | SectorGeneratorStage * | sectorGenerator | ) |
| GalaxyGenerator * GalaxyGenerator::AddStarSystemStage | ( | StarSystemGeneratorStage * | starSystemGenerator | ) |
|
inlinestatic |

|
static |

|
static |

| void GalaxyGenerator::FromJson | ( | const Json & | jsonObj, |
| RefCountedPtr< Galaxy > | galaxy | ||
| ) |
| RefCountedPtr< T > GalaxyGenerator::Generate | ( | RefCountedPtr< Galaxy > | galaxy, |
| const SystemPath & | path, | ||
| Cache * | cache | ||
| ) |
|
inline |
|
inline |
|
inlinestatic |
|
inlinestatic |
|
static |
|
inline |
|
inline |
|
static |

|
inline |
| void GalaxyGenerator::ToJson | ( | Json & | jsonObj, |
| RefCountedPtr< Galaxy > | galaxy | ||
| ) |
|
static |

|
static |