summaryrefslogtreecommitdiff
path: root/src/gfx.cpp
diff options
context:
space:
mode:
authorTechGeekNZ <git@tech.geek.nz>2020-06-04 14:25:23 +1200
committerCharles Pigott <charlespigott@googlemail.com>2020-06-07 01:04:41 +0100
commit3d8597d42ef5ef10325389aa866c8c136cde9412 (patch)
tree110dcbcd504fc010d34e8374e3e32b41cf48a065 /src/gfx.cpp
parentb145ee310c042212ce5d6520383f7ef2e5691c21 (diff)
downloadopenttd-3d8597d42ef5ef10325389aa866c8c136cde9412.tar.xz
Cleanup: Add undocumented parameter to GetSpriteSize.
Diffstat (limited to 'src/gfx.cpp')
-rw-r--r--src/gfx.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gfx.cpp b/src/gfx.cpp
index 076837341..a5e577205 100644
--- a/src/gfx.cpp
+++ b/src/gfx.cpp
@@ -902,6 +902,7 @@ void DrawCharCentered(WChar c, int x, int y, TextColour colour)
* Get the size of a sprite.
* @param sprid Sprite to examine.
* @param[out] offset Optionally returns the sprite position offset.
+ * @param zoom The zoom level applicable to the sprite.
* @return Sprite size in pixels.
* @note The size assumes (0, 0) as top-left coordinate and ignores any part of the sprite drawn at the left or above that position.
*/