Optimize: Store a ptr to material in animframe_t rather than a material type plus index so that there is no need to look it up.Moved R_PrecacheMaterial() into r_materials.cVarious other minor tweaks and cleanup.
View differences
Optimize: Store a ptr to material in animframe_t rather than a material type plus index so that there is no need to look it up.
Moved R_PrecacheMaterial() into r_materials.c
Various other minor tweaks and cleanup.