(svn r18028) -Codechange: unglobalise some functions

This commit is contained in:
rubidium
2009-11-09 10:40:33 +00:00
parent b2d7edddfa
commit 224f4e0197
38 changed files with 97 additions and 120 deletions

View File

@@ -14,7 +14,12 @@
#include "tunnelbridge_map.h"
TileIndex GetBridgeEnd(TileIndex tile, DiagDirection dir)
/**
* Finds the end of a bridge in the specified direction starting at a middle tile
* @param t the bridge tile to find the bridge ramp for
* @param d the direction to search in
*/
static TileIndex GetBridgeEnd(TileIndex tile, DiagDirection dir)
{
TileIndexDiff delta = TileOffsByDiagDir(dir);