Pioneer
Loading...
Searching...
No Matches
Public Member Functions | Friends | List of all members
DensityMapGalaxy Class Reference

#include <Galaxy.h>

Inheritance diagram for DensityMapGalaxy:
Inheritance graph
[legend]
Collaboration diagram for DensityMapGalaxy:
Collaboration graph
[legend]

Public Member Functions

virtual Uint8 GetSectorDensity (const int sx, const int sy, const int sz) const
 
- Public Member Functions inherited from Galaxy
void ToJson (Json &jsonObj)
 
 ~Galaxy ()
 
bool IsInitialized () const
 
virtual Uint8 GetSectorDensity (const int sx, const int sy, const int sz) const =0
 
FactionsDatabaseGetFactions ()
 
CustomSystemsDatabaseGetCustomSystems ()
 
RefCountedPtr< const SectorGetSector (const SystemPath &path)
 
RefCountedPtr< SectorGetMutableSector (const SystemPath &path)
 
RefCountedPtr< SectorCache::Slave > NewSectorSlaveCache ()
 
RefCountedPtr< StarSystemGetStarSystem (const SystemPath &path)
 
RefCountedPtr< StarSystemCache::Slave > NewStarSystemSlaveCache ()
 
void FlushCaches ()
 
void Dump (FILE *file, Sint32 centerX, Sint32 centerY, Sint32 centerZ, Sint32 radius)
 
RefCountedPtr< GalaxyGeneratorGetGenerator () const
 
const std::string & GetGeneratorName () const
 
int GetGeneratorVersion () const
 
Perf::StatsGetStats ()
 
const Perf::StatsGetStats () 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

- Static Public Member Functions inherited from Galaxy
static RefCountedPtr< GalaxyLoadFromJson (const Json &jsonObj)
 
- Public Attributes inherited from Galaxy
const float GALAXY_RADIUS
 
const float SOL_OFFSET_X
 
const float SOL_OFFSET_Y
 
- Protected Member Functions inherited from Galaxy
 Galaxy (RefCountedPtr< GalaxyGenerator > galaxyGenerator, float radius, float sol_offset_x, float sol_offset_y, const std::string &factionsDir, const std::string &customSysDir)
 
void SetGalaxyGenerator (RefCountedPtr< GalaxyGenerator > galaxyGenerator)
 
virtual void Init ()
 

Member Function Documentation

◆ GetSectorDensity()

Uint8 DensityMapGalaxy::GetSectorDensity ( const int  sx,
const int  sy,
const int  sz 
) const
virtual

Implements Galaxy.

Friends And Related Symbol Documentation

◆ GalaxyGenerator

friend class GalaxyGenerator
friend

The documentation for this class was generated from the following files: