* first step to merge the ufoai menu/ui changes (rename of files)
* renamed ui_menus => ui_windows
* const + fixed warnings about mixed code and declarations
* added Cvar_Delete and Cmd_GetUserdata
* removed unused variables in CalcLightinfoExtents
* removed unused variables in ParseMapEntity
Mostly cosmetic tweaks to make the build a little more Apple friendly.
Compiling on OS X (but not working).
Add Mac hack for opening Cocoa before init'ing SDL; doesn't help tho.
Use SDL_opengl.h instead of our own checks.
Working OS X build.
Fix linux build.
Fix valgrind error on Net_Socket's ioctl.
Fix a valgrind warning around .obj mesh model loading.
Add valgrind suppressions file for fglrx on Ubuntu x64.
Draw the cursor.
Ridiculous cleanup so that I can properly fix the build for both Mac and Linux.
Break Z_* into mem.c and mem.h.
Move Com_CopyString to Z_CopyString since it's just a wrapper.
Make error codes an enum.
Remove unused EXEC_* macros.
Break filesystem code into its own libtool lib.  Same for mem, net, etc..
Intermediate commit for big reorg.