diff options
author | frosch <frosch@openttd.org> | 2011-08-30 20:21:01 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2011-08-30 20:21:01 +0000 |
commit | 4e5d841d666cf7e1f06918d008c2b4b723196f41 (patch) | |
tree | 238cc8a239996edee4fd52bed7f95574be6bffdc /src/order_type.h | |
parent | c9982cfbd41c04207e3cea04e4d969305f995a0c (diff) | |
download | openttd-4e5d841d666cf7e1f06918d008c2b4b723196f41.tar.xz |
(svn r22858) -Feature: Conditional order depending on remaining lifetime of a vehicle. (monoid)
Diffstat (limited to 'src/order_type.h')
-rw-r--r-- | src/order_type.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/src/order_type.h b/src/order_type.h index 8aafe5835..0c6f86542 100644 --- a/src/order_type.h +++ b/src/order_type.h @@ -110,12 +110,13 @@ DECLARE_ENUM_AS_BIT_SET(OrderDepotActionFlags) * Variables (of a vehicle) to 'cause' skipping on. */ enum OrderConditionVariable { - OCV_LOAD_PERCENTAGE, ///< Skip based on the amount of load - OCV_RELIABILITY, ///< Skip based on the reliability - OCV_MAX_SPEED, ///< Skip based on the maximum speed - OCV_AGE, ///< Skip based on the age - OCV_REQUIRES_SERVICE, ///< Skip when the vehicle requires service - OCV_UNCONDITIONALLY, ///< Always skip + OCV_LOAD_PERCENTAGE, ///< Skip based on the amount of load + OCV_RELIABILITY, ///< Skip based on the reliability + OCV_MAX_SPEED, ///< Skip based on the maximum speed + OCV_AGE, ///< Skip based on the age + OCV_REQUIRES_SERVICE, ///< Skip when the vehicle requires service + OCV_UNCONDITIONALLY, ///< Always skip + OCV_REMAINING_LIFETIME, ///< Skip based on the remaining lifetime OCV_END }; |