Fix a spawn strings paste error.
Always set g_disabled* on map start. (Affects native code.)
Allow disabling votes on a per-map basis.

To use, set g_disabledVoteCalls to a list of vote names at map start-up.
This is best done from the map rotation.

This function does not distinguish between callvote and callteamvote.
tr_types.h is part of the VM ABI: adjust recent changes for compatibility.
dlopen libopenal.so not libopenal.so.1 on OpenBSD
make the fread() success-check code in Sys_RandomBytes() more secure
when using the condump command, do not say "dumped console text" prematurely, before trying to open the file
Avoid duplicate shadows through inverse dlights.
Don't create unused renderbuffers.

The engine binds textures to these FBOs, so the renderbuffers weren't
used. Also they generated warnings during startup as ALPHA16F is not supported
by all GPUs.
Prefer ‘-Og’ and ‘-g3’, where supported, for debug builds.

-g3 adds debug info regarding macro expansion.
-Og = -O1 without debug-unfriendly optimisations; needs gcc >= 4.8.
Tidy up CMakeFiles usage; use the main CMakeFiles for most subprojects.
Tell basepak.sh about build directories.
Use hw gamma by default on Windows
Rework network port handling.

Unless acting as a server, let the system select port numbers.
Client binaries will re-open their sockets when entering and leaving server mode.
Client port numbers are not persistent across server mode.

Servers will not try to open ports < 1024.

The “opening socket” messages are reworked a little.

PORT_ANY is now defined as 0 to match standard networking usage.

Currently in-use port nos. are in net_currentPort and net_currentPort6.
Reconnection: save connect command; don't break this when starting a demo.

This fixes two problems:
* reconnection where both ends can use both IPv4 and IPv6
  - connect -6 unv.example.com // using IPv6
  - reconnect                  // but now IPv4?
* reconnection breakage due to demo playback
  Starting the demo overrode the saved server name.
  This led to the demo name being used as the server name.
Add FS_FOpenFileRead_Impure for local non-VM use.
/demo – demo files are never pure, so use FS_FOpenFileRead_Impure.

This fixes the /demo command when used while still connected to a pure server.
Clean up static variable usage in FS_FOpenFileRead_Filtered.
Refactor shadowing a bit and place inverse lights based on a trace.
Mark r_deferredShading as CVAR_CHEAT