Moved call to CL_SetFramerateCap() to UpdateVideoRef(). Future-proofed CL_SetFramerateCap() for higher refresh rates.
Renamed TextColor() and CL_StringSetParams in cl_string.c to CL_TextColor() and CL_StringSetParams(). Changed SetWindowLong() and GetWindowLong() calls in vid_dll.c to SetWindowLongPtr() and GetWindowLongPtr().