Branching for renderer experiments.
Killing off stale branches.
Notes on renderer rewrite.
Merging .project file fix from r1915 from trunk to experimental.
Huge fucking mess. Kinda works with r_programs 0.
Back out r_bsp_array stuff; will have to try that again when I figure out a decent approach for triangulating BSP polys. This changeset promotes materials to first-tier structs and fixes a lot of wasteful memory management in the renderer. Saves about 56MB (16%) of hunk memory on wake.bsp.
Replace memory-hungry surface sorting with qsort.
Use it_diffuse for materials so that they are freed at each level change.
Compiles but is totally fucked. This is just to assure ppl that I'm still working on Q2W.
It sorta runs in GDB now.
Fix BSP light source loading.
Kill a few stale command removals.
So now it runs without gdb, but bsp models are fucked and there are other issues.
Fix inline BSP models. Duh.
Use g_list_prepend in Z_Malloc_ as a small performance boost.
Use g_list_prepend for accumulating r_bsp_light_t.
Cleanups.
Remove r_soften, optimize image filtering for default brightness/contrast/saturation, and clean up image types enum.
Reclaim the first CS_MODELS spot for the BSP, and register models more smartly.
Stablez0r.