summaryrefslogtreecommitdiff
path: root/src/viewport.cpp
diff options
context:
space:
mode:
authoralberth <alberth@openttd.org>2009-08-14 18:41:03 +0000
committeralberth <alberth@openttd.org>2009-08-14 18:41:03 +0000
commit4eb155ccfb3c50892ad9c19d07921880851d943c (patch)
treead77425831c3d4e2295d803dc62d0649a3fc4b2a /src/viewport.cpp
parentab9995ddbce4c5743842f0703abb3f9288371222 (diff)
downloadopenttd-4eb155ccfb3c50892ad9c19d07921880851d943c.tar.xz
(svn r17171) -Doc: Additions and corrections of various doxygen strings.
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;