#include "global.h"#include "MercuryDisplay.h"#include "MercuryLog.h"#include "MercuryUtil.h"#include "MercuryINI.h"#include "MercuryMath.h"#include "MercuryTexture.h"#include "BMPWriter.h"#include "MercuryOGL.h"#include "MercuryDisplaySoftwareC.h"#include "MercuryInput.h"#include "MercuryWindowSDL.h"Go to the source code of this file.
Functions | |
| KeyMappingWithCode (print_scr,"0-316") | |
| REGISTER_STATEMENT_TO_MESSAGE (quit, quit, DISPLAY->CloseNextCycle();) REGISTER_STATEMENT_TO_COMMAND(quit | |
| DISPLAY | CloseNextCycle () |
| REGISTER_STATEMENT_TO_MESSAGE (screenshot, mappedinput, InputMessageStruct c(args);if(c.code==print_scr &&c.type==IET_RELEASE) DISPLAY->TakeScreenShot();) MercuryDisplay | |
| LookAtInternals | CalculateLookAtMatrix (const MercuryPoint &eye, const MercuryPoint ¢er, const MercuryPoint &up, MercuryMatrix &m) |
| MercuryDisplay * | MakeDisplayDriver () |
| MercuryPoint | PointToScreenCoord (const MercuryMatrix &proj, const MercuryMatrix &view, const MercuryPoint &p, const DisplayDimensions &bd) |
| Projection | Perspective (float fov, float aspect, float znear, float zfar) |
| Projection | Ortho (float left, float right, float bottom, float top, float zNear, float zFar) |
| MercuryMatrix | Frustum (float left, float right, float bottom, float top, float zNear, float zFar) |
| MercuryDisplay * | GetDisplay () |
Variables | |
| MercuryMatrixStack | WorldStack |
| MercuryMatrixStack | TextureStack |
| LookAtInternals CalculateLookAtMatrix | ( | const MercuryPoint & | eye, | |
| const MercuryPoint & | center, | |||
| const MercuryPoint & | up, | |||
| MercuryMatrix & | m | |||
| ) |
Definition at line 272 of file MercuryDisplay.cpp.
| DISPLAY CloseNextCycle | ( | ) |
| MercuryMatrix Frustum | ( | float | left, | |
| float | right, | |||
| float | bottom, | |||
| float | top, | |||
| float | zNear, | |||
| float | zFar | |||
| ) |
Definition at line 587 of file MercuryDisplay.cpp.
| MercuryDisplay* GetDisplay | ( | ) |
Definition at line 617 of file MercuryDisplay.cpp.
| KeyMappingWithCode | ( | print_scr | , | |
| "0-316" | ||||
| ) |
| MercuryDisplay* MakeDisplayDriver | ( | ) |
Definition at line 411 of file MercuryDisplay.cpp.
| Projection Ortho | ( | float | left, | |
| float | right, | |||
| float | bottom, | |||
| float | top, | |||
| float | zNear, | |||
| float | zFar | |||
| ) |
Definition at line 570 of file MercuryDisplay.cpp.
| Projection Perspective | ( | float | fov, | |
| float | aspect, | |||
| float | znear, | |||
| float | zfar | |||
| ) |
Definition at line 551 of file MercuryDisplay.cpp.
| MercuryPoint PointToScreenCoord | ( | const MercuryMatrix & | proj, | |
| const MercuryMatrix & | view, | |||
| const MercuryPoint & | p, | |||
| const DisplayDimensions & | bd | |||
| ) |
Definition at line 447 of file MercuryDisplay.cpp.
| REGISTER_STATEMENT_TO_MESSAGE | ( | screenshot | , | |
| mappedinput | , | |||
| InputMessageStruct c(args);if(c.code==print_scr &&c.type==IET_RELEASE) DISPLAY->TakeScreenShot(); | ||||
| ) |
Definition at line 52 of file MercuryDisplay.cpp.
| REGISTER_STATEMENT_TO_MESSAGE | ( | quit | , | |
| quit | , | |||
| DISPLAY->CloseNextCycle(); | ||||
| ) |
Definition at line 45 of file MercuryDisplay.cpp.
Definition at line 43 of file MercuryDisplay.cpp.