summaryrefslogtreecommitdiff
path: root/src/group_type.h
diff options
context:
space:
mode:
authormichi_cc <michi_cc@openttd.org>2012-04-17 19:44:16 +0000
committermichi_cc <michi_cc@openttd.org>2012-04-17 19:44:16 +0000
commit37e321044a1c32873980fc6d75c45011639ca2f3 (patch)
treeaefe8b92c5cc387d178e23fad1dafd7cbc2aa872 /src/group_type.h
parent0daf3509227d476d7c869ce5c74906d7e3214565 (diff)
downloadopenttd-37e321044a1c32873980fc6d75c45011639ca2f3.tar.xz
(svn r24139) -Add: Creating a new vehicle group by drag and drop. (Based on patch by Juanjo)
Diffstat (limited to 'src/group_type.h')
-rw-r--r--src/group_type.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/group_type.h b/src/group_type.h
index ef93e91d9..530f31f1e 100644
--- a/src/group_type.h
+++ b/src/group_type.h
@@ -14,6 +14,7 @@
typedef uint16 GroupID; ///< Type for all group identifiers.
+static const GroupID NEW_GROUP = 0xFFFC; ///< Sentinel for a to-be-created group.
static const GroupID ALL_GROUP = 0xFFFD; ///< All vehicles are in this group.
static const GroupID DEFAULT_GROUP = 0xFFFE; ///< Ungrouped vehicles are in this group.
static const GroupID INVALID_GROUP = 0xFFFF; ///< Sentinel for invalid groups.