diff options
author | belugas <belugas@openttd.org> | 2008-08-09 02:11:46 +0000 |
---|---|---|
committer | belugas <belugas@openttd.org> | 2008-08-09 02:11:46 +0000 |
commit | e3ea3c8fbee464ec5016f6b80f05370a1d864afc (patch) | |
tree | 21bcddb917341b2d6b9e56064a35e05c915cec8d /src/gfx_func.h | |
parent | 788b625553f5a5f09d16a36c6d033ac71856892b (diff) | |
download | openttd-e3ea3c8fbee464ec5016f6b80f05370a1d864afc.tar.xz |
(svn r14027) -Codechange: Document a bit the DoDrawString function while removing yet som more magic numbers and one "false" colour
Diffstat (limited to 'src/gfx_func.h')
-rw-r--r-- | src/gfx_func.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gfx_func.h b/src/gfx_func.h index 3d8204ee8..dceb17ae6 100644 --- a/src/gfx_func.h +++ b/src/gfx_func.h @@ -87,7 +87,7 @@ 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); -int DoDrawString(const char *string, int x, int y, uint16 color); +int DoDrawString(const char *string, int x, int y, uint16 real_colour, bool multiline_skipping = true); int DoDrawStringTruncated(const char *str, int x, int y, uint16 color, uint maxw); void DrawStringCenterUnderline(int x, int y, StringID str, uint16 color); |