diff options
Diffstat (limited to 'src/ui/displaytext.h')
-rw-r--r-- | src/ui/displaytext.h | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/src/ui/displaytext.h b/src/ui/displaytext.h index 9268088..b8af97e 100644 --- a/src/ui/displaytext.h +++ b/src/ui/displaytext.h @@ -22,8 +22,9 @@ #include "common/event.h" #include "common/misc.h" + #include "sound/sound.h" -//#include "old/d3dengine.h" + class CInstanceManager; @@ -31,6 +32,10 @@ class CInstanceManager; class CObject; class CSound; +namespace Gfx { + class CEngine; +} + namespace Ui {; class CInterface; @@ -59,8 +64,8 @@ public: void DisplayError(Error err, CObject* pObj, float time=10.0f); void DisplayError(Error err, Math::Vector goal, float height=15.0f, float dist=60.0f, float time=10.0f); - void DisplayText(const char *text, CObject* pObj, float time=10.0f, TextType type=TT_INFO); - void DisplayText(const char *text, Math::Vector goal, float height=15.0f, float dist=60.0f, float time=10.0f, TextType type=TT_INFO); + void DisplayText(char *text, CObject* pObj, float time=10.0f, TextType type=TT_INFO); + void DisplayText(char *text, Math::Vector goal, float height=15.0f, float dist=60.0f, float time=10.0f, TextType type=TT_INFO); void HideText(bool bHide); void ClearText(); bool ClearLastText(); |