#include <ExManagerOutput.h>
Inheritance diagram for ExManagerOutput:
|
Definition at line 43 of file ExManagerOutput.cpp. References ExManagerOutput(), and Guard. Referenced by ExManagerOutput(), and ~ExManagerOutput().
00044 { 00045 Guard(ExManagerOutput::ExManagerOutput(void)) 00046 UnGuard 00047 } |
|
Definition at line 49 of file ExManagerOutput.cpp. References ExManagerOutput(), and Guard.
00050 { 00051 Guard(ExManagerOutput::~ExManagerOutput(void)) 00052 UnGuard 00053 } |
|
Definition at line 29 of file ExManagerOutput.cpp. References CreateSingleton(), Guard, m_flag, and m_instance. Referenced by CreateSingleton(), and main().
00029 { 00030 Guard(ExManagerOutput* ExManagerOutput::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 ExManagerOutput; // Create the error log 00035 }else 00036 { 00037 std::cout<<"Error singleton already created"<<std::endl; 00038 } 00039 return m_instance; 00040 UnGuard 00041 } |
|
Definition at line 101 of file ExManagerOutput.cpp. References ExManagerCommand::ApplyAction(), ExManagerConsole::Draw(), ExManagerMenu::Draw(), ExManagerSpirit::Draw(), ExManagerNetwork::Draw(), ExManagerInterface::Draw(), ExManagerParticuleSystem::Draw(), ExManagerGizmo::Draw(), ExManagerModel::Draw(), ExManagerMap::Draw(), ExManagerCamera::Draw(), DrawScene(), ExManagerWindow::GetFpsState(), ExManagerWindow::GetGrilleState(), ExManager::GetStatus(), Guard, ManagerCamera, ManagerCommand, ManagerConsole, ManagerGizmo, ManagerInterface, ManagerMap, ManagerMenu, ManagerModel, ManagerNetwork, ManagerParticuleSystem, ManagerSpirit, ManagerWindow, and ExManagerWindow::ShowFps(). Referenced by DrawScene(), and reshape().
00102 { 00103 Guard(ExManagerOutput::DrawScene(void)) 00104 //glClear(GL_COLOR_BUFFER_BIT|GL_DEPTH_BUFFER_BIT|GL_ACCUM_BUFFER_BIT|GL_STENCIL_BUFFER_BIT); 00105 glClear(GL_COLOR_BUFFER_BIT|GL_DEPTH_BUFFER_BIT); 00106 ManagerCommand->ApplyAction(); 00107 //------------------------------------------- 00108 //Draw 3d Object 00109 //------------------------------------------- 00110 ManagerCamera->Draw(); 00111 //if(ManagerWindow->GetMotionBlurState()){ManagerWindow->MotionBlur();} 00112 ManagerMap->Draw(); 00113 ManagerModel->Draw(); 00114 ManagerGizmo->Draw(); 00115 ManagerParticuleSystem->Draw(); 00116 //ManagerLight->Draw(); 00117 if(ManagerWindow->GetGrilleState()){glCallList(GRILLE);} 00118 //------------------------------------------- 00119 //Draw 2d Object 00120 //------------------------------------------- 00121 if(ManagerInterface->GetStatus()){ManagerInterface->Draw();} 00122 if(ManagerWindow->GetFpsState())ManagerWindow->ShowFps(); 00123 ManagerNetwork->Draw(); 00124 ManagerSpirit->Draw(); 00125 //ManagerWindow->Specialeffect(); 00126 ManagerMenu->Draw(); 00127 ManagerConsole->Draw(); 00128 glFlush(); 00129 glutSwapBuffers(); 00130 UnGuard 00131 } |
|
Reimplemented from ExManager. Definition at line 60 of file ExManagerOutput.cpp. Referenced by Init(), InitManager(), Reset(), and SetGlutCallBack().
00061 { 00062 Guard(ExManagerOutput::Init(void)) 00063 glShadeModel(GL_SMOOTH); // Enable Smooth Shading 00064 glClearColor(0.0f, 0.0f, 0.0f, 0.5f); // Black Background 00065 glClearDepth(1.0f); // Depth Buffer Setup 00066 glDepthFunc(GL_LEQUAL); // The Type Of Depth Testing To Do 00067 glCullFace(GL_BACK); 00068 glEnable(GL_CULL_FACE); 00069 //glEnable(GL_LIGHTING); 00070 glPolygonMode(GL_FRONT,GL_FILL); 00071 glEnable(GL_COLOR_MATERIAL ); 00072 glEnable(GL_DEPTH_TEST); 00073 glEnable(GL_AUTO_NORMAL); 00074 glEnable(GL_NORMALIZE); 00075 glEnable(GL_ALPHA_TEST); 00076 //glLightModelf(GL_LIGHT_MODEL_TWO_SIDE,GL_FALSE); 00077 glLineWidth(1.5); 00078 glRenderMode(GL_RENDER); 00079 UnGuard 00080 } |
|
Reimplemented from ExManager. Definition at line 55 of file ExManagerOutput.cpp. References Init().
00056 { 00057 Init(); 00058 } |
|
|
Definition at line 121 of file ExManagerOutput.h. References ManagerFog. Referenced by SetManagerLink().
00121 {ManagerFog = Fog;} |
|
Definition at line 129 of file ExManagerOutput.h. References ManagerMap. Referenced by SetManagerLink().
00129 {ManagerMap = Map;} |
|
Definition at line 119 of file ExManagerOutput.h. Referenced by SetManagerLink().
00120 {ManagerCollision = Collision;} |
|
Definition at line 123 of file ExManagerOutput.h. References ManagerWindow. Referenced by SetManagerLink().
00123 {ManagerWindow = Window;} |
|
Definition at line 124 of file ExManagerOutput.h. References ManagerCommand. Referenced by SetManagerLink().
00124 {ManagerCommand = Command;} |
|
Definition at line 120 of file ExManagerOutput.h. References ManagerCollision. Referenced by SetManagerLink().
00120 {ManagerCollision = Collision;} |
|
Definition at line 131 of file ExManagerOutput.h. Referenced by SetManagerLink().
00131 {ManagerModel = Model;} |
|
Definition at line 126 of file ExManagerOutput.h. References ManagerMenu. Referenced by SetManagerLink().
00126 {ManagerMenu=Menu;} |
|
Definition at line 133 of file ExManagerOutput.h. References ManagerParticuleSystem. Referenced by SetManagerLink().
00133 {ManagerParticuleSystem = ParticuleSystem;} |
|
Definition at line 128 of file ExManagerOutput.h. References ManagerSpirit. Referenced by SetManagerLink().
00128 {ManagerSpirit=Spirit;} |
|
Definition at line 125 of file ExManagerOutput.h. References ManagerConsole. Referenced by SetManagerLink().
00125 {ManagerConsole=Console;} |
|
Definition at line 130 of file ExManagerOutput.h. References ManagerCamera. Referenced by SetManagerLink().
00130 {ManagerCamera = Cam;} |
|
Definition at line 134 of file ExManagerOutput.h. References ManagerLight. Referenced by SetManagerLink().
00134 {ManagerLight = Light;} |
|
Definition at line 132 of file ExManagerOutput.h. References ManagerGizmo. Referenced by SetManagerLink().
00132 {ManagerGizmo = Gizmo;} |
|
Definition at line 127 of file ExManagerOutput.h. References ManagerInterface. Referenced by SetManagerLink().
00127 {ManagerInterface=Interface;} |
|
Definition at line 122 of file ExManagerOutput.h. Referenced by SetManagerLink().
00122 {ManagerAnim = Anim;} |
|
Definition at line 26 of file ExManagerOutput.cpp. Referenced by CreateSingleton(). |
|
Definition at line 27 of file ExManagerOutput.cpp. Referenced by CreateSingleton(). |
|
Definition at line 89 of file ExManagerOutput.h. |
|
Definition at line 99 of file ExManagerOutput.h. Referenced by DrawScene(), and Reshape(). |
|
Definition at line 87 of file ExManagerOutput.h. |
|
Definition at line 91 of file ExManagerOutput.h. Referenced by DrawScene(). |
|
Definition at line 92 of file ExManagerOutput.h. Referenced by DrawScene(). |
|
Definition at line 88 of file ExManagerOutput.h. |
|
Definition at line 101 of file ExManagerOutput.h. Referenced by DrawScene(). |
|
Definition at line 94 of file ExManagerOutput.h. Referenced by DrawScene(). |
|
Definition at line 103 of file ExManagerOutput.h. |
|
Definition at line 98 of file ExManagerOutput.h. Referenced by DrawScene(). |
|
Definition at line 95 of file ExManagerOutput.h. Referenced by DrawScene(). |
|
Definition at line 100 of file ExManagerOutput.h. Referenced by DrawScene(). |
|
Definition at line 104 of file ExManagerOutput.h. Referenced by DrawScene(). |
|
Definition at line 102 of file ExManagerOutput.h. Referenced by DrawScene(). |
|
Definition at line 96 of file ExManagerOutput.h. Referenced by DrawScene(). |
|
Definition at line 90 of file ExManagerOutput.h. Referenced by DrawScene(), and Reshape(). |