diff options
author | belugas <belugas@openttd.org> | 2007-11-04 00:08:57 +0000 |
---|---|---|
committer | belugas <belugas@openttd.org> | 2007-11-04 00:08:57 +0000 |
commit | e2c0f1faf75c1c81790f11c88f9ceee8d36916c0 (patch) | |
tree | 14a742a306f14c4d3afd56b725a7c6ffe7fb0e73 /src/gfx.cpp | |
parent | c871dc1dd51634f6ac49c803be8389088ee39d43 (diff) | |
download | openttd-e2c0f1faf75c1c81790f11c88f9ceee8d36916c0.tar.xz |
(svn r11374) -Codechange: Give meaning to the magical number that specifies the color of the text in a DrawString call.
Patch heavily based on BiBB's work (FS#1383)
Diffstat (limited to 'src/gfx.cpp')
-rw-r--r-- | src/gfx.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gfx.cpp b/src/gfx.cpp index b0802842c..8f8bb3137 100644 --- a/src/gfx.cpp +++ b/src/gfx.cpp @@ -562,7 +562,7 @@ BoundingRect GetStringBoundingBox(const char *str) * @param x offset from left side of the screen, if negative offset from the right side * @param y offset from top side of the screen, if negative offset from the bottom * @param real_color colour of the string, see _string_colormap in - * table/palettes.h or docs/ottd-colourtext-palette.png + * table/palettes.h or docs/ottd-colourtext-palette.png or the enum TextColour in gfx.h * @return the x-coordinates where the drawing has finished. If nothing is drawn * the originally passed x-coordinate is returned */ int DoDrawString(const char *string, int x, int y, uint16 real_color) |