(svn r18028) -Codechange: unglobalise some functions

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

View File

@@ -21,7 +21,14 @@
#include "date_func.h"
#include "landscape.h"
bool IsPossibleCrossing(const TileIndex tile, Axis ax)
/**
* Return if the tile is a valid tile for a crossing.
*
* @param tile the curent tile
* @param ax the axis of the road over the rail
* @return true if it is a valid tile
*/
static bool IsPossibleCrossing(const TileIndex tile, Axis ax)
{
return (IsTileType(tile, MP_RAILWAY) &&
GetRailTileType(tile) == RAIL_TILE_NORMAL &&