summaryrefslogtreecommitdiff
path: root/bridge_map.c
diff options
context:
space:
mode:
authorbelugas <belugas@openttd.org>2006-11-17 23:01:58 +0000
committerbelugas <belugas@openttd.org>2006-11-17 23:01:58 +0000
commit392fc3a45bb4f26f1a9d5c64faa586d2d20a0ae6 (patch)
treecb862a03cf34020ff230c133372a4be330d3a917 /bridge_map.c
parent9a8c1493216496eec8c822bd9db8650e8513c04d (diff)
downloadopenttd-392fc3a45bb4f26f1a9d5c64faa586d2d20a0ae6.tar.xz
(svn r7198) -Codechange: Implement a circular tile search function.
Just provide the number of tiles per side, a pointer to a test function, the tile to start searching and voila. Fixes [FS#364] by removing a lengthy and suboptimal random search pattern. Thanks Rubidium.
Diffstat (limited to 'bridge_map.c')
0 files changed, 0 insertions, 0 deletions