-Fix intermission issue with FreeDoom introduced in r4446.

git-svn-id: http://odamex.net/svn/root/trunk@4456 b0bcef46-2027-0410-bd56-ab726e9a1d04
-FreeDoom and Ultimate FreeDoom now use gamemodes commercial and retail respectively. They are identified as gamemissions commercial_freedoom and retail_freedoom now.
-Revert r4456 as it is no longer needed.
-Add retail_bfg gamemode.
-Refactor the test for lost soul bounce correction into P_CorrectLostSoulBounce. It appears that lost soul bouncing gets corrected for both Doom & Doom 2 BFG Editions based on the source code.

git-svn-id: http://odamex.net/svn/root/trunk@4457 b0bcef46-2027-0410-bd56-ab726e9a1d04
-Fix a bug when trying to iterate an empty OHashTable.

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

git-svn-id: http://odamex.net/svn/root/trunk@4460 b0bcef46-2027-0410-bd56-ab726e9a1d04
-Eliminate the need for the porttime.h header by PortMidiMusicSystem. The only PortTime function in use was Pt_Sleep, which is a wrapper for usleep/Sleep and is replaced with I_Sleep.

git-svn-id: http://odamex.net/svn/root/trunk@4461 b0bcef46-2027-0410-bd56-ab726e9a1d04
-Change the CMake PortMidi module to not search for the PortTime library. This search is only done on non-Win32 platforms, where it expects a pre-existing PortMidi library.

git-svn-id: http://odamex.net/svn/root/trunk@4462 b0bcef46-2027-0410-bd56-ab726e9a1d04
-Fix a crash when scaling patches with a width of 1 in DCanvas::DrawSWrapper.
-Fixes crashes with the FreeDoom CREDITS lump.

git-svn-id: http://odamex.net/svn/root/trunk@4466 b0bcef46-2027-0410-bd56-ab726e9a1d04
-Update the IWAD md5sum table to include FreeDoom/Ultimate FreeDoom/FreeDM 0.8 versions.
-Thanks Catoptromancy

git-svn-id: http://odamex.net/svn/root/trunk@4468 b0bcef46-2027-0410-bd56-ab726e9a1d04
-Update the copyright in all source file headers for the new year.

git-svn-id: http://odamex.net/svn/root/trunk@4469 b0bcef46-2027-0410-bd56-ab726e9a1d04
-Change usage of 'render' to 'display' in D_RunTics. The entire visual display is being updated, not just the rendered scene.

git-svn-id: http://odamex.net/svn/root/trunk@4470 b0bcef46-2027-0410-bd56-ab726e9a1d04
-Fix a bug calculating the position between simulation frames for render interpolation when the simulation function has to be called more than 4 times in a row.

git-svn-id: http://odamex.net/svn/root/trunk@4471 b0bcef46-2027-0410-bd56-ab726e9a1d04
-Make cheat code sequences case-insensitive.

git-svn-id: http://odamex.net/svn/root/trunk@4472 b0bcef46-2027-0410-bd56-ab726e9a1d04
- Fix some cppcheck warnings

git-svn-id: http://odamex.net/svn/root/trunk@4473 b0bcef46-2027-0410-bd56-ab726e9a1d04
- Allow use of $ sign in directory names

git-svn-id: http://odamex.net/svn/root/trunk@4474 b0bcef46-2027-0410-bd56-ab726e9a1d04
-Remove an unnecessary test (with a logic error) when determining a demo is not a valid vanilla LMP demo.

git-svn-id: http://odamex.net/svn/root/trunk@4475 b0bcef46-2027-0410-bd56-ab726e9a1d04
-Clean up G_DoPlayDemo.
-Add comments briefly documenting the streamdemo console command.

git-svn-id: http://odamex.net/svn/root/trunk@4476 b0bcef46-2027-0410-bd56-ab726e9a1d04
-Clean up the recording of vanilla and longtic demos.
-Backup gameplay CVARs prior to recording demos and revert the CVARs to vanilla settings and then restore the CVARs at the completion of recording.
-This fixes common desyncs when playing demos recorded with Odamex.

git-svn-id: http://odamex.net/svn/root/trunk@4477 b0bcef46-2027-0410-bd56-ab726e9a1d04
-Only print a warning about latched CVARs not being applied immediately if the gamestate is GS_LEVEL.
-The get console command now will print both the current and future values of modified latched CVARs.

git-svn-id: http://odamex.net/svn/root/trunk@4478 b0bcef46-2027-0410-bd56-ab726e9a1d04
-Properly toggle the latched value with the toggle console command.

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

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