(svn r20474) -Cleanup: remove some unused code

This commit is contained in:
yexo
2010-08-12 21:36:43 +00:00
parent 662900c113
commit b4ec144af2
11 changed files with 4 additions and 166 deletions

View File

@@ -124,15 +124,6 @@ static uint NPFDistanceTrack(TileIndex t0, TileIndex t1)
return diagTracks * NPF_TILE_LENGTH + straightTracks * NPF_TILE_LENGTH * STRAIGHT_TRACK_LENGTH;
}
#if 0
static uint NTPHash(uint key1, uint key2)
{
/* This function uses the old hash, which is fixed on 10 bits (1024 buckets) */
return PATHFIND_HASH_TILE(key1);
}
#endif
/**
* Calculates a hash value for use in the NPF.
* @param key1 The TileIndex of the tile to hash