From 4e5d841d666cf7e1f06918d008c2b4b723196f41 Mon Sep 17 00:00:00 2001 From: frosch Date: Tue, 30 Aug 2011 20:21:01 +0000 Subject: (svn r22858) -Feature: Conditional order depending on remaining lifetime of a vehicle. (monoid) --- src/order_type.h | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'src/order_type.h') 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 }; -- cgit v1.2.3-54-g00ecf