summaryrefslogtreecommitdiff
path: root/src/order_base.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/order_base.h')
-rw-r--r--src/order_base.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/order_base.h b/src/order_base.h
index 8cc3a29f4..12663b3c9 100644
--- a/src/order_base.h
+++ b/src/order_base.h
@@ -9,6 +9,8 @@
#include "oldpool.h"
#include "core/bitmath_func.hpp"
#include "cargo_type.h"
+#include "station_type.h"
+#include "vehicle_type.h"
DECLARE_OLD_POOL(Order, Order, 6, 1000)
@@ -40,6 +42,8 @@ struct Order : PoolItem<Order, OrderID, &_Order_pool> {
void Free();
void FreeChain();
+
+ bool ShouldStopAtStation(const Vehicle *v, StationID station) const;
};
static inline VehicleOrderID GetMaxOrderIndex()