]> de.git.xonotic.org Git - xonotic/darkplaces.git/commit
changed Host_Init to execute configs only once
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 6 May 2005 11:37:35 +0000 (11:37 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 6 May 2005 11:37:35 +0000 (11:37 +0000)
commit182f5dd46097dc11b3643dc2376b4dd6a4fa42c7
treea308b286bdb889c03779c8ff24e5a7c8a1c61630
parent76f3774756ad46db130ec7c8d67b3845e984c06d
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

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5235 d7cf8633-e32d-0410-b094-e92efae38249
20 files changed:
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