![]() |
PRooFPS-dd Dev Doc 1.0
PRooFPS-dd Developer Documentation
|
Definition at line 20 of file MapcycleTest.h.
#include <MapcycleTest.h>
Public Member Functions | |
TestableMapcycle () | |
virtual | ~TestableMapcycle () |
![]() | |
CConsole & | getConsole () const |
Mapcycle () | |
~Mapcycle () | |
Mapcycle (const Mapcycle &)=delete | |
Mapcycle & | operator= (const Mapcycle &)=delete |
Mapcycle (Mapcycle &&)=delete | |
Mapcycle && | operator= (Mapcycle &&)=delete |
bool | initialize () |
Updates list of available maps and mapcycle content. | |
bool | isInitialized () const |
void | shutdown () |
Releases any allocated resources related to available maps list and mapcycle. | |
const std::set< std::string > & | availableMapsGet () const |
const std::string & | availableMapsGetElem (const size_t &index) const |
const char ** | availableMapsGetAsCharPtrArray () const |
This is convenience function to be used with GUI: Dear ImGUI requires this kind of array as source of items of Listbox. | |
const std::set< std::string > & | availableMapsNoChangingGet () const |
const std::string & | availableMapsNoChangingGetElem (const size_t &index) const |
const std::vector< std::string > & | mapcycleGet () const |
const char ** | mapcycleGetAsCharPtrArray () const |
This is convenience function to be used with GUI: Dear ImGUI requires this kind of array as source of items of Listbox. | |
std::string | mapcycleGetCurrent () const |
bool | mapcycleIsCurrentLast () const |
std::string | mapcycleNext () |
std::string | mapcycleRewindToFirst () |
std::string | mapcycleForwardToLast () |
bool | mapcycleSaveToFile () |
void | mapcycle_availableMaps_Synchronize () |
This one is recommended during initialization, since it reloads both the mapcycle and available maps list, and makes sure they become disjoint sets. | |
bool | mapcycleAdd_availableMapsRemove (const std::string &sMapFilename) |
bool | mapcycleAdd_availableMapsRemove (const std::vector< std::string > &vMapFilenames) |
bool | mapcycleAdd_availableMapsRemove () |
bool | mapcycleRemove_availableMapsAdd (const std::string &sMapFilename) |
bool | mapcycleRemove_availableMapsAdd (const size_t &indexToMapcycle) |
bool | mapcycleRemove_availableMapsAdd (const std::vector< std::string > &vMapFilenames) |
bool | mapcycleRemove_availableMapsAdd () |
Friends | |
class | MapcycleTest |
Additional Inherited Members | |
![]() | |
static const char * | getLoggerModuleName () |
static bool | isValidMapFilename (const std::string &sFilename) |
![]() | |
static constexpr char * | GAME_MAPS_DIR = "gamedata/maps/" |
![]() | |
void | availableMapsRefresh () |
bool | availableMapsAdd (const std::string &sMapFilename) |
bool | availableMapsAdd (const std::vector< std::string > &vMapFilenames) |
bool | availableMapsRemove (const std::string &sMapFilename) |
bool | availableMapsRemove (const size_t &index) |
bool | availableMapsRemove (const std::vector< std::string > &vMapFilenames) |
bool | mapcycleReload () |
bool | mapcycleAdd (const std::string &sMapFilename) |
bool | mapcycleAdd (const std::vector< std::string > &vMapFilenames) |
bool | mapcycleAdd (const std::set< std::string > &vMapFilenames) |
bool | mapcycleRemove (const std::string &sMapFilename) |
bool | mapcycleRemove (const size_t &index) |
bool | mapcycleRemove (const std::vector< std::string > &vMapFilenames) |
void | mapcycleClear () |
size_t | mapcycleRemoveNonExisting () |
Removes items from mapcycle that are referring to non-existing files in the current filesystem. | |
|
inline |
Definition at line 24 of file MapcycleTest.h.
|
inlinevirtual |
Definition at line 27 of file MapcycleTest.h.
|
friend |
Definition at line 29 of file MapcycleTest.h.