-Ooops. Remove an accidental semi-colon at the end of the while-loop in OHashTable::generic_iterator constructor that causes an infinite-loop when constructing an iterator.

git-svn-id: http://odamex.net/svn/root/trunk@4482 b0bcef46-2027-0410-bd56-ab726e9a1d04
-Refactor P_ZMovement for clarity and to remove duplicated code.
-sv_gravity and gravity set by ACS scripts now work correctly with vanilla Doom physics.


git-svn-id: http://odamex.net/svn/root/trunk@4486 b0bcef46-2027-0410-bd56-ab726e9a1d04
-Refactor P_XYMovement for clarity.

git-svn-id: http://odamex.net/svn/root/trunk@4487 b0bcef46-2027-0410-bd56-ab726e9a1d04
-Rename PIT_RadiusAttack to PIT_DoomRadiusAttack.
-Change PIT_DoomRadiusAttack to respect sv_splashfactor like PIT_ZDoomRadiusAttack.

git-svn-id: http://odamex.net/svn/root/trunk@4488 b0bcef46-2027-0410-bd56-ab726e9a1d04
-Add support for Freedoom's new IWAD filenames (bug 1033).

git-svn-id: http://odamex.net/svn/root/trunk@4489 b0bcef46-2027-0410-bd56-ab726e9a1d04
-Use integer instead of floating-point calculations to determine if pillar-boxing or letter-boxing should be used.

git-svn-id: http://odamex.net/svn/root/trunk@4491 b0bcef46-2027-0410-bd56-ab726e9a1d04
-Rewrite S_AdjustSoundParams for both vanilla and ZDoom versions.
-Fix incorrect behavior for level 8 sound effects. co_level8soundfeature now works correctly for both vanilla and ZDoom sound curves.

git-svn-id: http://odamex.net/svn/root/trunk@4492 b0bcef46-2027-0410-bd56-ab726e9a1d04
-Clean up S_AdjustSoundParams a bit more.

git-svn-id: http://odamex.net/svn/root/trunk@4493 b0bcef46-2027-0410-bd56-ab726e9a1d04
-Add start_time field to channel_t for sounds and modify S_CompareSounds to give precedence to more recent sounds when sorting.
-Refactor S_GetChannel, S_StartSound and S_StopChannel.
-Remove the client CVAR snd_timeout as it was only introduced as a workaround for bug 612.
-Fixes problems of sounds being cut off when the player fires the plasma rifle.

git-svn-id: http://odamex.net/svn/root/trunk@4494 b0bcef46-2027-0410-bd56-ab726e9a1d04
-I_StartSound should return an invalid channel number (-1) if sound has not yet been initialized instead of returning 0 (a valid channel number).

git-svn-id: http://odamex.net/svn/root/trunk@4495 b0bcef46-2027-0410-bd56-ab726e9a1d04
-Remove sfxinfo_struct::usefulness, which is designed to track how many instances of a sound are in use and then periodically free unused sounds. The code to handle cleaning up unused sounds hasn't been in use for years.

git-svn-id: http://odamex.net/svn/root/trunk@4496 b0bcef46-2027-0410-bd56-ab726e9a1d04
-Adjust the sound priority scheme to always place sounds make by consoleplayer higher than other non-interface/announcer sounds.
-Play only one instance of a particular announcer sound at a time. This should help in instances where a player picks up a flag, drops it, and a teammate picks it up again within a short timeframe.

git-svn-id: http://odamex.net/svn/root/trunk@4497 b0bcef46-2027-0410-bd56-ab726e9a1d04
-Fix server compilation issue.

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

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