![]() |
PRooFPS-dd Dev Doc 1.0
PRooFPS-dd Developer Documentation
|
Definition at line 19 of file MapsTest.h.
#include <MapsTest.h>
Public Member Functions | |
TestableMaps (pge_audio::PgeAudio &audio, PGEcfgProfiles &cfgProfiles, PR00FsUltimateRenderingEngine &gfx) | |
virtual | ~TestableMaps () |
![]() | |
CConsole & | getConsole () const |
Maps (pge_audio::PgeAudio &audio, PGEcfgProfiles &cfgProfiles, PR00FsUltimateRenderingEngine &gfx) | |
~Maps () | |
Maps (const Maps &)=delete | |
Maps & | operator= (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) |
Mapcycle & | getMapcycle () |
Friends | |
class | MapsTest |
Additional Inherited Members | |
![]() | |
static const char * | getLoggerModuleName () |
![]() | |
static constexpr char * | szCVarSvMap = "sv_map" |
static constexpr float | fMapBlockSizeWidth = 1.0f |
static constexpr float | fMapBlockSizeHeight = 1.0f |
static constexpr float | fMapBlockSizeDepth = 1.0f |
|
inline |
Definition at line 23 of file MapsTest.h.
|
inlinevirtual |
Definition at line 29 of file MapsTest.h.
|
friend |
Definition at line 31 of file MapsTest.h.