diff --git a/engine/client/cl_main.c b/engine/client/cl_main.c index 3bc024442..1bee61943 100644 --- a/engine/client/cl_main.c +++ b/engine/client/cl_main.c @@ -586,7 +586,7 @@ void CL_SendConnectPacket (netadr_t *to, int mtu, to = &addr; if (!NET_StringToAdr (cls.servername, PORT_QWSERVER, to)) { - Con_TPrintf ("Bad server address\n"); + Con_TPrintf ("CL_SendConnectPacket: Bad server address \"%s\"\n", cls.servername); connectinfo.trying = false; return; } @@ -899,7 +899,7 @@ void CL_CheckForResend (void) { if (!NET_StringToAdr (cls.servername, connectinfo.defaultport, &connectinfo.adr)) { - Con_TPrintf ("Bad server address\n"); + Con_TPrintf ("CL_CheckForResend: Bad server address \"%s\"\n", cls.servername); connectinfo.trying = false; SCR_EndLoadingPlaque(); return; @@ -999,7 +999,7 @@ void CL_CheckForResend (void) if (!NET_StringToAdr (host, connectinfo.defaultport, &connectinfo.adr)) { - Con_TPrintf ("Bad server address\n"); + Con_TPrintf ("Bad server address \"%s\"\n", host); connectinfo.trying = false; SCR_EndLoadingPlaque(); return; diff --git a/engine/client/client.h b/engine/client/client.h index 11af1814e..f69fb38a4 100644 --- a/engine/client/client.h +++ b/engine/client/client.h @@ -1117,7 +1117,7 @@ typedef struct int state[MAX_SPLITS]; // low bit is down state } kbutton_t; -extern kbutton_t in_mlook, in_klook; +extern kbutton_t in_mlook; extern kbutton_t in_strafe; extern kbutton_t in_speed; diff --git a/engine/client/m_options.c b/engine/client/m_options.c index 8a160ca8b..e2e50ddca 100644 --- a/engine/client/m_options.c +++ b/engine/client/m_options.c @@ -813,7 +813,7 @@ const char *presetexec[] = "cl_bob 0.02;" //these things are perhaps a little extreme "r_loadlit 0;" - "vid_hardwaregamma 1;" + "vid_hardwaregamma 1;" //auto hardware gamma, for fast fullscreen and usable windowed. "d_mipcap 0 2;" //gl without anisotropic filtering favours too-distant mips too often, so lets just pretend it doesn't exist. should probably mess with lod instead or something "r_part_classic_expgrav 1;" //vanillaery "r_part_classic_opaque 1;" @@ -826,7 +826,7 @@ const char *presetexec[] = "seta cl_deadbodyfilter 0;" , //vanilla-esque options. - "gl_texturemode nnl;" //yup, we went there. + "gl_texturemode nll;" //yup, we went there. "gl_texturemode2d n.l;" //yeah, 2d too. "r_nolerp 1;" "cl_sbar 1;" @@ -863,7 +863,7 @@ const char *presetexec[] = , // nice options // "r_stains 0.75;" - "gl_texturemode ll;" + "gl_texturemode lll;" #ifndef MINIMAL // "r_particlesystem script;" "r_particledesc \"high tsshaft\";" diff --git a/engine/client/renderer.c b/engine/client/renderer.c index d54f3a07b..504e1f5d4 100644 --- a/engine/client/renderer.c +++ b/engine/client/renderer.c @@ -2495,6 +2495,8 @@ qbyte *R_MarkLeaves_Q1 (qboolean getvisonly) if (r_novis.ival) { + if (curframevis[portal].buffersize < cl.worldmodel->pvsbytes) + curframevis[portal].buffer = BZ_Realloc(curframevis[portal].buffer, curframevis[portal].buffersize=cl.worldmodel->pvsbytes); vis = cvis[portal] = curframevis[portal].buffer; memset (curframevis[portal].buffer, 0xff, curframevis[portal].buffersize); diff --git a/engine/server/sv_main.c b/engine/server/sv_main.c index ee15cb81c..9f6ecfba9 100644 --- a/engine/server/sv_main.c +++ b/engine/server/sv_main.c @@ -73,7 +73,7 @@ cvar_t sv_mintic = CVARD("sv_mintic","0", "The minimum interval between runn cvar_t sv_maxtic = CVARD("sv_maxtic","0.1", "The maximum interval between running physics frames. If the value is too low, multiple physics interations might be run at a time (based upon sv_limittics). Set to 0 for fixed-interval ticks, which may be required if ODE is used.");//never run a tick slower than this cvar_t sv_limittics = CVARD("sv_limittics","3", "The maximum number of ticks that may be run within a frame, to allow the server to catch up if it stalled or if sv_maxtic is too low.");// -cvar_t sv_nailhack = CVARD("sv_nailhack","0", "If set to 1, disables the nail entity networking optimisation. This hack was popularised by qizmo which recommends it for better compression. Also allows clients to interplate nail positions and add trails."); +cvar_t sv_nailhack = CVARD("sv_nailhack","1", "If set to 1, disables the nail entity networking optimisation. This hack was popularised by qizmo which recommends it for better compression. Also allows clients to interplate nail positions and add trails."); cvar_t sv_nopvs = CVARD("sv_nopvs", "0", "Set to 1 to ignore pvs on the server. This can make wallhacks more dangerous, so should only be used for debugging."); cvar_t fraglog_public = CVARD("fraglog_public", "1", "Enables support for connectionless fraglog requests"); cvar_t fraglog_details = CVARD("fraglog_details", "1", "Bitmask\n1: killer+killee names.\n2: killer+killee teams\n4:timestamp.\n8:killer weapon\n16:killer+killee guid.\nFor compatibility, use 1(vanilla) or 7(mvdsv).");