diff options
author | peter1138 <peter1138@openttd.org> | 2007-06-12 11:22:32 +0000 |
---|---|---|
committer | peter1138 <peter1138@openttd.org> | 2007-06-12 11:22:32 +0000 |
commit | 78d797a6b7cbafb79d128550d95867482cf3e931 (patch) | |
tree | 2318fb83c6ee94fe4c568067e21ff837afb6888b /src/rail_cmd.cpp | |
parent | 105c7455aea5a8d3ec9729cd7f66077343e7134b (diff) | |
download | openttd-78d797a6b7cbafb79d128550d95867482cf3e931.tar.xz |
(svn r10111) -Codechange: Add new vehicle hash table for collision detection and finding vehicles on a tile. The hash area scanned is far smaller than the old hash table, which is now used for viewport updates only. This should give a significant performance improvement for games with many vehicles. (Based on work by 'B. N. SmatZ!' and 'madman2003')
Diffstat (limited to 'src/rail_cmd.cpp')
0 files changed, 0 insertions, 0 deletions