A limit-removing source port of Doom, Heretic and Hexen. It has numerous vanilla bug fixes, enhanced 640x400 and 1280x800 rendering resolutions, improved game palettes and offers many optional aesthetic game enhancements along with the maximum possible translation to the Russian language.
The idea is to get rid of global variables to let R_DrawSpan(Low) use pre-given values instead of gathering them from outside.
According to my benchmarks, this micro-optimization makes visplane drawing slightly faster on both extreme scenes (~+1-2 fps, testing level) and timedemo runs. Same potential probably lies in column drawing functions as well.
The idea is to get rid of global variables to let
R_DrawSpan(Low)
use pre-given values instead of gathering them from outside.According to my benchmarks, this micro-optimization makes visplane drawing slightly faster on both extreme scenes (~+1-2 fps, testing level) and timedemo runs. Same potential probably lies in column drawing functions as well.