summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoralberth <alberth@openttd.org>2010-12-24 14:56:21 +0000
committeralberth <alberth@openttd.org>2010-12-24 14:56:21 +0000
commit479d117c681a65000b7a0bcd3d44d1e2b9936070 (patch)
treef082d74cb27eeb433280dffe57f3367a0fbabab4
parent9cdd8c6d48df88db74cb5c3f15f0797ea02496a0 (diff)
downloadopenttd-479d117c681a65000b7a0bcd3d44d1e2b9936070.tar.xz
(svn r21622) -Doc: Clarify the documentation of highlighting constants somewhat.
-rw-r--r--src/tilehighlight_type.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tilehighlight_type.h b/src/tilehighlight_type.h
index e662aa965..291b950d4 100644
--- a/src/tilehighlight_type.h
+++ b/src/tilehighlight_type.h
@@ -27,8 +27,8 @@ enum HighLightStyle {
HT_LINE = 0x008, ///< used for autorail highlighting (longer streches), lower bits: direction
HT_RAIL = 0x080, ///< autorail (one piece), lower bits: direction
HT_VEHICLE = 0x100, ///< vehicle is accepted as target as well (bitmask)
- HT_DIAGONAL = 0x200, ///< Also allow 'diagonal rectangles'.
- HT_DRAG_MASK = 0x0F8, ///< masks the drag-type
+ HT_DIAGONAL = 0x200, ///< Also allow 'diagonal rectangles'. Only usable in combination with #HT_RECT or #HT_POINT.
+ HT_DRAG_MASK = 0x0F8, ///< Mask for the tile drag-type modes.
/* lower bits (used with HT_LINE and HT_RAIL):
* (see ASCII art in table/autorail.h for a visual interpretation) */