diff options
author | frosch <frosch@openttd.org> | 2011-10-03 17:22:56 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2011-10-03 17:22:56 +0000 |
commit | 5be8f732049daa97fd212ed9b91354d3b146d99d (patch) | |
tree | 95b0fbac40c2002c8fcc2225506b4ab4ef48ed55 /src/company_base.h | |
parent | fafa06e821d27eaa6345d8a043a4a21b7c6e6381 (diff) | |
download | openttd-5be8f732049daa97fd212ed9b91354d3b146d99d.tar.xz |
(svn r22980) -Add: GroupStatistics for DEFAULT_GROUP.
Diffstat (limited to 'src/company_base.h')
-rw-r--r-- | src/company_base.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/company_base.h b/src/company_base.h index d90e525ed..c8979a35d 100644 --- a/src/company_base.h +++ b/src/company_base.h @@ -20,6 +20,7 @@ #include "economy_type.h" #include "tile_type.h" #include "settings_type.h" +#include "group.h" struct CompanyEconomyEntry { Money income; @@ -105,6 +106,7 @@ struct Company : CompanyPool::PoolItem<&_company_pool>, CompanyProperties { EngineRenewList engine_renew_list; ///< Engine renewals of this company. CompanySettings settings; ///< settings specific for each company uint16 *num_engines; ///< caches the number of engines of each type the company owns (no need to save this) + GroupStatistics group_default[VEH_COMPANY_END]; ///< NOSAVE: Statistics for the DEFAULT_GROUP group. /** * Is this company a valid company, controlled by the computer (a NoAI program)? |