Remove unused array joy_pressed
Fix bsp node surface bounds calculation

The mins of child node 0 was added twice
Remove unused cvar in_joystickDebug
Fix overstrike/insert logic being reversed in q3_ui
spearmint: g_public.h comment fixes
Fix Win32 compilation issue in Sys_StatFile
Merge pull request #195 from exidl/master

Fix Win32 compilation issue in Sys_StatFile
spearmint: Fix systeminfo after fs_game not being set on client

When fs_game was found the variable s was set to value of sv_gameTitle.
This caused a cvar with name from game title to be created and stopped
parsing the system info string. sv_pure and sv_cheats are after fs_game,
so they were not being set. Oops.
spearmint: Only check CVAR_NONEXISTENT in Cvar_Server_Set once
spearmint: Limit what Cvar_VM_Set can force change

Don't let VMs instantly change latched engine cvars. It can cause crashes
or other unhandled behavior. trap_Cvar_Set( "sv_maxclients", "100" ) use to
crash if server was running.

Don't let VMs change cheat cvar values when cheats are disabled. This can be
exploited using custom Team Arena menus or a modified CGame VM.

Don't let CGame change system info cvars when connected to remote server.
This could be used for enabling sv_cheats. Exploitable using the same
methods as setting cheat cvar values.

Only check for CVAR_NONEXISTENT once in Cvar_VM_Set.
Don't draw client console buffer past top of screen

Thanks @Pan7.
spearmint: Make refEntity_t shaderTime be an int instead of a float

Converting time to a float results in precision loss at long uptimes.

This commit doesn't fix that, but should be possible to fix by only changing engine now.
Restore drawing a cut off client console line in 1920x1080

The text lines don't meet at top of the sceen in 1920x1080, restore
drawing a cut off line across the top. In 640x480 this line isn't seen
at all. This is still better then trying to draw twice as many lines
than are actually seen (the way it was before the last commit).
Fix fast-math optimize flag for MinGW x86_64 build

Found by /dev/humancontroller.
Merge remote-tracking branch 'ioquake3/master'

Conflicts:
	code/client/cl_console.c
	code/q3_ui/ui_mfield.c
	code/sdl/sdl_input.c
spearmint: Range check joystick threshold

Fixes possible division by zero in mint-arena.
Merge branch 'master' into sdl2