equal
deleted
inserted
replaced
65 return IsTileType(t, MP_WATER) && IsWater(t); |
65 return IsTileType(t, MP_WATER) && IsWater(t); |
66 } |
66 } |
67 |
67 |
68 static inline TileIndex GetOtherShipDepotTile(TileIndex t) |
68 static inline TileIndex GetOtherShipDepotTile(TileIndex t) |
69 { |
69 { |
70 return t + (HASBIT(_m[t].m5, 0) ? -1 : 1) * (HASBIT(_m[t].m5, 1) ? TileDiffXY(0, 1) : TileDiffXY(1, 0)); |
70 return t + (HasBit(_m[t].m5, 0) ? -1 : 1) * (HasBit(_m[t].m5, 1) ? TileDiffXY(0, 1) : TileDiffXY(1, 0)); |
71 } |
71 } |
72 |
72 |
73 static inline TileIndex IsShipDepot(TileIndex t) |
73 static inline TileIndex IsShipDepot(TileIndex t) |
74 { |
74 { |
75 return IS_INT_INSIDE(_m[t].m5, DEPOT_NORTH, DEPOT_END); |
75 return IS_INT_INSIDE(_m[t].m5, DEPOT_NORTH, DEPOT_END); |