(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)

This commit is contained in:
rubidium
2014-09-21 17:27:37 +00:00
parent 0584d36c0b
commit 6cee5310c1
2 changed files with 501 additions and 62 deletions

View File

@@ -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 */