summaryrefslogtreecommitdiffstats
path: root/src/graphics/engine/engine.h
diff options
context:
space:
mode:
authorPiotr Dziwinski <piotrdz@gmail.com>2012-08-06 20:20:50 +0200
committerPiotr Dziwinski <piotrdz@gmail.com>2012-08-06 20:20:50 +0200
commitf7e78b21e9655604ba6fba1d068a9bf7f00b85a5 (patch)
tree51c54103d52ea420ea21608cdc9f9163959eb7bd /src/graphics/engine/engine.h
parent61bfb22f27f5216f989c023a5e39fad7e356d2d6 (diff)
downloadcolobot-f7e78b21e9655604ba6fba1d068a9bf7f00b85a5.tar.gz
colobot-f7e78b21e9655604ba6fba1d068a9bf7f00b85a5.tar.bz2
colobot-f7e78b21e9655604ba6fba1d068a9bf7f00b85a5.zip
Font rendering
- implemented rest of CText interface excluding some minor features
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();