diff options
author | frosch <frosch@openttd.org> | 2011-10-03 17:23:41 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2011-10-03 17:23:41 +0000 |
commit | dd74536bef66a4e1d214caab38805d0c70acb075 (patch) | |
tree | b63a5d705ca0f724802d0cc2363c99f52a1de70a /src/group.h | |
parent | 5be8f732049daa97fd212ed9b91354d3b146d99d (diff) | |
download | openttd-dd74536bef66a4e1d214caab38805d0c70acb075.tar.xz |
(svn r22981) -Add: GroupStatistics for the ALL_GROUP.
Diffstat (limited to 'src/group.h')
-rw-r--r-- | src/group.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/group.h b/src/group.h index b543cbca4..557fdfbde 100644 --- a/src/group.h +++ b/src/group.h @@ -33,6 +33,7 @@ struct GroupStatistics { static GroupStatistics &Get(CompanyID company, GroupID id_g, VehicleType type); static GroupStatistics &Get(const Vehicle *v); + static GroupStatistics &GetAllGroup(const Vehicle *v); static void CountVehicle(const Vehicle *v, int delta); static void CountEngine(const Vehicle *v, int delta); |