summaryrefslogtreecommitdiff
path: root/src/viewport_func.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2014-09-21 17:27:37 +0000
committerrubidium <rubidium@openttd.org>2014-09-21 17:27:37 +0000
commit4d619ad10e8a8b35b96b9772543c8fa46d5beb10 (patch)
tree00c9be1f2a1c49161d0c2655170b202da85e3127 /src/viewport_func.h
parent8415a159991acd2263607b7d1ed4bfeed802a316 (diff)
downloadopenttd-4d619ad10e8a8b35b96b9772543c8fa46d5beb10.tar.xz
(svn r26899) -Codechange: reduce the amount of tiles that needs to be drawn by taking the height of tiles into account instead of drawing way too many (ic111)
Diffstat (limited to 'src/viewport_func.h')
-rw-r--r--src/viewport_func.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/viewport_func.h b/src/viewport_func.h
index 7d86dda98..7eba50853 100644
--- a/src/viewport_func.h
+++ b/src/viewport_func.h
@@ -79,6 +79,8 @@ extern Point _tile_fract_coords;
void MarkTileDirtyByTile(TileIndex tile);
+int GetRowAtTile(int viewport_y, Point tile, bool bridge_correct);
+
Point GetViewportStationMiddle(const ViewPort *vp, const Station *st);
#endif /* VIEWPORT_FUNC_H */