Whales/Cataclysm — pull request #53 by kevingranade (2012-09-23 21:10:46+00:00)
Title: Optomize map draw

Adds caching of which map tiles contain a vehicle in order to greatly accelerate the very frequent calls to map::veh_at().
Test cases:
Spawn random character, run around at random for a while (until I encountered a zombie/accumulated 5K samples).
Pre-patch there 25% of profile hits are in veh_at(), Post-patch it's 5%.
Spawn random character, spawn truck, do doughnuts in a field for several minutes (about 10K samples). Pre-patch veh_at() accounts for 23% of samples, post-patch it's %11.