Fix some warnings.

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12041 d7cf8633-e32d-0410-b094-e92efae38249
COVERAGE! Also fixes prvm always running as PRVMSLOWINTERPRETER :(

Very basic implementation. Needs a persistent store later, I suppose, as
well as better output (e.g. for statements and coverage(), also show
function, file and line).

prvm_coverage 1: report function call coverage
prvm_coverage 2: report coverage() builtin coverage (compiler aided)
prvm_coverage 4: report statement coverage (SLOW)

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12042 d7cf8633-e32d-0410-b094-e92efae38249
Better coverage output.

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12043 d7cf8633-e32d-0410-b094-e92efae38249
Use an explicit jump table for QCVM instruction dispatch.

Also, duplicate the dispatch into the end of each case for additional
speedup (each of these branches gets a separate branch prediction slot
on many CPUs, which pays off quickly).

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12044 d7cf8633-e32d-0410-b094-e92efae38249
Use PreError() for warnings too. Simpler code!

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12045 d7cf8633-e32d-0410-b094-e92efae38249
Restructure profiling to allow easier statement coverage later.

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12046 d7cf8633-e32d-0410-b094-e92efae38249
Support statementprofiling in the fast interpreter.

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12047 d7cf8633-e32d-0410-b094-e92efae38249
sdl2: fix compile.

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12048 d7cf8633-e32d-0410-b094-e92efae38249
sdl2: fix mouse wheel

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12049 d7cf8633-e32d-0410-b094-e92efae38249
Always pass CDS_FULLSCREEN to ChangeDisplaySettings, fixes #1797.

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12050 d7cf8633-e32d-0410-b094-e92efae38249
Fix some d0_blind_id related bugs:

- Higher numbered CAs should have priority over lower numbered CAs,
  making CA 0 the "default" CA.
- Fix the "Authenticated connection to ..." message (no more -@- crap).

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12051 d7cf8633-e32d-0410-b094-e92efae38249
allow .rtlights files to have style values outside the range
0...MAX_LIGHTSTYLES - in particular, -1 is used by fte for unstyled
lights and this is a compatible behavior, just that the loader was
getting in the way.

for safety the MAX_LIGHTSTYLES comparison has been added to each use of
light->style in rendering.


git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12052 d7cf8633-e32d-0410-b094-e92efae38249
don't skip nearclip plane in R_CullBox as it is possible that the view
is in ortho mode


git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12053 d7cf8633-e32d-0410-b094-e92efae38249
make R_View_UpdateEntityVisible more readable and consistent


git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12054 d7cf8633-e32d-0410-b094-e92efae38249
increase MAX_PARTICLEEFFECTNAME and MAX_PARTICLEEFFECTINFO limits
(formerly 256,4096 and now 4096,8192)


git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12055 d7cf8633-e32d-0410-b094-e92efae38249
Clarify what sprintf does on %1$s %s

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12056 d7cf8633-e32d-0410-b094-e92efae38249
Fix very stupid typo by me in counting coverage() statements.

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12057 d7cf8633-e32d-0410-b094-e92efae38249
changed dpmaster.deathmask.net ip4 address, added ip6 address


git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12058 d7cf8633-e32d-0410-b094-e92efae38249
Properly make the blur conditional on non empty uservecs 1 and 2.

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12059 d7cf8633-e32d-0410-b094-e92efae38249
Make r_fxaa also enable postprocessing shaders so only one cvar is
needed to enable FXAA.

From: graphitemaster

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12060 d7cf8633-e32d-0410-b094-e92efae38249