Rate limit getchallenge
Merge remote-tracking branch 'ioquake3/master'
Don't try to fog flares with fogNum 0

fogNum 0 means no fog. Shaders don't try to apply fog color if fogNum is 0.

This was done to make things more consistent and fix a crash in iortcw MP using a user made map on GNU/Linux x86_64.
Let VMs get model bounds for all frames

Models have bounds for all frames, so let VMs get them all. Allow lerping between two frames.
Only allow model meshes to have SHADER_MAX_VERTEXES - 1 vertexes

The last index is used to check for buffer overflows. See RB_CheckOverflow and RB_EndSurface.
Fix IQM tess buffer overflow

Set the variables that use tess.numVertexes after calling RB_CHECKOVERFLOW() as it may set tess.numVertexes to 0!

Could cause visual issues and error "RB_EndSurface() - SHADER_MAX_VERTEXES hit".
Merge remote-tracking branch 'ioquake3/master'

Conflicts:
	code/renderergl1/tr_flares.c
	code/renderergl2/tr_flares.c
Merge remote-tracking branch 'spearmint/master'

Conflicts:
	code/cgame/cg_weapons.c
Move PATHMODE_* from q_shared.h to bg_misc.h

Use to be needed by client for usercmd_t creation, but that code was moved to cg_input.c
Fix r_speeds 4 in OpenGL2 renderer
Fix r_nocurves in OpenGL2 renderer

Check r_nocurves in surface cull.
While r_nocurves is enabled, don't use merged surfaces because merged curves would be renderer. (note: surface merging is enabled by r_mergeLeafSurfaces)
Merge remote-tracking branch 'ioquake3/master'

Conflicts:
	code/renderergl2/tr_world.c
OpenGL2: ET face/trisurf changes

Allow triangle surfaces to be lightmapped.
Allow face surfaces to have 1024 vertexes instead of 64 and optionally use vertex light.
Add ET foliage support to OpenGL2 renderer

Also add surfMins/surfMaxs from ET.
Increase SHADER_MAX_VERTEXES to 1025 to match ET
Fix R_SetParent changes in OpenGL2 ET foliage commit
Merge remote-tracking branch 'spearmint/master'
Merge remote-tracking branch 'ebx/master'