summaryrefslogtreecommitdiffstats
path: root/src/graphics/engine/engine.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/graphics/engine/engine.h')
-rw-r--r--src/graphics/engine/engine.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/graphics/engine/engine.h b/src/graphics/engine/engine.h
index 79844c6..3f7f4f2 100644
--- a/src/graphics/engine/engine.h
+++ b/src/graphics/engine/engine.h
@@ -408,7 +408,9 @@ enum EngineRenderState
//! The transparent color (black = no)
ENG_RSTATE_TCOLOR_BLACK = (1<<16),
//! The transparent color (white = no)
- ENG_RSTATE_TCOLOR_WHITE = (1<<17)
+ ENG_RSTATE_TCOLOR_WHITE = (1<<17),
+ //! Mode for rendering text
+ ENG_RSTATE_TEXT = (1<<18)
};
@@ -776,8 +778,8 @@ public:
Math::Vector GetLookatPt();
float GetEyeDirH();
float GetEyeDirV();
- Math::IntPoint GetViewportSize();
- Math::IntPoint GetLastViewportSize();
+ Math::IntSize GetWindowSize();
+ Math::IntSize GetLastWindowSize();
void UpdateMatProj();
void ApplyChange();