equal
deleted
inserted
replaced
192 |
192 |
193 |
193 |
194 void StationPickerDrawSprite(int x, int y, RailType railtype, int image); |
194 void StationPickerDrawSprite(int x, int y, RailType railtype, int image); |
195 |
195 |
196 RoadStop * GetRoadStopByTile(TileIndex tile, RoadStopType type); |
196 RoadStop * GetRoadStopByTile(TileIndex tile, RoadStopType type); |
197 static inline RoadStopType GetRoadStopType(TileIndex tile) |
|
198 { |
|
199 return (_m[tile].m5 < 0x47) ? RS_TRUCK : RS_BUS; |
|
200 } |
|
201 |
|
202 RoadStop * GetPrimaryRoadStop(const Station *st, RoadStopType type); |
197 RoadStop * GetPrimaryRoadStop(const Station *st, RoadStopType type); |
203 uint GetNumRoadStops(const Station* st, RoadStopType type); |
198 uint GetNumRoadStops(const Station* st, RoadStopType type); |
204 RoadStop * AllocateRoadStop( void ); |
199 RoadStop * AllocateRoadStop( void ); |
205 void ClearSlot(Vehicle *v); |
200 void ClearSlot(Vehicle *v); |
206 |
201 |