#include <ExManagerOutput.h>
|
Definition at line 26 of file ExManagerOutput.cpp. References ExManagerOutput(), Guard, and UnGuard. Referenced by ExManagerOutput(), and ~ExManagerOutput().
00027 { 00028 Guard(ExManagerOutput::ExManagerOutput(void)) 00029 00030 UnGuard 00031 } |
|
Definition at line 33 of file ExManagerOutput.cpp. References ExManagerOutput(), Guard, and UnGuard.
00034 { 00035 Guard(ExManagerOutput::~ExManagerOutput(void)) 00036 UnGuard 00037 } |
|
|
Definition at line 44 of file ExManagerOutput.cpp. References Guard, Init(), and UnGuard. Referenced by Init(), InitManager(), Reset(), and SetGlutCallBack().
00045 { 00046 Guard(ExManagerOutput::Init(void)) 00047 glShadeModel(GL_SMOOTH); // Enable Smooth Shading 00048 glClearColor(0.0f, 0.0f, 0.0f, 0.5f); // Black Background 00049 glClearDepth(1.0f); // Depth Buffer Setup 00050 glDepthFunc(GL_LEQUAL); // The Type Of Depth Testing To Do 00051 glCullFace(GL_BACK); 00052 glEnable(GL_CULL_FACE); 00053 //glEnable(GL_LIGHTING); 00054 glEnable(GL_COLOR_MATERIAL ); 00055 glEnable(GL_DEPTH_TEST); 00056 glEnable(GL_AUTO_NORMAL); 00057 glEnable(GL_NORMALIZE); 00058 glEnable(GL_ALPHA_TEST); 00059 glLightModelf(GL_LIGHT_MODEL_TWO_SIDE,GL_FALSE); 00060 glLineWidth(1.5); 00061 UnGuard 00062 } |
|
Definition at line 39 of file ExManagerOutput.cpp. References Init().
00040 { 00041 Init(); 00042 } |
|
Definition at line 64 of file ExManagerOutput.cpp. References ExCCamera::Draw(), ExCCamera::GetClipFar(), ExCCamera::GetClipNear(), ExManagerCam::GetCurrentCam(), ExManagerWindow::GetResolutionX(), ExManagerWindow::GetResolutionY(), ExCCamera::GetZoom(), Guard, ManagerCam, ManagerWindow, Reshape(), ExManagerWindow::SetResolution(), and UnGuard. Referenced by reshape(), and Reshape().
00065 { 00066 Guard(ExManagerOutput::Reshape(int w,int h)) 00067 ManagerWindow->SetResolution(w,h); 00068 glMatrixMode(GL_PROJECTION); 00069 glLoadIdentity(); 00070 glViewport(0,0,ManagerWindow->GetResolutionX(),ManagerWindow->GetResolutionY()); 00071 gluPerspective(ManagerCam->GetCurrentCam()->GetZoom(), 00072 (1.0f *ManagerWindow->GetResolutionX() / ManagerWindow->GetResolutionY()), 00073 ManagerCam->GetCurrentCam()->GetClipNear(), 00074 ManagerCam->GetCurrentCam()->GetClipFar()); 00075 glMatrixMode(GL_MODELVIEW); 00076 glLoadIdentity(); 00077 ManagerCam->GetCurrentCam()->Draw(); 00078 UnGuard 00079 } |
|
Definition at line 80 of file ExManagerOutput.h. Referenced by SetManagerLink().
00080 {ManagerAnim = Anim;} |
|
Definition at line 82 of file ExManagerOutput.h. Referenced by SetManagerLink().
00082 {ManagerCam = Cam;} |
|
Definition at line 78 of file ExManagerOutput.h. Referenced by SetManagerLink().
00078 {ManagerCollision = Collision;} |
|
Definition at line 83 of file ExManagerOutput.h. Referenced by SetManagerLink().
00083 {ManagerCommand = Command;} |
|
Definition at line 85 of file ExManagerOutput.h. Referenced by SetManagerLink().
00085 {ManagerConsole=Console;} |
|
Definition at line 79 of file ExManagerOutput.h. Referenced by SetManagerLink().
00079 {ManagerFog = Fog;} |
|
Definition at line 84 of file ExManagerOutput.h. Referenced by SetManagerLink().
00084 {ManagerInterface=Interface;} |
|
Definition at line 76 of file ExManagerOutput.h. Referenced by SetManagerLink().
00076 {ManagerMap = Map;} |
|
Definition at line 86 of file ExManagerOutput.h. Referenced by SetManagerLink().
00086 {ManagerMenu=Menu;} |
|
Definition at line 77 of file ExManagerOutput.h. Referenced by SetManagerLink().
00077 {ManagerPVS = PVS;} |
|
Definition at line 81 of file ExManagerOutput.h. Referenced by SetManagerLink().
00081 {ManagerWindow = Window;} |
|
Definition at line 73 of file ExManagerOutput.h. Referenced by SetManagerLink(). |
|
Definition at line 53 of file ExManagerOutput.h. |
|
Definition at line 55 of file ExManagerOutput.h. |
|
Definition at line 51 of file ExManagerOutput.h. |
|
Definition at line 56 of file ExManagerOutput.h. Referenced by DrawScene(). |
|
Definition at line 59 of file ExManagerOutput.h. Referenced by DrawScene(). |
|
Definition at line 52 of file ExManagerOutput.h. |
|
Definition at line 57 of file ExManagerOutput.h. Referenced by DrawScene(). |
|
Definition at line 60 of file ExManagerOutput.h. Referenced by DrawScene(). |
|
Definition at line 58 of file ExManagerOutput.h. |
|
Definition at line 50 of file ExManagerOutput.h. Referenced by DrawScene(). |
|
Definition at line 54 of file ExManagerOutput.h. |
|
Referenced by SetManagerLink(). |