From 23d3407622e5d41bfba0205c7c148bf23d5982fc Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Thu, 16 Dec 2010 11:34:39 +0900 Subject: [PATCH] Change a few defaults as suggested by bigfoot. in_dga -> 0 (until X is fixed) gl_multitexture -> 1 (why was this 0? not enough support back then?) cl_usleep -> 1 (seems to be ok) host_mem_size -> 40 (even 32 isn't enough these days) rate -> 10000 (we're not in the modem era any more) cl_mem_size -> 32 (16 is not enough, 32 sounds better than 24) --- libs/video/targets/in_x11.c | 2 +- libs/video/targets/vid_common_gl.c | 2 +- nq/source/host.c | 4 ++-- qw/source/cl_main.c | 6 +++--- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/libs/video/targets/in_x11.c b/libs/video/targets/in_x11.c index ea9ca522c..a5010c4fa 100644 --- a/libs/video/targets/in_x11.c +++ b/libs/video/targets/in_x11.c @@ -777,7 +777,7 @@ IN_LL_Init_Cvars (void) { in_snd_block = Cvar_Get ("in_snd_block", "0", CVAR_ARCHIVE, NULL, "block sound output on window focus loss"); - in_dga = Cvar_Get ("in_dga", "1", CVAR_ARCHIVE, in_dga_f, + in_dga = Cvar_Get ("in_dga", "0", CVAR_ARCHIVE, in_dga_f, //FIXME 0 until X fixed "DGA Input support"); in_mouse_accel = Cvar_Get ("in_mouse_accel", "1", CVAR_ARCHIVE, in_mouse_accel_f, diff --git a/libs/video/targets/vid_common_gl.c b/libs/video/targets/vid_common_gl.c index 53ef36dca..eab7a7355 100644 --- a/libs/video/targets/vid_common_gl.c +++ b/libs/video/targets/vid_common_gl.c @@ -288,7 +288,7 @@ GL_Common_Init_Cvars (void) "wait for rendering to finish"); gl_max_size = Cvar_Get ("gl_max_size", "0", CVAR_NONE, gl_max_size_f, "Texture dimension"); - gl_multitexture = Cvar_Get ("gl_multitexture", "0", CVAR_ARCHIVE, + gl_multitexture = Cvar_Get ("gl_multitexture", "1", CVAR_ARCHIVE, gl_multitexture_f, "Use multitexture when " "available."); gl_screenshot_byte_swap = diff --git a/nq/source/host.c b/nq/source/host.c index bd84c23ea..79476b91d 100644 --- a/nq/source/host.c +++ b/nq/source/host.c @@ -292,7 +292,7 @@ Host_InitLocal (void) coop = Cvar_Get ("coop", "0", CVAR_NONE, NULL, "0 or 1"); pausable = Cvar_Get ("pausable", "1", CVAR_NONE, NULL, "None"); temp1 = Cvar_Get ("temp1", "0", CVAR_NONE, NULL, "None"); - cl_usleep = Cvar_Get ("cl_usleep", "0", CVAR_ARCHIVE, cl_usleep_f, + cl_usleep = Cvar_Get ("cl_usleep", "1", CVAR_ARCHIVE, cl_usleep_f, "Turn this on to save cpu when fps limited. " "May affect frame rate adversely depending on " "local machine/os conditions"); @@ -861,7 +861,7 @@ CL_Init_Memory (void) else minimum_memory = MINIMUM_MEMORY_LEVELPAK; - host_mem_size = Cvar_Get ("host_mem_size", "32", CVAR_NONE, NULL, + host_mem_size = Cvar_Get ("host_mem_size", "40", CVAR_NONE, NULL, "Amount of memory (in MB) to allocate for the " PACKAGE_NAME " heap"); if (mem_parm) diff --git a/qw/source/cl_main.c b/qw/source/cl_main.c index a60c21ffe..b8d9b62cf 100644 --- a/qw/source/cl_main.c +++ b/qw/source/cl_main.c @@ -1373,7 +1373,7 @@ CL_Init_Cvars (void) "Set to 1 before connecting to become a spectator"); team = Cvar_Get ("team", "", CVAR_ARCHIVE | CVAR_USERINFO, Cvar_Info, "Team player is on."); - rate = Cvar_Get ("rate", "2500", CVAR_ARCHIVE | CVAR_USERINFO, Cvar_Info, + rate = Cvar_Get ("rate", "10000", CVAR_ARCHIVE | CVAR_USERINFO, Cvar_Info, "Amount of bytes per second server will send/download " "to you"); msg = Cvar_Get ("msg", "1", CVAR_ARCHIVE | CVAR_USERINFO, Cvar_Info, @@ -1383,7 +1383,7 @@ CL_Init_Cvars (void) "Auto aim off switch. Set to 1 to turn off."); cl_port = Cvar_Get ("cl_port", PORT_CLIENT, CVAR_NONE, Cvar_Info, "UDP Port for client to use."); - cl_usleep = Cvar_Get ("cl_usleep", "0", CVAR_ARCHIVE, cl_usleep_f, + cl_usleep = Cvar_Get ("cl_usleep", "1", CVAR_ARCHIVE, cl_usleep_f, "Turn this on to save cpu when fps limited. " "May affect frame rate adversely depending on " "local machine/os conditions"); @@ -1672,7 +1672,7 @@ CL_Init_Memory (void) int mem_size; void *mem_base; - cl_mem_size = Cvar_Get ("cl_mem_size", "16", CVAR_NONE, NULL, + cl_mem_size = Cvar_Get ("cl_mem_size", "32", CVAR_NONE, NULL, "Amount of memory (in MB) to allocate for the " PACKAGE_NAME " heap"); if (mem_parm)