-Base game loop timing on tics and sleep until the start of the next tic after rendering. This method handles instances where control isn't immediately returned to Odamex at the end of the requested sleeping period.
-Update the gamma slider in the Display Options menu to reflect the availible range for the current value of vid_gammatype (Doom or ZDoom gamma correction).

git-svn-id: http://odamex.net/svn/root/trunk@4047 b0bcef46-2027-0410-bd56-ab726e9a1d04
-Revert r3034. Ensure the Windows I_Sleep initialization only runs once.

git-svn-id: http://odamex.net/svn/root/trunk@4048 b0bcef46-2027-0410-bd56-ab726e9a1d04
-Fix an incorrect sleep time in the game loop when going from uncapped to a capped frame rate.

git-svn-id: http://odamex.net/svn/root/trunk@4049 b0bcef46-2027-0410-bd56-ab726e9a1d04
-Apply the same fix from r4048 to odasrv.

git-svn-id: http://odamex.net/svn/root/trunk@4050 b0bcef46-2027-0410-bd56-ab726e9a1d04
Add vid_vsync, default to off (0).  When enabled, turns on vertical refresh syncronization (vsync) to prevent image "tearing".

git-svn-id: http://odamex.net/svn/root/trunk@4051 b0bcef46-2027-0410-bd56-ab726e9a1d04
-Move the demo cleanup code from G_CheckDemoStatus into a new function, G_CleanupDemo. Call G_CleanupDemo when starting a new map to ensure cvars are properly restored and unlatched after playing a demo (bug 991).

git-svn-id: http://odamex.net/svn/root/trunk@4052 b0bcef46-2027-0410-bd56-ab726e9a1d04
Updated and new server config samples, thanks ralphis!

git-svn-id: http://odamex.net/svn/root/trunk@4053 b0bcef46-2027-0410-bd56-ab726e9a1d04
Missed a few...

git-svn-id: http://odamex.net/svn/root/trunk@4054 b0bcef46-2027-0410-bd56-ab726e9a1d04
Nuke these samples

git-svn-id: http://odamex.net/svn/root/trunk@4056 b0bcef46-2027-0410-bd56-ab726e9a1d04
-select() appears to busy-wait instead of yielding control to the OS in Windows. Change I_Sleep to use usleep() for *nix and Sleep() for Windows.

git-svn-id: http://odamex.net/svn/root/trunk@4059 b0bcef46-2027-0410-bd56-ab726e9a1d04
-Ensure the level countdown is reset at the end of warmup mode.

git-svn-id: http://odamex.net/svn/root/trunk@4062 b0bcef46-2027-0410-bd56-ab726e9a1d04
-Remove a debugging printf

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