summaryrefslogtreecommitdiff
path: root/viewport.c
diff options
context:
space:
mode:
authortron <tron@openttd.org>2006-01-05 12:00:38 +0000
committertron <tron@openttd.org>2006-01-05 12:00:38 +0000
commit980e8f525b924491915571c2ed03469bd6751047 (patch)
tree198e1b2652c1c7e46b9cdcf60960e9b7bbaaa860 /viewport.c
parent1d88dfd4602de2fce8610ff965aca892c7bfd3ee (diff)
downloadopenttd-980e8f525b924491915571c2ed03469bd6751047.tar.xz
(svn r3364) Remove 3 unused functions (ScrollWindowToTile, AllocateWindowAutoPlace, AllocateWindowAutoPlace2)
Diffstat (limited to 'viewport.c')
-rw-r--r--viewport.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/viewport.c b/viewport.c
index b8db7ac1b..d0a287985 100644
--- a/viewport.c
+++ b/viewport.c
@@ -1792,13 +1792,6 @@ bool ScrollWindowTo(int x , int y, Window* w)
return true;
}
-/* scrolls the viewport in a window to a given tile */
-bool ScrollWindowToTile(TileIndex tile, Window* w)
-{
- return ScrollWindowTo(TileX(tile) * 16 + 8, TileY(tile) * 16 + 8, w);
-}
-
-
bool ScrollMainWindowTo(int x, int y)
{