From: havoc Date: Sun, 7 Dec 2003 09:56:51 +0000 (+0000) Subject: todo item done: added "saveconfig" console command X-Git-Tag: xonotic-v0.1.0preview~6233 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=d9ecdd3db3cf739d6452e49aab0ea37b01b2394f;p=xonotic%2Fdarkplaces.git todo item done: added "saveconfig" console command git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@3697 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/host.c b/host.c index 5ceb705d..1de15dba 100644 --- a/host.c +++ b/host.c @@ -259,9 +259,12 @@ void Host_ServerOptions (void) Host_InitLocal ====================== */ +void Host_SaveConfig_f(void); void Host_InitLocal (void) { Host_InitCommands (); + + Cmd_AddCommand("saveconfig", Host_SaveConfig_f); Cvar_RegisterVariable (&host_framerate); Cvar_RegisterVariable (&host_speeds); @@ -299,12 +302,12 @@ void Host_InitLocal (void) /* =============== -Host_WriteConfiguration +Host_SaveConfig_f Writes key bindings and archived cvars to config.cfg =============== */ -void Host_WriteConfiguration (void) +void Host_SaveConfig_f(void) { qfile_t *f; @@ -926,7 +929,7 @@ void Host_Shutdown(void) // AK hmm, no PRVM_Shutdown(); yet - Host_WriteConfiguration (); + Host_SaveConfig_f(); CDAudio_Shutdown (); NetConn_Shutdown (); diff --git a/todo b/todo index 4e46a0dd..6a2641bb 100644 --- a/todo +++ b/todo @@ -36,7 +36,6 @@ -n darkplaces: typing ip in join game menu should show 'trying' and 'no response' after a while, or 'no network' if networking is not initialized (yummyluv) -n dpmod: make grapple off-hand (joe hill) 0 darkplaces: GAME_FNIGGIUM: console doesn't show unless you manually pull it down -0 darkplaces: GAME_FNIGGIUM: startup loading screen (gfx/loadback.tga or whatever) 0 darkplaces: add DP_GFX_QUAKE3MODELTAGS, DP_GFX_SKINFILES, and any other new extensions to the wiki d darkplaces: add DP_LITSUPPORT extension and document it 0 darkplaces: add DP_SV_ROTATINGBMODEL extension to explain that MOVETYPE_PUSH/SOLID_BSP support rotation in darkplaces and a demonstration of how to use it without qc modifications (Uffe, Supajoe) @@ -44,8 +43,8 @@ d darkplaces: add DP_LITSUPPORT extension and document it 0 darkplaces: add _reflect textures which filter use of skybox as a cubemap reflection (FrikaC) 0 darkplaces: add a .collision_cancollide QC function call to decide if an entity should collide with another, or pass through it (Uffe) 0 darkplaces: add a clipmask thingy to allow QC to mask off collisions as it wishes (Uffe) -0 darkplaces: add a config saving command (Speeds) -0 darkplaces: add a loading screen before loading commences so that people have something to look at when the engine starts... (SeienAbunae) +-n darkplaces: add a config saving command (Speeds) +0 darkplaces: add a loading screen (gfx/loadback.tga or the loading plaque if that's not found) before loading commences so that people have something to look at when the engine starts... (SeienAbunae) 0 darkplaces: add a scr_screenshot_jpeg_quality cvar (Electro) 0 darkplaces: add ability to load gfx/particlefont.tga (Vermeulen, frightfan, Error) 0 darkplaces: add automatic binding to whatever address the machine's hostname resolves to (in addition to 0.0.0.0); see original quake code for examples (yummyluv)