From cd6d5e6237acf659d75fa64568506c152ce41ec9 Mon Sep 17 00:00:00 2001 From: Jakob Fries Date: Tue, 25 Dec 2007 03:25:13 +0000 Subject: new fonts added, lots more magic font code added, server bug fixed --- src/engine/e_interface.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/engine/e_interface.h') diff --git a/src/engine/e_interface.h b/src/engine/e_interface.h index 9f86d4c8..a4f3baa9 100644 --- a/src/engine/e_interface.h +++ b/src/engine/e_interface.h @@ -856,7 +856,8 @@ void client_serverbrowse_update(); /* undocumented graphics stuff */ -void gfx_text(void *font, float x, float y, const char *text, float size); +void gfx_text(void *font, float x, float y, float size, const char *text, int max_width); +float gfx_text_width(void *font, float size, const char *text, int length); void gfx_pretty_text_color(float r, float g, float b, float a); void gfx_pretty_text(float x, float y, float size, const char *text, int max_width); float gfx_pretty_text_width(float size, const char *text, int length); -- cgit 1.4.1