station.h
changeset 1266 9dc5638fe8cc
parent 1247 01711347f9ac
child 1272 d3e09adb7736
--- a/station.h	Wed Feb 02 15:45:53 2005 +0000
+++ b/station.h	Wed Feb 02 16:16:43 2005 +0000
@@ -9,7 +9,7 @@
 	uint16 waiting_acceptance;
 	byte days_since_pickup;
 	byte rating;
-	byte enroute_from;
+	uint16 enroute_from;
 	byte enroute_time;
 	byte last_speed;
 	byte last_age;
@@ -20,10 +20,13 @@
 	RS_TRUCK
 } RoadStopType;
 
-enum { NUM_ROAD_STOPS = 250 };
-enum { ROAD_STOP_LIMIT = 8 };
-enum { NUM_SLOTS = 2 };
-enum { INVALID_SLOT = 0xFFFF };
+enum {
+	INVALID_STATION = 0xFFFF,
+	INVALID_SLOT = 0xFFFF,
+	NUM_SLOTS = 2,
+	ROAD_STOP_LIMIT = 8,
+	NUM_ROAD_STOPS = 250,
+};
 
 typedef struct RoadStop {
 	TileIndex xy;