diff options
Diffstat (limited to 'src/town.h')
-rw-r--r-- | src/town.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/town.h b/src/town.h index 35e3b84c8..068a2053a 100644 --- a/src/town.h +++ b/src/town.h @@ -78,6 +78,8 @@ struct Town : TownPool::PoolItem<&_town_pool> { TransportedCargoStat<uint16> received[NUM_TE]; ///< Cargo statistics about received cargotypes. uint32 goal[NUM_TE]; ///< Amount of cargo required for the town to grow. + char *text; ///< General text with additional information. + inline byte GetPercentTransported(CargoID cid) const { return this->supplied[cid].old_act * 256 / (this->supplied[cid].old_max + 1); } /* Cargo production and acceptance stats. */ |