summaryrefslogtreecommitdiff
path: root/src/group.h
diff options
context:
space:
mode:
authorCharles Pigott <charlespigott@googlemail.com>2019-03-26 00:35:01 +0000
committerPeterN <peter@fuzzle.org>2019-03-27 06:58:48 +0000
commit49f7332b758f0fdcc70c2798a91fc1f0a4010971 (patch)
tree2ce5f3165ca133af83da16d4ec18d130851ff1ba /src/group.h
parent8890436af1e9dbff7279dd3cf4c3659a3ad973d6 (diff)
downloadopenttd-49f7332b758f0fdcc70c2798a91fc1f0a4010971.tar.xz
Feature #6053: Collapsible vehicle groups (3298)
Diffstat (limited to 'src/group.h')
-rw-r--r--src/group.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/group.h b/src/group.h
index 8bb8d794f..4c51e6ebd 100644
--- a/src/group.h
+++ b/src/group.h
@@ -73,6 +73,8 @@ struct Group : GroupPool::PoolItem<&_group_pool> {
Livery livery; ///< Custom colour scheme for vehicles in this group
GroupStatistics statistics; ///< NOSAVE: Statistics and caches on the vehicles in the group.
+ bool folded; ///< NOSAVE: Is this group folded in the group view?
+
GroupID parent; ///< Parent group
Group(CompanyID owner = INVALID_COMPANY);