Skip to main content
Topic: r2376 - PaxDest on miniumap is too heavy (Read 3797 times) previous topic - next topic

r2376 - PaxDest on miniumap is too heavy

r2376
This is not a bug report. But PaxDest on miniumap is too heavy. Vehicles skip.
Is there any chance to speed up ?

Re: r2376 - PaxDest on miniumap is too heavy

Reply #1
THis is not finalized yet. MInimap will be accelerated anyway, since it is also too heavy on large maps.

Re: r2376 - PaxDest on miniumap is too heavy

Reply #2
This patch will speed up the minimap with PaxDest.

Edit: Added patch ;)

Edit2: Maybe we could put this new code in an function add_pax_dests() and also call this in calc_map? Then we don't need to query the sp**** matrix in calc_map_pixel.

Re: r2376 - PaxDest on miniumap is too heavy

Reply #3
The map only needs to redraw the visible area anyway. This would speed up the map dramatically for large maps. And the sp**** matrix mean, that we could save actually the whole map, imho ...

Every town asking the map for every p****engers is imho much more work than the map is doing. I will add you patch.