station.h
changeset 3587 2eb52db0b872
parent 3580 607e4245d024
child 3687 109ec5cdb932
--- a/station.h	Tue Apr 18 21:17:54 2006 +0000
+++ b/station.h	Wed Apr 19 07:17:00 2006 +0000
@@ -41,6 +41,12 @@
 	struct RoadStop *prev;
 } RoadStop;
 
+typedef struct StationSpecList {
+	const StationSpec *spec;
+	uint32 grfid;      /// GRF ID of this custom station
+	uint8  localidx;   /// Station ID within GRF of station
+} StationSpecList;
+
 struct Station {
 	TileIndex xy;
 	RoadStop *bus_stops;
@@ -65,6 +71,10 @@
 	// trainstation width/height
 	byte trainst_w, trainst_h;
 
+	/** List of custom stations (StationSpecs) allocated to the station */
+	uint num_specs;
+	StationSpecList *speclist;
+
 	uint16 build_date;
 
 	//uint16 airport_flags;