Added sv_monstershealth, which adjusts the health of monsters for a tougher coop experience.

git-svn-id: http://odamex.net/svn/root/trunk@3410 b0bcef46-2027-0410-bd56-ab726e9a1d04
Add weapon and monster damage scaling cvars.

git-svn-id: http://odamex.net/svn/root/trunk@3411 b0bcef46-2027-0410-bd56-ab726e9a1d04
New cvar to allow player to keep keys after getting killed.

git-svn-id: http://odamex.net/svn/root/trunk@3412 b0bcef46-2027-0410-bd56-ab726e9a1d04
Let the user know if a cvar is currently under client or server control.  Also allow "true" and "false" to be used on boolean cvars.

git-svn-id: http://odamex.net/svn/root/trunk@3413 b0bcef46-2027-0410-bd56-ab726e9a1d04
Add serverside variable that allows server to disable widescreen.

- Fix up r_widescreen slightly to account for potential fallbacks.

git-svn-id: http://odamex.net/svn/root/trunk@3414 b0bcef46-2027-0410-bd56-ab726e9a1d04
Force spectating in coop, with the ability to carry over your arsenal from the last level.

git-svn-id: http://odamex.net/svn/root/trunk@3415 b0bcef46-2027-0410-bd56-ab726e9a1d04
-Fix a renderer bug introduced in r3408 that caused 2-sided midtextures to not render when viewed from certain angles.
-BlastMaskedColumn would return without incrementing spryscale when part of the texture was outside the vertical viewing range of the screen.

git-svn-id: http://odamex.net/svn/root/trunk@3416 b0bcef46-2027-0410-bd56-ab726e9a1d04
-A little code cleanup in R_StoreWallRange

git-svn-id: http://odamex.net/svn/root/trunk@3417 b0bcef46-2027-0410-bd56-ab726e9a1d04
Remove deprecated usage of SDLMAIN_LIBRARY.

git-svn-id: http://odamex.net/svn/root/trunk@3418 b0bcef46-2027-0410-bd56-ab726e9a1d04
Fix cases of uninitialized keepinventory.

git-svn-id: http://odamex.net/svn/root/trunk@3419 b0bcef46-2027-0410-bd56-ab726e9a1d04
-Add several checks to prevent overreads when loading a (bad) patch_t lump. If the lump is invalid, replace it with a lump with width = height = 0.
-Fixes a crash when reading a PNG format CONBACK lump in MEGA5.WAD.

git-svn-id: http://odamex.net/svn/root/trunk@3420 b0bcef46-2027-0410-bd56-ab726e9a1d04
Add two new spectator-vote cvars.

- sv_vote_speccall allows and prevents players from voting as spectators.
- sv_vote_specvote allows and prevents players from voting as spectators.

git-svn-id: http://odamex.net/svn/root/trunk@3421 b0bcef46-2027-0410-bd56-ab726e9a1d04
-Change some floating point to fixed_t conversions to use the FLOAT2FIXED macro (as well as fixed_t to floating point) for consistency.

git-svn-id: http://odamex.net/svn/root/trunk@3422 b0bcef46-2027-0410-bd56-ab726e9a1d04
New mouse debug feature. hud_mousegraph.

- hud_mousegraph 1 will show a line graph for mouse X and Y movement.
- hud_mousegraph 2 will show a scatter plot for mouse X and Y movement.  Not as useful, but cooler looking.
- Replaces displaymouse.

git-svn-id: http://odamex.net/svn/root/trunk@3423 b0bcef46-2027-0410-bd56-ab726e9a1d04
- Update codeblocks project

git-svn-id: http://odamex.net/svn/root/trunk@3424 b0bcef46-2027-0410-bd56-ab726e9a1d04
Backport modern ZDoom teleport destination picker.

- Fixes teleports that use teleport destinations in Hexen map format.
- Both traditional sector tag and tid methods are supported.
- Buggy ZDoom 2.0.x teleports are not supported.

git-svn-id: http://odamex.net/svn/root/trunk@3425 b0bcef46-2027-0410-bd56-ab726e9a1d04
-Allow the server to change WAD files without forcing clients to reconnect.
-The server sends clients a svc_loadwad message and the client will load the appropriate WAD files without reconnecting, provided the client does not need to download the WAD files.

git-svn-id: http://odamex.net/svn/root/trunk@3426 b0bcef46-2027-0410-bd56-ab726e9a1d04
Move Widescreen selector to Video Settings.

git-svn-id: http://odamex.net/svn/root/trunk@3427 b0bcef46-2027-0410-bd56-ab726e9a1d04
-Created a function to test if the game is on an appropriate map to utilize co_level8soundfeature.
-Fixes a bug that only used the special level 8 attenuation on E1M8 and MAP08.

git-svn-id: http://odamex.net/svn/root/trunk@3428 b0bcef46-2027-0410-bd56-ab726e9a1d04
-Move the P_AproxDistance2 functions from s_sound.cpp to p_maputl.cpp for the purpose of common use.
-Remove the function MobjToMobjDistance from hu_elements.cpp and use P_AproxDistance2 instead.

git-svn-id: http://odamex.net/svn/root/trunk@3429 b0bcef46-2027-0410-bd56-ab726e9a1d04