(Bug 941) Apply patch to correct "mean of death" for rocket splash damage.  Thanks RjY!

git-svn-id: http://odamex.net/svn/root/trunk@3596 b0bcef46-2027-0410-bd56-ab726e9a1d04
-Apply RjY's patch to fix restricting a seg's sidedef number to 0 or 1.
-Remove unused member variable seg_t::length.
-Recalculate a seg's offset rather than using value from the WAD, as some nodebuilders do not correctly calculate this value, resulting in texture misalignment (see bug 940). Thanks RjY

git-svn-id: http://odamex.net/svn/root/trunk@3597 b0bcef46-2027-0410-bd56-ab726e9a1d04
-Change W_FindLump to Killough's hash-table scheme for lump names. W_FindLump is used to iterate through all of the lumps with a matching name to merge into one resource.

git-svn-id: http://odamex.net/svn/root/trunk@3598 b0bcef46-2027-0410-bd56-ab726e9a1d04
-Add a few safety checks to the new code in W_FindLump.

git-svn-id: http://odamex.net/svn/root/trunk@3599 b0bcef46-2027-0410-bd56-ab726e9a1d04
-Revert a bit of code accidentally committed in r3599.

git-svn-id: http://odamex.net/svn/root/trunk@3600 b0bcef46-2027-0410-bd56-ab726e9a1d04
Update codeblocks VC targets to use 2010

git-svn-id: http://odamex.net/svn/root/trunk@3601 b0bcef46-2027-0410-bd56-ab726e9a1d04
-Generated 3 additional gamma tables for vanilla Doom gamma after deriving an equation to generate them.
-Add the client cvar vid_gammatype (default to 0) to allow selection between vanilla Doom gamma and ZDoom gamma.
-Fractional vanilla Doom gamma levels can be implemented in the future if so desired.

git-svn-id: http://odamex.net/svn/root/trunk@3602 b0bcef46-2027-0410-bd56-ab726e9a1d04
-Remove the vanilla Doom gammatable as it is now generated at runtime.
-Intermediate gammalevel values can now be used for the Doom gamma setting.

git-svn-id: http://odamex.net/svn/root/trunk@3603 b0bcef46-2027-0410-bd56-ab726e9a1d04
-Fix a bug that did not update the gamma level when it was adjusted incrementally.
-Made the gamma generation function more readable.

git-svn-id: http://odamex.net/svn/root/trunk@3604 b0bcef46-2027-0410-bd56-ab726e9a1d04
-Weapon preference check should check if there is a pending weapon change.

git-svn-id: http://odamex.net/svn/root/trunk@3605 b0bcef46-2027-0410-bd56-ab726e9a1d04
- Fix bug 945

git-svn-id: http://odamex.net/svn/root/trunk@3606 b0bcef46-2027-0410-bd56-ab726e9a1d04
-The server should remove the MF_SOLID flag from players when they change to spectators.
-Spectators are spawned without the MF_SOLID flag but since a client is not spawned as a spectator if they're already in the game when they issue the spectate command, it needs to be removed at that time.

git-svn-id: http://odamex.net/svn/root/trunk@3607 b0bcef46-2027-0410-bd56-ab726e9a1d04
-Fix the jiggling that occurs with stationary animated sprites due to columns not aligning with their neighbors properly.
-Based loosely on ZDoom 1.23's implementation of R_DrawMaskedColumn.

git-svn-id: http://odamex.net/svn/root/trunk@3608 b0bcef46-2027-0410-bd56-ab726e9a1d04
-Factor the <<10 out of R_MapLevelPlane and put it into R_DrawLevelPlane for a small speed boost.

git-svn-id: http://odamex.net/svn/root/trunk@3609 b0bcef46-2027-0410-bd56-ab726e9a1d04
-Remove a couple unnecessary casts from R_MapLevelPlane.

git-svn-id: http://odamex.net/svn/root/trunk@3610 b0bcef46-2027-0410-bd56-ab726e9a1d04
-Add P_SetSpectatorFlags() to initialize spectators with the MF_SPECTATOR and MF2_FLY flags and to remove the MF_SOLID flag.
-P_SetSpectatorFlags is now used when spawning a spectator on a new map and when a player in-game decides to become a spectator. The behavior should now be consistent between the two cases.

git-svn-id: http://odamex.net/svn/root/trunk@3611 b0bcef46-2027-0410-bd56-ab726e9a1d04
-r3598 broke merging of multiple SNDINFO lumps.
-Changed to use a simple linear-search since the oldest lump with a matching name needs to be found first, which would require the lump hash table buckets to use double-linked lists and would be more trouble than it's worth.

git-svn-id: http://odamex.net/svn/root/trunk@3612 b0bcef46-2027-0410-bd56-ab726e9a1d04
-Simplified the usage of W_FindLump by changing lastlump to be passed-by-value instead of a pointer.

git-svn-id: http://odamex.net/svn/root/trunk@3613 b0bcef46-2027-0410-bd56-ab726e9a1d04
-Change to using a statically allocated array for solidsegs rather than dynamically resizing it.

git-svn-id: http://odamex.net/svn/root/trunk@3614 b0bcef46-2027-0410-bd56-ab726e9a1d04
Merge remote-tracking branch 'trunk' into agargui2