(svn r27985) -Codechange: Convert VA2 switches into ones with non-overlapping ranges...
commit30f73d907a35a5264e5ca415cee58365cd22f8d8
authorfrosch <frosch@openttd.org>
Sun, 11 Mar 2018 13:21:27 +0000 (11 13:21 +0000)
committerfrosch <frosch@openttd.org>
Sun, 11 Mar 2018 13:21:27 +0000 (11 13:21 +0000)
tree632da54572eee03490f79358b637451e70413cb2
parent29dca1be3b3902568cbd83c90b560b98441f244d
(svn r27985) -Codechange: Convert VA2 switches into ones with non-overlapping ranges, sort them and resolve them using binary search. Speedup sprite resolving by about 7 percent.
src/newgrf.cpp
src/newgrf_spritegroup.cpp
src/newgrf_spritegroup.h