Add CMakeLists - hardcode libraries for now
Add OVR_CAPI for 0.4.3; change references to point to version in source
Remove old broken Makefile (so CMake doesn't get confused
Replace non-standard '\' with '/' in #includes; include <unistd.h> instead of direct.h for non-windows platforms
Fix Fog function in FOG_DISABLED block
Add _MAX_PATH definition and use offsetof() instead of zero pointer hack
Fix broken pointer stuff in p_text.c
Fix up Linux backend; only use net_udp.c and q_shlinux.c - use sdl2 backend for everything else
Fix incompatible return values for GLimp_Init (qboolean -> int32_t); also include stdint.h
Add #ifdef guards around win32-specific stuff in sys_sdl2.c; Use SDL for clipboard
Add definitions for TRUE, FALSE, and FAR to r_local.h
Remove duplicate definition of r_avertexnormals from r_vlights.c
Add stricmp -> strcasecmp alias for non-win32 platforms
Fix incompatible prototype for ColorLookup
Fix srand in r_warp.c
Use int32_t instead of long for hashes
Add printf() to Com_Printf
Remove SRGB from gl_sdl2.c
Use system jpeglib.h on linux
Add _GNU_SOURCE so mremap() prototype gets loaded - otherwise, it defaults to a return value of int, too small to store a pointer