summaryrefslogtreecommitdiff
path: root/src/gfx.cpp
diff options
context:
space:
mode:
authorbelugas <belugas@openttd.org>2007-11-04 00:08:57 +0000
committerbelugas <belugas@openttd.org>2007-11-04 00:08:57 +0000
commit56e6282f2f56d741634e30bba86fcfbd941bc285 (patch)
tree14a742a306f14c4d3afd56b725a7c6ffe7fb0e73 /src/gfx.cpp
parent9e69fc8114012c85cc1194a2ae73fb716dc95dde (diff)
downloadopenttd-56e6282f2f56d741634e30bba86fcfbd941bc285.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.cpp2
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)