From 3d0c6b7f980566373448dcbc247245fedabf6392 Mon Sep 17 00:00:00 2001 From: Jakob Fries Date: Fri, 10 Aug 2007 11:03:16 +0000 Subject: generic line wrapping --- src/engine/interface.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/engine/interface.h') diff --git a/src/engine/interface.h b/src/engine/interface.h index 4d92e87f..f7a95c61 100644 --- a/src/engine/interface.h +++ b/src/engine/interface.h @@ -768,7 +768,7 @@ int client_tickspeed(); int client_state(); const char *client_error_string(); -void gfx_pretty_text(float x, float y, float size, const char *text); +void gfx_pretty_text(float x, float y, float size, const char *text, int max_width = -1); float gfx_pretty_text_width(float size, const char *text, int length = -1); void gfx_getscreen(float *tl_x, float *tl_y, float *br_x, float *br_y); -- cgit 1.4.1