Module darkplaces: Change committed

havoc at icculus.org havoc at icculus.org
Tue Apr 18 01:49:32 EDT 2006


Commiter   : havoc
CVSROOT    : /cvs/cvsroot/twilight
Module     : darkplaces
Commit time: 2006-04-18 05:49:32 UTC

Log message:

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

Modified files:
     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
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: darkplaces.20060418.054932.havoc.diff
URL: <http://icculus.org/pipermail/twilight-commits/attachments/20060418/6c77aae8/attachment.diff>


More information about the twilight-commits mailing list