From fd54943c7a0dfa421eaa403b1cd18f06ccc4c6b9 Mon Sep 17 00:00:00 2001 From: smatz Date: Mon, 6 Sep 2010 14:14:09 +0000 Subject: (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 --- src/tilehighlight_type.h | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) (limited to 'src/tilehighlight_type.h') 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) */ -- cgit v1.2.3-54-g00ecf