|
From: Yoda-JM <yo...@us...> - 2011-02-24 10:33:41
|
Author: Lasse Karkkainen <tro...@tr...>
Date: Mon Jan 24 00:46:05 2011 +0100
Add 3D to message dialogs
---
game/dialog.hh | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/game/dialog.hh b/game/dialog.hh
index 65b7d8e..b3e63a8 100644
--- a/game/dialog.hh
+++ b/game/dialog.hh
@@ -18,6 +18,8 @@ class Dialog {
}
/// draws dialogue
void draw() {
+ glutil::PushMatrix pm;
+ glTranslatef(0.0f, 0.0f, 0.1f); // Raise a bit in 3D
m_dialog.draw();
m_svgText.draw(m_text);
}
|