summaryrefslogtreecommitdiff
path: root/src/station_base.h
diff options
context:
space:
mode:
authorterkhen <terkhen@openttd.org>2011-06-04 21:21:00 +0000
committerterkhen <terkhen@openttd.org>2011-06-04 21:21:00 +0000
commit8e00fa39b2ba72ac494b728c8636ad06cd835b22 (patch)
tree501a1377603bd7955505450c462757fd6276ec50 /src/station_base.h
parent9f68c20d10886074b10b1d96e8cdce0dcc03436a (diff)
downloadopenttd-8e00fa39b2ba72ac494b728c8636ad06cd835b22.tar.xz
(svn r22542) -Add: Store cargo acceptance stats for stations.
Diffstat (limited to 'src/station_base.h')
-rw-r--r--src/station_base.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/station_base.h b/src/station_base.h
index 55bf91c4f..1e9244b23 100644
--- a/src/station_base.h
+++ b/src/station_base.h
@@ -29,8 +29,12 @@ static const byte INITIAL_STATION_RATING = 175;
struct GoodsEntry {
/** Status of this cargo for the station. */
enum GoodsEntryStatus {
- GES_ACCEPTANCE, ///< This cargo is currently being accepted by the station.
- GES_PICKUP, ///< This cargo has been picked up at this station at least once.
+ GES_ACCEPTANCE, ///< This cargo is currently being accepted by the station.
+ GES_PICKUP, ///< This cargo has been picked up at this station at least once.
+ GES_EVER_ACCEPTED, ///< The cargo has been accepted at least once.
+ GES_LAST_MONTH, ///< The cargo was accepted last month.
+ GES_CURRENT_MONTH, ///< The cargo was accepted this month.
+ GES_ACCEPTED_BIGTICK, ///< The cargo has been accepted since the last periodic processing.
};
GoodsEntry() :