Module darkplaces: Change committed

havoc at icculus.org havoc at icculus.org
Fri May 6 07:37:45 EDT 2005


Commiter   : havoc
CVSROOT    : /cvs/cvsroot/twilight
Module     : darkplaces
Commit time: 2005-05-06 11:37:45 UTC

Log message:

changed Host_Init to execute configs only once
cleaned up Host_Init (and related functions like Con_Init, COM_Init, Cbuf_Init, etc) a great deal
now uses host_framecount >= 3 checks instead of host_loopactive or host_initialized checks, this should fix any problems with crashes erasing config.cfg
VID_Open and friends are now called from Host_StartVideo which is called by SCR_BeginLoadingPlaque (such as by SV_SpawnServer) as well as the end of Host_Init, this only calls them the first time it is called, so it can be called during config parsing (such as +map start on the commandline)
moved sys_usetimegettime and dedicated server console opening in sys_wgl.c into Sys_InitConsole and Sys_Init_Commands functions called by Host_Init
merged Sys_Shared_EarlyInit and Sys_Shared_LateInit into Host_Init
got rid of sys_usetimegettime (windows-only) cvar in sys_sdl.c
changed type of a number of vid_* variables from int to qboolean
renamed vidmode_active to vid_isfullscreen in vid_glx.c for more code consistency
fixed a bug in vid_glx.c that made it grab the mouse/keyboard even when it was not the active window
no longer grabs mouse while playing demos in a window

Modified files:
     cl_screen.c cmd.c cmd.h common.c console.c console.h cvar.c fs.c
     host.c quakedef.h sys.h sys_linux.c sys_sdl.c sys_shared.c
     sys_win.c vid.h vid_glx.c vid_sdl.c vid_shared.c vid_wgl.c
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: darkplaces.20050506.113745.havoc.diff
URL: <http://icculus.org/pipermail/twilight-commits/attachments/20050506/32a4cb48/attachment.diff>


More information about the twilight-commits mailing list