Commonize vote cvar checking into one method call.

Also convert the voting source files to Allman style.

git-svn-id: http://odamex.net/svn/root/trunk@3703 b0bcef46-2027-0410-bd56-ab726e9a1d04
-Add support for ZDoom sector special 115 (instant kill) (bug 956).

git-svn-id: http://odamex.net/svn/root/trunk@3708 b0bcef46-2027-0410-bd56-ab726e9a1d04
-Use 64-bit intermediate calculations when resampling audio samples.
-Fixes integer overflows that lead to crashes (bug 950).

git-svn-id: http://odamex.net/svn/root/trunk@3709 b0bcef46-2027-0410-bd56-ab726e9a1d04
-Release any action keys that are held down when a player enters messagemode (bug 829).

git-svn-id: http://odamex.net/svn/root/trunk@3710 b0bcef46-2027-0410-bd56-ab726e9a1d04
-Fix a typo in r3708. Thanks for catching that Amateur Spammer

git-svn-id: http://odamex.net/svn/root/trunk@3711 b0bcef46-2027-0410-bd56-ab726e9a1d04
Add a document describing all of the uses of sv_gametype.

Useful for perhaps refactoring gametype functionality in the future.

git-svn-id: http://odamex.net/svn/root/trunk@3721 b0bcef46-2027-0410-bd56-ab726e9a1d04
-Fix a railgun aiming bug that occurred if the rail tracer hit a sky-wall hack.

git-svn-id: http://odamex.net/svn/root/trunk@3722 b0bcef46-2027-0410-bd56-ab726e9a1d04
Tweak P_ZMovement from r3617: looks like it was exploding missles a bit early, some code duplication, sould fix a few demo desyncs at least | Only launch a mushroom cloud serverside

git-svn-id: http://odamex.net/svn/root/trunk@3724 b0bcef46-2027-0410-bd56-ab726e9a1d04
-Fix a HOM on IDL2013L.WAD MAP06 slopes and clean up R_AddLine().

git-svn-id: http://odamex.net/svn/root/branches/rend32@3727 b0bcef46-2027-0410-bd56-ab726e9a1d04
New message: cl_say

This message allows you to pass along a player id for identifying who sent the message in an unambiguous way.  SV_Say() is changed to use this new message.

git-svn-id: http://odamex.net/svn/root/trunk@3728 b0bcef46-2027-0410-bd56-ab726e9a1d04
-Add a server cvar sv_maxunlagtime (default 1.0 seconds) that allows admins to set a maximum time for 'unlagged' player reconciliation. If a player's round-trip latency exceeds this value, the player has to lead his target by the difference between his latency and the sv_maxunlagtime.

git-svn-id: http://odamex.net/svn/root/trunk@3729 b0bcef46-2027-0410-bd56-ab726e9a1d04
-Remove AActor::roll (unused)

git-svn-id: http://odamex.net/svn/root/trunk@3730 b0bcef46-2027-0410-bd56-ab726e9a1d04
-Spawn a bullet puff instead of blood splats when shooting a teammate with sv_friendlyfire disabled.

git-svn-id: http://odamex.net/svn/root/trunk@3731 b0bcef46-2027-0410-bd56-ab726e9a1d04
-Fix a crash in r3731.

git-svn-id: http://odamex.net/svn/root/trunk@3732 b0bcef46-2027-0410-bd56-ab726e9a1d04
-Fix a vanilla physics bug with +moveup.

git-svn-id: http://odamex.net/svn/root/trunk@3733 b0bcef46-2027-0410-bd56-ab726e9a1d04
Only use the gi_menuhack_retail flag check where contextually appropriate.  It's technically not needed at all, but particularly screwed up some vanilla compat when checking the flag vs. checking the gamemode variable.  Also fix a slight error on the server for when to fall over to the next episode (retail vs. registered).

git-svn-id: http://odamex.net/svn/root/trunk@3734 b0bcef46-2027-0410-bd56-ab726e9a1d04
Merge from trunk to rend32

git-svn-id: http://odamex.net/svn/root/branches/rend32@3735 b0bcef46-2027-0410-bd56-ab726e9a1d04