summaryrefslogtreecommitdiff
path: root/src/order_type.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2008-04-10 08:30:15 +0000
committerrubidium <rubidium@openttd.org>2008-04-10 08:30:15 +0000
commite61dcab79d9dc3eba0b24094ee108606c970eac2 (patch)
tree81b8383f4d20454c1546e1f654d36905a9980922 /src/order_type.h
parent79cb5ec1c70e1661db721a9b5a1e21a375989a30 (diff)
downloadopenttd-e61dcab79d9dc3eba0b24094ee108606c970eac2.tar.xz
(svn r12648) -Feature: allow four different non-stop types in a single game instead of two. The "TTDP compatible order" setting now only sets the default behaviour of new trains.
-Feature: allow three different load type in a single game instead of two. One can choose full load all and full load any instead of full load being governed by the "full load any" patch setting.
Diffstat (limited to 'src/order_type.h')
-rw-r--r--src/order_type.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/order_type.h b/src/order_type.h
index 415fcb9b4..24fd1fc20 100644
--- a/src/order_type.h
+++ b/src/order_type.h
@@ -41,8 +41,8 @@ typedef TinyEnumT<OrderType> OrderTypeByte;
*/
enum OrderUnloadFlags {
OUF_UNLOAD_IF_POSSIBLE = 0, ///< Unload all cargo that the station accepts.
- OUFB_TRANSFER = 1 << 0, ///< Transfer all cargo onto the platform.
- OUFB_UNLOAD = 1 << 1, ///< Force unloading all cargo onto the platform, possibly not getting paid.
+ OUFB_UNLOAD = 1 << 0, ///< Force unloading all cargo onto the platform, possibly not getting paid.
+ OUFB_TRANSFER = 1 << 1, ///< Transfer all cargo onto the platform.
OUFB_NO_UNLOAD = 1 << 2, ///< Totally no unloading will be done.
};
@@ -51,8 +51,8 @@ enum OrderUnloadFlags {
*/
enum OrderLoadFlags {
OLF_LOAD_IF_POSSIBLE = 0, ///< Load as long as there is cargo that fits in the train.
- OLFB_FULL_LOAD = 1 << 2, ///< Full load the complete the consist.
- OLF_FULL_LOAD_ANY = 5, ///< Full load the a single cargo of the consist.
+ OLFB_FULL_LOAD = 1 << 1, ///< Full load the complete the consist.
+ OLF_FULL_LOAD_ANY = 3, ///< Full load the a single cargo of the consist.
};
/**
@@ -71,7 +71,7 @@ enum OrderNonStopFlags {
*/
enum OrderDepotTypeFlags {
ODTF_MANUAL = 0, ///< The player initiated this order manually.
- ODTFB_SERVICE = 1 << 2, ///< This depot order is because of the servicing limit.
+ ODTFB_SERVICE = 1 << 0, ///< This depot order is because of the servicing limit.
ODTFB_PART_OF_ORDERS = 1 << 1, ///< This depot order is because of a regular order.
};
@@ -80,7 +80,7 @@ enum OrderDepotTypeFlags {
*/
enum OrderDepotActionFlags {
ODATF_SERVICE_ONLY = 0, ///< Only service the vehicle.
- ODATFB_HALT = 1 << 2, ///< Service the vehicle and then halt it.
+ ODATFB_HALT = 1 << 0, ///< Service the vehicle and then halt it.
};
/**