equal
deleted
inserted
replaced
163 static inline bool IsDock(TileIndex t) |
163 static inline bool IsDock(TileIndex t) |
164 { |
164 { |
165 return GetStationType(t) == STATION_DOCK; |
165 return GetStationType(t) == STATION_DOCK; |
166 } |
166 } |
167 |
167 |
|
168 static inline bool IsDockTile(TileIndex t) |
|
169 { |
|
170 return IsTileType(t, MP_STATION) && GetStationType(t) == STATION_DOCK; |
|
171 } |
|
172 |
168 static inline bool IsBuoy(TileIndex t) |
173 static inline bool IsBuoy(TileIndex t) |
169 { |
174 { |
170 return GetStationType(t) == STATION_BUOY; |
175 return GetStationType(t) == STATION_BUOY; |
171 } |
176 } |
172 |
177 |