equal
deleted
inserted
replaced
46 enum Type { |
46 enum Type { |
47 BUS, ///< A standard stop for buses |
47 BUS, ///< A standard stop for buses |
48 TRUCK ///< A standard stop for trucks |
48 TRUCK ///< A standard stop for trucks |
49 }; |
49 }; |
50 |
50 |
51 static const int cDebugCtorLevel = 3; ///< Debug level on which Contructor / Destructor messages are printed |
51 static const int cDebugCtorLevel = 5; ///< Debug level on which Contructor / Destructor messages are printed |
52 static const uint LIMIT = 16; ///< The maximum amount of roadstops that are allowed at a single station |
52 static const uint LIMIT = 16; ///< The maximum amount of roadstops that are allowed at a single station |
53 static const uint MAX_BAY_COUNT = 2; ///< The maximum number of loading bays |
53 static const uint MAX_BAY_COUNT = 2; ///< The maximum number of loading bays |
54 |
54 |
55 TileIndex xy; ///< Position on the map |
55 TileIndex xy; ///< Position on the map |
56 byte status; ///< Current status of the Stop. Like which spot is taken. Access using *Bay and *Busy functions. |
56 byte status; ///< Current status of the Stop. Like which spot is taken. Access using *Bay and *Busy functions. |
152 uint16 random_bits; |
152 uint16 random_bits; |
153 byte waiting_triggers; |
153 byte waiting_triggers; |
154 |
154 |
155 StationRect rect; ///< Station spread out rectangle (not saved) maintained by StationRect_xxx() functions |
155 StationRect rect; ///< Station spread out rectangle (not saved) maintained by StationRect_xxx() functions |
156 |
156 |
157 static const int cDebugCtorLevel = 3; |
157 static const int cDebugCtorLevel = 5; |
158 |
158 |
159 Station(TileIndex tile = 0); |
159 Station(TileIndex tile = 0); |
160 virtual ~Station(); |
160 virtual ~Station(); |
161 |
161 |
162 void QuickFree(); |
162 void QuickFree(); |