equal
deleted
inserted
replaced
152 static inline bool IsBuoyTile(TileIndex t) |
152 static inline bool IsBuoyTile(TileIndex t) |
153 { |
153 { |
154 return IsTileType(t, MP_STATION) && IsBuoy(t); |
154 return IsTileType(t, MP_STATION) && IsBuoy(t); |
155 } |
155 } |
156 |
156 |
|
157 static inline bool IsCanalBuoyTile(TileIndex t) |
|
158 { |
|
159 return IsBuoyTile(t) && !IsTileOwner(t, OWNER_WATER); |
|
160 } |
|
161 |
|
162 static inline bool IsSeaBuoyTile(TileIndex t) |
|
163 { |
|
164 return IsBuoyTile(t) && IsTileOwner(t, OWNER_WATER); |
|
165 } |
157 |
166 |
158 static inline bool IsHangarTile(TileIndex t) |
167 static inline bool IsHangarTile(TileIndex t) |
159 { |
168 { |
160 return IsTileType(t, MP_STATION) && IsHangar(t); |
169 return IsTileType(t, MP_STATION) && IsHangar(t); |
161 } |
170 } |