Fix FS_Rename failing to rename file because directory doesn't exist
Add fallback for __func__ (ioq3 isn't compiled as c99 by default)

Using Debian gcc version 4.7.2 and clang 3.0-6.1 anyway.
Remove unused code for in_buttons[15]

button 15 is BUTTON_ANY, auto set if any key is pressed, so don't need client command for setting it.
Merge remote-tracking branch 'ioquake3/master'
Redo code for forcing SP to FFA in multiplayer
Add sv_dorestart to tell map_restart to do a full map load

Set sv_dorestart in game VM if g_gametype is changed, so g_gametype is less special in engine.

sv_dorestart is based on code in Open Arena.
Make game VM use flags for tracking cvar, team shader, and doing full restart

Moved modificationCount to end of structure, so don't have to initialize it to 0 in the cvar table.
Merge remote-tracking branch 'spearmint/master'

Conflicts:
	code/client/cl_input.c
	code/game/g_main.c
Remove some unused font load/drawing code from client
Don't setup game vm bot cvars in server

Add two variables to botlib.h libvars comment.
Merge remote-tracking branch 'spearmint/master'

The ifdefs stuff is already done in game vm.

Conflicts:
	code/server/sv_bot.c
List opus files in FS_GetFileList if ext is $sounds
Merge remote-tracking branch 'spearmint/master'
Fonts and npc files are referenced by name

NPC files will be needed by client. Why make TTF/OTF fonts special? (though I don't know why .menu was here to begin with)
Fix referencing pk3 with only qagame QVM
Merge remote-tracking branch 'ioquake3/master'

Conflicts:
	code/qcommon/files.c
Add trap_LAN_ServerIsInFavoriteList from WolfET

Allows checking if server is in favorites lists if using Team Arena style UI (favorites added using trap_LAN_AddServer).
Give botlib com_basegame for botlib.log path

Before it always used BASEGAME fallback code.
Don't scale shadow multipliers by overbrightbits, and improve documentation.
Merge remote-tracking branch 'ioquake3/master'