]> icculus.org git repositories - divverent/darkplaces.git/commit
rewrote timing code, now a much better and very different sleeping method, no longer...
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 18 Apr 2006 05:49:22 +0000 (05:49 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 18 Apr 2006 05:49:22 +0000 (05:49 +0000)
commitaa150f38ef79b17d32b520bebb5fe5125c7b3ced
tree326eca65bf94403cec0c38c4923b1ab4e24c5096
parent0cb06c5e81f07a2461525e41877cb9415a9137a8
rewrote timing code, now a much better and very different sleeping method, no longer wastes any cpu time
changed timing code to have independent sleeping for client and server frames in a listen server
changed console execution to occur in sync with server frames if a server is running, this fixes frikbot loading of .way files
eliminated several host_* variables, replaced host_realframetime with cl.realframetime (which is how long since the last client frame)
removed the clamping of sys_ticrate to >= 0.1, so now sys_ticrate 0 is allowed (run as fast as possible), as well as silly values like 0.001
removed serverprofile cvar as it was not easy to preserve it in the rewritten timing
merged Host_FilterTime, Host_ServerFrame, Host_Frame, _Host_Frame into Host_Main (which also calls Host_Init), this eliminates some duplicate code in all the sys_ modules

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6300 d7cf8633-e32d-0410-b094-e92efae38249
19 files changed:
cl_demo.c
cl_input.c
cl_main.c
cl_parse.c
cl_screen.c
client.h
gl_rmain.c
host.c
netconn.c
quakedef.h
server.h
snd_main.c
sv_main.c
sys_linux.c
sys_sdl.c
sys_win.c
vid_shared.c
vid_wgl.c
view.c