src/order_type.h
changeset 10285 82fa43e7b8f3
parent 10207 c291a21b304e
--- a/src/order_type.h	Thu Oct 23 17:42:40 2008 +0000
+++ b/src/order_type.h	Fri Oct 24 14:49:45 2008 +0000
@@ -122,7 +122,7 @@
 	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 @@
 	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 {