summaryrefslogtreecommitdiff
path: root/src/water_cmd.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/water_cmd.cpp')
-rw-r--r--src/water_cmd.cpp15
1 files changed, 10 insertions, 5 deletions
diff --git a/src/water_cmd.cpp b/src/water_cmd.cpp
index a5cc258b3..82260738a 100644
--- a/src/water_cmd.cpp
+++ b/src/water_cmd.cpp
@@ -86,7 +86,8 @@ static void MarkCanalsAndRiversAroundDirty(TileIndex tile)
}
-/** Build a ship depot.
+/**
+ * Build a ship depot.
* @param tile tile where ship depot is built
* @param flags type of operation
* @param p1 bit 0 depot orientation (Axis)
@@ -183,7 +184,8 @@ static CommandCost RemoveShipDepot(TileIndex tile, DoCommandFlag flags)
return CommandCost(EXPENSES_CONSTRUCTION, _price[PR_CLEAR_DEPOT_SHIP]);
}
-/** Builds a lock.
+/**
+ * Builds a lock.
* @param tile Central tile of the lock.
* @param dir Uphill direction.
* @param flags Operation to perform.
@@ -244,7 +246,8 @@ static CommandCost DoBuildLock(TileIndex tile, DiagDirection dir, DoCommandFlag
return cost;
}
-/** Remove a lock.
+/**
+ * Remove a lock.
* @param tile Central tile of the lock.
* @param flags Operation to perform.
* @return The cost in case of success, or an error code if it failed.
@@ -277,7 +280,8 @@ static CommandCost RemoveLock(TileIndex tile, DoCommandFlag flags)
return CommandCost(EXPENSES_CONSTRUCTION, _price[PR_CLEAR_LOCK]);
}
-/** Builds a lock.
+/**
+ * Builds a lock.
* @param tile tile where to place the lock
* @param flags type of operation
* @param p1 unused
@@ -296,7 +300,8 @@ CommandCost CmdBuildLock(TileIndex tile, DoCommandFlag flags, uint32 p1, uint32
return DoBuildLock(tile, dir, flags);
}
-/** Build a piece of canal.
+/**
+ * Build a piece of canal.
* @param tile end tile of stretch-dragging
* @param flags type of operation
* @param p1 start tile of stretch-dragging