diff options
author | smatz <smatz@openttd.org> | 2010-09-06 14:14:09 +0000 |
---|---|---|
committer | smatz <smatz@openttd.org> | 2010-09-06 14:14:09 +0000 |
commit | fd54943c7a0dfa421eaa403b1cd18f06ccc4c6b9 (patch) | |
tree | 28bbfab27e7cc9042011a294c6fa49f5800ea8bd /src/tilehighlight_type.h | |
parent | d2572f94d229ede57a9d5887c3f5de981d30ab43 (diff) | |
download | openttd-fd54943c7a0dfa421eaa403b1cd18f06ccc4c6b9.tar.xz |
(svn r20753) -Feature [FS#3999]: make it possible to select vehicle to clone and vehicle to clone orders from directly from vehicle lists and depot window
Diffstat (limited to 'src/tilehighlight_type.h')
-rw-r--r-- | src/tilehighlight_type.h | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/src/tilehighlight_type.h b/src/tilehighlight_type.h index 45069ffa2..88406203a 100644 --- a/src/tilehighlight_type.h +++ b/src/tilehighlight_type.h @@ -19,14 +19,15 @@ /** Highlighting draw styles */ enum HighLightStyle { - HT_NONE = 0x00, ///< default - HT_RECT = 0x10, ///< rectangle (stations, depots, ...) - HT_POINT = 0x20, ///< point (lower land, raise land, level land, ...) - HT_SPECIAL = 0x30, ///< special mode used for highlighting while dragging (and for tunnels/docks) - HT_DRAG = 0x40, ///< dragging items in the depot windows - HT_LINE = 0x08, ///< used for autorail highlighting (longer streches), lower bits: direction - HT_RAIL = 0x80, ///< autorail (one piece), lower bits: direction - HT_DRAG_MASK = 0xF8, ///< masks the drag-type + HT_NONE = 0x000, ///< default + HT_RECT = 0x010, ///< rectangle (stations, depots, ...) + HT_POINT = 0x020, ///< point (lower land, raise land, level land, ...) + HT_SPECIAL = 0x030, ///< special mode used for highlighting while dragging (and for tunnels/docks) + HT_DRAG = 0x040, ///< dragging items in the depot windows + 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_DRAG_MASK = 0x0F8, ///< masks the drag-type /* lower bits (used with HT_LINE and HT_RAIL): * (see ASCII art in autorail.h for a visual interpretation) */ |