diff options
Diffstat (limited to 'include/ui.hpp')
-rw-r--r-- | include/ui.hpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/ui.hpp b/include/ui.hpp index f1b44bb..7d9b9f5 100644 --- a/include/ui.hpp +++ b/include/ui.hpp @@ -95,6 +95,12 @@ namespace ui { float putText(const float x,const float y,const char *str,...); + /** + * This function is a facility for logic events to draw text; the text + * will be prepared then drawn in the render loop. + */ + void putTextL(vec2 c,const char *str, ...); + /* * Creates a dialogBox text string (format: `name`: `text`). This function simply sets up * variables that are drawn in ui::draw(). When the dialog box exists player control is |