remember any optimizations ideas i get

This commit is contained in:
codeimp 2008-11-26 06:45:26 +00:00
parent 0fee24865c
commit eef4390c84

View file

@ -0,0 +1,2 @@
The floor/ceiling surfaces in classic modes can be optimized by sorting them by texture. This would require keeping two lists of sector references in the 2D renderer. One list sorted by sector floor texture, the other sorted by sector ceiling texture. These lists are then used in an optimized routine for surface rendering. The lists need to be updated every time MapSet.Update is called (and possibly in other events as well).