diff options
Diffstat (limited to 'src/order_type.h')
-rw-r--r-- | src/order_type.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/src/order_type.h b/src/order_type.h index 5ac9f89a1..3ffbdb6f1 100644 --- a/src/order_type.h +++ b/src/order_type.h @@ -122,7 +122,7 @@ enum ModifyOrderFlags { MOF_NON_STOP, ///< Passes a OrderNonStopFlags. MOF_UNLOAD, ///< Passes an OrderUnloadType. MOF_LOAD, ///< Passes an OrderLoadType - MOF_DEPOT_ACTION, ///< Toggle the 'service' if needed flag. + MOF_DEPOT_ACTION, ///< Selects the OrderDepotAction MOF_COND_VARIABLE, ///< A conditional variable changes. MOF_COND_COMPARATOR, ///< A comparator changes. MOF_COND_VALUE, ///< The value to set the condition to. @@ -130,6 +130,16 @@ enum ModifyOrderFlags { MOF_END }; +/** + * Depot action to switch to when doing a MOF_DEPOT_ACTION. + */ +enum OrderDepotAction { + DA_ALWAYS_GO, ///< Always go to the depot + DA_SERVICE, ///< Service only if needed + DA_STOP, ///< Go to the depot and stop there + DA_END +}; + /* Possible clone options */ enum { |