#include <mapchangestatedata.h>
Public Types | ||||
| typedef std::vector< std::string > | NameVector | |||
Public Member Functions | ||||
| MapChangeStateData (dtGame::GameManager &gm) | ||||
| const NameVector & | GetOldMapNames () const | |||
| const NameVector & | GetNewMapNames () const | |||
| const MapChangeState & | GetCurrentState () const | |||
| void | ChangeState (const MapChangeState &newState) | |||
| void | BeginMapChange (const NameVector &oldMapNames, const NameVector &newMapNames, bool addBillboards, bool enableDatabasePaging) | |||
| ||||
| void | ContinueMapChange () | |||
| ||||
Protected Member Functions | ||||
| void | LoadSingleMapIntoGM (const std::string &mapName) | |||
| bool | OpenNewMaps () | |||
| void | CloseOldMaps () | |||
Classes | ||||
| class | MapChangeState | |||
| typedef std::vector<std::string> dtGame::MapChangeStateData::NameVector |
| dtGame::MapChangeStateData::MapChangeStateData | ( | dtGame::GameManager & | gm | ) |
| const NameVector& dtGame::MapChangeStateData::GetOldMapNames | ( | ) | const [inline] |
| const NameVector& dtGame::MapChangeStateData::GetNewMapNames | ( | ) | const [inline] |
| const MapChangeState& dtGame::MapChangeStateData::GetCurrentState | ( | ) | const [inline] |
| void dtGame::MapChangeStateData::ChangeState | ( | const MapChangeState & | newState | ) | [inline] |
| void dtGame::MapChangeStateData::BeginMapChange | ( | const NameVector & | oldMapNames, | |
| const NameVector & | newMapNames, | |||
| bool | addBillboards, | |||
| bool | enableDatabasePaging | |||
| ) |
| dtUtil::Exception | with ExceptionEnum::GENERAL_GAMEMANAGER_EXCEPTION if the GameManager has been deleted. |
| void dtGame::MapChangeStateData::ContinueMapChange | ( | ) |
| dtUtil::Exception | with ExceptionEnum::GENERAL_GAMEMANAGER_EXCEPTION if the GameManager has been deleted. |
| void dtGame::MapChangeStateData::LoadSingleMapIntoGM | ( | const std::string & | mapName | ) | [protected] |
| bool dtGame::MapChangeStateData::OpenNewMaps | ( | ) | [protected] |
| void dtGame::MapChangeStateData::CloseOldMaps | ( | ) | [protected] |