1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-29 09:29:10 +00:00

(svn r2644) - Fix: my name was mistyped ;p

- Add DoDrawStringCentered() and change the multiline strings in the about box to single-line ones
This commit is contained in:
Darkvater
2005-07-19 22:12:04 +00:00
parent 7c694f2553
commit f0c0c03c5f
4 changed files with 12 additions and 3 deletions

1
gfx.h
View File

@@ -38,6 +38,7 @@ void GfxScroll(int left, int top, int width, int height, int xo, int yo);
int DrawStringCentered(int x, int y, StringID str, uint16 color);
int DrawStringCenteredTruncated(int xl, int xr, int y, StringID str, uint16 color);
int DoDrawStringCentered(int x, int y, const char *str, uint16 color);
int DrawString(int x, int y, StringID str, uint16 color);
int DrawStringTruncated(int x, int y, StringID str, uint16 color, uint maxw);