PRooFPS-dd Dev Doc 1.0
PRooFPS-dd Developer Documentation
Loading...
Searching...
No Matches
TestableMaps Class Reference

Detailed Description

Definition at line 19 of file MapsTest.h.

#include <MapsTest.h>

+ Inheritance diagram for TestableMaps:

Public Member Functions

 TestableMaps (pge_audio::PgeAudio &audio, PGEcfgProfiles &cfgProfiles, PR00FsUltimateRenderingEngine &gfx)
 
virtual ~TestableMaps ()
 
- Public Member Functions inherited from proofps_dd::Maps
CConsole & getConsole () const
 
 Maps (pge_audio::PgeAudio &audio, PGEcfgProfiles &cfgProfiles, PR00FsUltimateRenderingEngine &gfx)
 
 ~Maps ()
 
 Maps (const Maps &)=delete
 
Mapsoperator= (const Maps &)=delete
 
 Maps (Maps &&)=delete
 
Maps && operator= (Maps &&)=delete
 
bool initialize ()
 Initializes the map handler.
 
bool isInitialized () const
 
void shutdown ()
 Shuts down the map handler.
 
const std::string & serverDecideFirstMapAndUpdateNextMapToBeLoaded ()
 
const std::string & getNextMapToBeLoaded () const
 
bool loaded () const
 
bool load (const char *fname, std::function< void(int)> &cbDisplayProgressUpdate)
 
void unload ()
 
unsigned int width () const
 
unsigned int height () const
 
void updateVisibilitiesForRenderer ()
 
const std::string & getFilename () const
 Retrieves the currently loaded map filename.
 
const std::set< PureVector > & getSpawnpoints () const
 Retrieves the set of spawnpoints of the currently loaded map.
 
const PureVector & getRandomSpawnpoint () const
 Retrieves a randomly selected spawnpoint from the set of spawnpoints of the currently loaded map.
 
const PureVector & getLeftMostSpawnpoint () const
 
const PureVector & getRightMostSpawnpoint () const
 
const PureVector & getBlockPosMin () const
 
const PureVector & getBlockPosMax () const
 
const PureVector & getBlocksVertexPosMin () const
 
const PureVector & getBlocksVertexPosMax () const
 
PureObject3D ** getBlocks ()
 
PureObject3D ** getForegroundBlocks ()
 
int getBlockCount () const
 
int getForegroundBlockCount () const
 
const std::map< MapItem::MapItemId, MapItem * > & getItems () const
 
const std::vector< PureObject3D * > & getJumppads () const
 
const std::map< std::string, PGEcfgVariable > & getVars () const
 
size_t getJumppadValidVarsCount ()
 
const TPURE_XY & getJumppadForceFactors (const size_t &index) const
 
void update (const float &fps)
 
bool handleMapItemUpdateFromServer (pge_network::PgeNetworkConnectionHandle, const MsgMapItemUpdateFromServer &msg)
 
MapcyclegetMapcycle ()
 

Friends

class MapsTest
 

Additional Inherited Members

- Static Public Member Functions inherited from proofps_dd::Maps
static const char * getLoggerModuleName ()
 
- Static Public Attributes inherited from proofps_dd::Maps
static constexpr char * szCVarSvMap = "sv_map"
 
static constexpr float fMapBlockSizeWidth = 1.0f
 
static constexpr float fMapBlockSizeHeight = 1.0f
 
static constexpr float fMapBlockSizeDepth = 1.0f
 

Constructor & Destructor Documentation

◆ TestableMaps()

TestableMaps::TestableMaps ( pge_audio::PgeAudio & audio,
PGEcfgProfiles & cfgProfiles,
PR00FsUltimateRenderingEngine & gfx )
inline

Definition at line 23 of file MapsTest.h.

◆ ~TestableMaps()

virtual TestableMaps::~TestableMaps ( )
inlinevirtual

Definition at line 29 of file MapsTest.h.

Friends And Related Symbol Documentation

◆ MapsTest

friend class MapsTest
friend

Definition at line 31 of file MapsTest.h.


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