summaryrefslogtreecommitdiff
path: root/src/order_type.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/order_type.h')
-rw-r--r--src/order_type.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/order_type.h b/src/order_type.h
index 0c6f86542..0099c67c9 100644
--- a/src/order_type.h
+++ b/src/order_type.h
@@ -163,6 +163,16 @@ enum OrderDepotAction {
DA_END
};
+/**
+ * Enumeration for the data to set in CmdChangeTimetable.
+ */
+enum ModifyTimetableFlags {
+ MTF_WAIT_TIME, ///< Set wait time.
+ MTF_TRAVEL_TIME, ///< Set travel time.
+ MTF_END
+};
+template <> struct EnumPropsT<ModifyTimetableFlags> : MakeEnumPropsT<ModifyTimetableFlags, byte, MTF_WAIT_TIME, MTF_END, MTF_END, 2> {};
+
/* Possible clone options */
enum CloneOptions {