#include <ExManagerMap.h>
Graphe d'héritage de la classe ExManagerMap
Membres publics | |
void | Init (void) |
void | Reset (void) |
ExCAction | InputCommand (ExCCommand Command) |
ExCAction | InputAction (ExCAction Action) |
void | SetManagerId (ExManagerId *Id) |
void | SetManagerTexture (ExManagerTexture *Texture) |
void | SetManagerFog (ExManagerFog *Fog) |
void | Draw (void) |
void | LoadSkybox (std::string FileName) |
void | Load (std::string FileName) |
void | SetFlux (std::ostrstream *consol, ExCFluxAction *action) |
bool | GetStatus (void) |
void | SetStatus (bool status) |
void | SetAskForCommand (bool status) |
void | SetAskForExclusifCommand (bool status) |
bool | AskForCommand (void) |
bool | AskForExclusifCommand (void) |
virtual void | Reload (void) |
Membres publics statiques | |
ExManagerMap * | CreateSingleton (void) |
Attributs Publics | |
std::ostrstream * | Consol |
ExCFluxAction * | FluxAction |
Attributs Protégés | |
bool | m_Status |
bool | m_AskForCommand |
bool | m_Exclusif |
Membres privés | |
ExManagerMap (void) | |
~ExManagerMap (void) | |
Attributs Privés | |
ExManagerId * | ManagerId |
ExManagerTexture * | ManagerTexture |
ExManagerFog * | ManagerFog |
ExCHeightMap * | HeightMap |
ExCSkyBox * | Skybox |
bool | MapLoaded |
bool | SkyLoaded |
Attributs Privés Statiques | |
bool | m_flag = false |
ExManagerMap * | m_instance = NULL |
|
Définition à la ligne 43 du fichier ExManagerMap.cpp. Références MapLoaded, et SkyLoaded.
|
|
Définition à la ligne 49 du fichier ExManagerMap.cpp.
00050 { 00051 } |
|
Définition à la ligne 89 du fichier ExManager.h. Références ExManager::m_AskForCommand. Référencé par ExManagerCommand::InputCommand().
00089 {return m_AskForCommand;} |
|
Définition à la ligne 90 du fichier ExManager.h. Références ExManager::m_Exclusif. Référencé par ExManagerCommand::InputCommand().
00090 {return m_Exclusif;} |
|
Définition à la ligne 29 du fichier ExManagerMap.cpp. Références CreateSingleton(), Guard, m_flag, m_instance, et UnGuard. Référencé par CreateManager(), et CreateSingleton().
00029 { 00030 Guard(ExManagerMap* ExManagerMap::CreateSingleton(void)) 00031 if(!m_flag) 00032 { 00033 m_flag = true; // We are creating the error log now, so set flag to true 00034 m_instance = new ExManagerMap; // Create the error log 00035 }else 00036 { 00037 std::cout<<"Error singleton already created"<<std::endl; 00038 } 00039 return m_instance; 00040 UnGuard 00041 } |
|
Définition à la ligne 102 du fichier ExManagerMap.cpp. Références ExCSkyBox::Draw(), ExCHeightMap::Draw(), Draw(), Guard, HeightMap, MapLoaded, Skybox, SkyLoaded, et UnGuard. Référencé par Draw(), et ExManagerOutput::DrawScene().
|
|
Définition à la ligne 85 du fichier ExManager.h. Références ExManager::m_Status. Référencé par ExManagerInterface::Draw(), ExManagerConsole::Draw(), et ExManagerOutput::DrawScene().
00085 {return m_Status;} |
|
Redéfinie à partir de ExManager. Définition à la ligne 53 du fichier ExManagerMap.cpp. Référencé par PreInitManager().
00054 { 00055 00056 } |
|
|
Redéfinie à partir de ExManager. Définition à la ligne 116 du fichier ExManagerMap.cpp. Références Guard, InputCommand(), NOTHING, et UnGuard. Référencé par InputCommand().
00117 { 00118 Guard(ExCAction ExManagerMap::InputCommand(ExCCommand Command)) 00119 return NOTHING; 00120 UnGuard 00121 } |
|
Définition à la ligne 64 du fichier ExManagerMap.cpp. Références Guard, HeightMap, ExCHeightMap::Load(), ExCSkyBox::Load(), Load(), ManagerFog, ManagerTexture, MapLoaded, ExCObject::SetFileName(), ExCHeightMap::SetManagerFog(), ExCHeightMap::SetManagerTexture(), ExCSkyBox::SetManagerTexture(), Skybox, SkyLoaded, et UnGuard. Référencé par ExManagerLoad::InputAction(), Load(), et ExManagerLoad::LoadSetOfFile().
00065 { 00066 Guard(ExManagerMap::Load(std::string FileName)) 00067 00068 //find extension type of map 00069 if(FileName.find(".")) 00070 { 00071 //skybox 00072 if(FileName.find(".skyb")==(FileName.length()-5)) 00073 { 00074 Skybox=new ExCSkyBox(); 00075 Skybox->SetManagerTexture(ManagerTexture); 00076 Skybox->SetFileName(FileName); 00077 Skybox->Load(FileName); 00078 SkyLoaded=true; 00079 return; 00080 } 00081 //bsp map 00082 if(FileName.find(".bsp")==(FileName.length()-4)) 00083 { 00084 return; 00085 } 00086 //height map 00087 if(FileName.find(".hgmp")==(FileName.length()-5)) 00088 { 00089 HeightMap=new ExCHeightMap(); 00090 HeightMap->SetManagerTexture(ManagerTexture); 00091 HeightMap->SetManagerFog(ManagerFog); 00092 HeightMap->SetFileName(FileName); 00093 HeightMap->Load(FileName); 00094 MapLoaded=true; 00095 return; 00096 } 00097 } 00098 00099 UnGuard 00100 } |
|
|
|
|
Redéfinie à partir de ExManager. Définition à la ligne 58 du fichier ExManagerMap.cpp. Références MapLoaded, et SkyLoaded. Référencé par ExManagerCommand::ProcesExCAction().
|
|
Définition à la ligne 87 du fichier ExManager.h. Références ExManager::m_AskForCommand. Référencé par ExManagerConsole::ExManagerConsole(), ExManagerModel::ExManagerModel(), ExManagerObjectWindow::Init(), ExManagerNetwork::Init(), ExManagerConsole::InputAction(), ExManagerNetwork::InputCommand(), ExManagerLoad::LoadSetOfFile(), et ExManagerNetwork::Say().
00087 {m_AskForCommand=status;} |
|
Définition à la ligne 88 du fichier ExManager.h. Références ExManager::m_Exclusif. Référencé par ExManagerConsole::ExManagerConsole(), ExManagerModel::ExManagerModel(), ExManagerObjectWindow::Init(), ExManagerNetwork::Init(), ExManagerConsole::InputAction(), ExManagerNetwork::InputCommand(), et ExManagerNetwork::Say().
00088 {m_Exclusif=status;} |
|
Définition à la ligne 35 du fichier ExManager.cpp. Références ExManager::Consol, et ExManager::FluxAction. Référencé par SetManagerLink().
00036 { 00037 Consol=consol; 00038 FluxAction=action; 00039 } |
|
Définition à la ligne 104 du fichier ExManagerMap.h. Références ManagerFog. Référencé par SetManagerLink().
00104 {ManagerFog=Fog;} |
|
Définition à la ligne 102 du fichier ExManagerMap.h. Références ManagerId. Référencé par SetManagerLink().
00102 {ManagerId = Id;} |
|
Définition à la ligne 103 du fichier ExManagerMap.h. Références ManagerTexture. Référencé par SetManagerLink().
00103 {ManagerTexture=Texture;} |
|
Définition à la ligne 86 du fichier ExManager.h. Références ExManager::m_Status. Référencé par ExManagerConsole::Draw(), ExManagerConsole::ExManagerConsole(), ExManagerObjectWindow::Init(), ExManagerInterface::Init(), ExManagerConsole::InputAction(), ExManagerLoad::LoadSetOfFile(), et ExManagerConsole::SetConsoleState().
00086 {m_Status=status;} |
|
|
Définition à la ligne 74 du fichier ExManager.h. Référencé par ExManagerWindow::Apply(), ExManagerCommand::ApplyAction(), ExManagerCommand::LoadExecFile(), ExManagerId::RecordObject(), ExManager::SetFlux(), et ExManagerSpecialEffect::Specialeffect(). |
|
Définition à la ligne 80 du fichier ExManagerMap.h. Référencé par Draw(), InputAction(), et Load(). |
|
Définition à la ligne 70 du fichier ExManager.h. Référencé par ExManager::AskForCommand(), ExManagerConsole::ExManagerConsole(), et ExManager::SetAskForCommand(). |
|
Définition à la ligne 71 du fichier ExManager.h. Référencé par ExManager::AskForExclusifCommand(), et ExManager::SetAskForExclusifCommand(). |
|
Définition à la ligne 26 du fichier ExManagerMap.cpp. Référencé par CreateSingleton(). |
|
Définition à la ligne 27 du fichier ExManagerMap.cpp. Référencé par CreateSingleton(). |
|
Définition à la ligne 69 du fichier ExManager.h. Référencé par ExManager::GetStatus(), et ExManager::SetStatus(). |
|
Définition à la ligne 79 du fichier ExManagerMap.h. Référencé par Load(), et SetManagerFog(). |
|
Définition à la ligne 77 du fichier ExManagerMap.h. Référencé par SetManagerId(). |
|
Définition à la ligne 78 du fichier ExManagerMap.h. Référencé par Load(), et SetManagerTexture(). |
|
Définition à la ligne 82 du fichier ExManagerMap.h. Référencé par Draw(), ExManagerMap(), InputAction(), Load(), et Reset(). |
|
Définition à la ligne 81 du fichier ExManagerMap.h. Référencé par Draw(), InputAction(), et Load(). |
|
Définition à la ligne 83 du fichier ExManagerMap.h. Référencé par Draw(), ExManagerMap(), InputAction(), Load(), et Reset(). |