equal
deleted
inserted
replaced
313 static inline bool IsBuoy(const Station* st) |
313 static inline bool IsBuoy(const Station* st) |
314 { |
314 { |
315 return st->had_vehicle_of_type & HVOT_BUOY; /* XXX: We should really ditch this ugly coding and switch to something sane... */ |
315 return st->had_vehicle_of_type & HVOT_BUOY; /* XXX: We should really ditch this ugly coding and switch to something sane... */ |
316 } |
316 } |
317 |
317 |
318 static inline bool IsBuoyTile(TileIndex tile) { |
318 static inline bool IsBuoyTile(TileIndex tile) |
|
319 { |
319 return IsTileType(tile, MP_STATION) && _m[tile].m5 == 0x52; |
320 return IsTileType(tile, MP_STATION) && _m[tile].m5 == 0x52; |
320 } |
321 } |
321 |
322 |
322 /* Get's the direction the station exit points towards. Ie, returns 0 for a |
323 /* Get's the direction the station exit points towards. Ie, returns 0 for a |
323 * station with the exit NE. */ |
324 * station with the exit NE. */ |