| Old revision #pbabrqnc1 | New revision #pwmbeu9w0 | ||
|---|---|---|---|
| 1 | /** | ||
| 2 | * Make a ship depot section. | ||
| 3 | * @param t Tile to place the ship depot section. | ||
| 4 | * @param owner_depot Owner of the depot. | ||
| 5 | * @param owner_canal Owner of the canal (only set if it's placed on canal). | ||
| 6 | * @param did Depot ID. | ||
| 7 | * @param part Depot part (either #DEPOT_PART_NORTH or #DEPOT_PART_SOUTH). | ||
| 8 | * @param a Axis of the depot. | ||
| 9 | * @param original_water_class Original water class. | ||
| 10 | */ | ||
| 1 | static inline void MakeShipDepot(TileIndex t, Owner owner_depot, Owner owner_canal, DepotID did, DepotPart part, Axis a, WaterClass original_water_class) | 11 | static inline void MakeShipDepot(TileIndex t, Owner owner_depot, Owner owner_canal, DepotID did, DepotPart part, Axis a, WaterClass original_water_class) |
| 2 | { | 12 | { |
| 3 | SetTileType(t, MP_WATER); | 13 | SetTileType(t, MP_WATER); |