From 9693ec3afb00f175553b7df905a1afa8676081e9 Mon Sep 17 00:00:00 2001 From: peter1138 Date: Mon, 23 Oct 2006 18:13:24 +0000 Subject: (svn r6908) - Codechange: Modify DrawStringMultiLine() to return the number of pixel lines used, and use it for drawing NewGRF additional text (mart3p) --- gfx.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gfx.h') diff --git a/gfx.h b/gfx.h index 9c7f91012..0976f4a0e 100644 --- a/gfx.h +++ b/gfx.h @@ -70,7 +70,7 @@ void GfxDrawLine(int left, int top, int right, int bottom, int color); BoundingRect GetStringBoundingBox(const char *str); void LoadStringWidthTable(void); void DrawStringMultiCenter(int x, int y, StringID str, int maxw); -void DrawStringMultiLine(int x, int y, StringID str, int maxw); +uint DrawStringMultiLine(int x, int y, StringID str, int maxw); void DrawDirtyBlocks(void); void SetDirtyBlocks(int left, int top, int right, int bottom); void MarkWholeScreenDirty(void); -- cgit v1.2.3-54-g00ecf