summaryrefslogtreecommitdiff
path: root/src/viewport.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/viewport.cpp')
-rw-r--r--src/viewport.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/viewport.cpp b/src/viewport.cpp
index a7966a522..ba1b40f4a 100644
--- a/src/viewport.cpp
+++ b/src/viewport.cpp
@@ -2121,6 +2121,10 @@ void SetRedErrorSquare(TileIndex tile)
}
}
+/** Highlight \a w by \a h tiles at the cursor.
+ * @param w Width of the highlighted tiles rectangle.
+ * @param h Height of the highlighted tiles rectangle.
+ */
void SetTileSelectSize(int w, int h)
{
_thd.new_size.x = w * TILE_SIZE;