-When building a client ticcmd from key/mouse input, a lovely hack is used to indicate the view should be centered when the pitch value is -32768.
-The pitch value sent to the server when serializing a ticcmd should be set to 0 in when the view is to be centered.
-This fixes the problem of the server assuming an incorrect view pitch value when the client toggles cl_mouselook.  Most often, the pitch would be such that rockets fire directly up, killing the player with splash damage when it explodes.

git-svn-id: http://odamex.net/svn/root/trunk@3321 b0bcef46-2027-0410-bd56-ab726e9a1d04
- Fix a warning

git-svn-id: http://odamex.net/svn/root/trunk@3322 b0bcef46-2027-0410-bd56-ab726e9a1d04
- Fix running wx 2.9.4 build of odalaunch on msw

git-svn-id: http://odamex.net/svn/root/trunk@3323 b0bcef46-2027-0410-bd56-ab726e9a1d04
-Replace magic number -32768 in r3321 with constant CENTERVIEW.

git-svn-id: http://odamex.net/svn/root/trunk@3324 b0bcef46-2027-0410-bd56-ab726e9a1d04
- Fix spewing of gcc warnings: duplicate section ... has different size on wx 2.9.x builds due to an optimization setting
- Remove a broken file from the client project

git-svn-id: http://odamex.net/svn/root/trunk@3325 b0bcef46-2027-0410-bd56-ab726e9a1d04
Update file format.


git-svn-id: http://odamex.net/svn/root/trunk@3326 b0bcef46-2027-0410-bd56-ab726e9a1d04
- Fix 0xc000007b error when running an odalaunch binary built with mingw64 on windows 64bit

git-svn-id: http://odamex.net/svn/root/trunk@3327 b0bcef46-2027-0410-bd56-ab726e9a1d04
-Update the CMake build files to prevent linker errors on systems where the PortTime library is separate from the PortMidi library.

git-svn-id: http://odamex.net/svn/root/trunk@3328 b0bcef46-2027-0410-bd56-ab726e9a1d04
- Remove "initialization" code from dlg_main.cpp with player/server lists and instead do it in their own files with event EVT_WINDOW_CREATE

git-svn-id: http://odamex.net/svn/root/trunk@3329 b0bcef46-2027-0410-bd56-ab726e9a1d04
Eliminate error condition returns on some thread operations due to changes in libagar.


git-svn-id: http://odamex.net/svn/root/trunk@3330 b0bcef46-2027-0410-bd56-ab726e9a1d04
-If there are not enough parameters passed to the server's addmap command, just print the usage message and leave.


git-svn-id: http://odamex.net/svn/root/trunk@3331 b0bcef46-2027-0410-bd56-ab726e9a1d04
-Fix a bug in the order in which displayplayer is validated in CL_CheckDisplayPlayer.
-Fixes a crash that occurs when a displayplayer_id is changed to a spectator's id (bug 869).

git-svn-id: http://odamex.net/svn/root/trunk@3332 b0bcef46-2027-0410-bd56-ab726e9a1d04
-Add the server cvar sv_zdoomspawndelay, which will prevent players from respawning until a full second has passed after they died.
-This mimics ZDoom's hard-coded behavior.

git-svn-id: http://odamex.net/svn/root/trunk@3333 b0bcef46-2027-0410-bd56-ab726e9a1d04
-When loading a snapshot in a netdemo, perform team color and player color preference translations.
-Fixes bug 868.

git-svn-id: http://odamex.net/svn/root/trunk@3334 b0bcef46-2027-0410-bd56-ab726e9a1d04
Video resolution tweaks:

- Maximum resolution of 2880x1800 is enforced by vid_setmode.
- Resolutions above 2048x1536 no longer crash the game.
- I_CheckResolution() now refuses to switch to an unknown resolution in fullscreen.

git-svn-id: http://odamex.net/svn/root/trunk@3335 b0bcef46-2027-0410-bd56-ab726e9a1d04
-Kill players when they're forced to new teams when randcaps is called.
-Prevents players from being able to carry their own flag after changing teams if they were carrying the enemy flag before randcaps.

git-svn-id: http://odamex.net/svn/root/trunk@3336 b0bcef46-2027-0410-bd56-ab726e9a1d04
PortMIDI + Win32 fixes.

- Fix up PortMIDI CMake module.
- Add an all-in-one zip file with needed includes and libraries.

git-svn-id: http://odamex.net/svn/root/trunk@3337 b0bcef46-2027-0410-bd56-ab726e9a1d04
ZIP files don't belong in SVN.  Figure out some other place to put it.

git-svn-id: http://odamex.net/svn/root/trunk@3338 b0bcef46-2027-0410-bd56-ab726e9a1d04
-Apply AmateurSpammer's fix to display the score of the player being watched with the spy command instead of the console player's score.  Also fixed the point spread in a similar manner. Addresses bug 893. Thanks AmateurSpammer

git-svn-id: http://odamex.net/svn/root/trunk@3339 b0bcef46-2027-0410-bd56-ab726e9a1d04
- Split up svc_serversettings message into multiple packets if need be for client
- Use a soft limit of around 500 bytes per packet, a safe size is 576 but this can grow depending on the size of a cvar and its contents
- Add TODO comments to remove the redundant "start/end" markers for 0.7
- 0.6.1 compatible

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