Refactor: All routines in gl_tex.c/h which use ColorPalettes are now passed pointers to them rather than their associated indices in the list owned by the refresh module. R_ToColorPalette now results in a fatal error if given an invalid palette index.
Refactor: All routines in gl_tex.c/h which use ColorPalettes are now passed pointers to them rather than their associated indices in the list owned by the refresh module. R_ToColorPalette now results in a fatal error if given an invalid palette index.