From 22d2cce11fdcd42259908ceab1ebe73b5945d961 Mon Sep 17 00:00:00 2001 From: Dabb Date: Sun, 31 Dec 2000 09:05:25 +0000 Subject: [PATCH] Added " characters to multiline cvar descriptions to avoid compilation probs and extra whitespaces in resulting help. --- source/cl_input.c | 4 ++-- source/gl_rmisc.c | 4 ++-- source/net_chan.c | 4 ++-- source/r_main.c | 6 +++--- source/sv_main.c | 32 ++++++++++++++++---------------- 5 files changed, 25 insertions(+), 25 deletions(-) diff --git a/source/cl_input.c b/source/cl_input.c index 775c300..254b8dc 100644 --- a/source/cl_input.c +++ b/source/cl_input.c @@ -741,8 +741,8 @@ CL_Input_Init (void) void CL_Input_Init_Cvars (void) { - cl_nodelta = Cvar_Get ("cl_nodelta", "0", CVAR_NONE, "disable player delta compression. - set to 1 if you have a poor ISP and get a lot of U_REMOVE warnings."); + cl_nodelta = Cvar_Get ("cl_nodelta", "0", CVAR_NONE, "disable player delta compression." + "set to 1 if you have a poor ISP and get a lot of U_REMOVE warnings."); } diff --git a/source/gl_rmisc.c b/source/gl_rmisc.c index d64e09b..b8b8b16 100644 --- a/source/gl_rmisc.c +++ b/source/gl_rmisc.c @@ -214,8 +214,8 @@ R_Init_Cvars (void) r_drawentities = Cvar_Get ("r_drawentities", "1", CVAR_NONE, "Set to 0 to disable drawing entities"); r_drawviewmodel = Cvar_Get ("r_drawviewmodel", "1", CVAR_ARCHIVE, "Set to 0 to disable drawing your weapon"); r_shadows = Cvar_Get ("r_shadows", "0", CVAR_NONE, "Set to 1 to enable shadows for entities"); - r_wateralpha = Cvar_Get ("r_wateralpha", "1", CVAR_NONE, "Determine opacity of liquids. 1 is solid, - .75, .50, and .25 are partially transparent, and 0 is transparent."); + r_wateralpha = Cvar_Get ("r_wateralpha", "1", CVAR_NONE, "Determine opacity of liquids. 1 is solid," + ".75, .50, and .25 are partially transparent, and 0 is transparent."); /* FIXME what does r_waterripple use for units? */ r_waterripple = Cvar_Get ("r_waterripple", "0", CVAR_NONE, "Set to make liquids ripple, a good setting is 5"); r_dynamic = Cvar_Get ("r_dynamic", "1", CVAR_NONE, "Set to 0 to disable all dynamic lighting - unless gl_flashblend is set to 1"); diff --git a/source/net_chan.c b/source/net_chan.c index f2e0eca..0137be3 100644 --- a/source/net_chan.c +++ b/source/net_chan.c @@ -134,8 +134,8 @@ Netchan_Init_Cvars (void) { showpackets = Cvar_Get ("showpackets", "0", CVAR_NONE, "Show all network packets"); showdrop = Cvar_Get ("showdrop", "0", CVAR_NONE, "Toggle the display of how many packets you are dropping"); - qport = Cvar_Get ("qport", "0", CVAR_NONE, "The internal port number for the game networking code. - Useful for clients who use multiple connections through one IP address (NAT/IP-MASQ) because default port is random."); + qport = Cvar_Get ("qport", "0", CVAR_NONE, "The internal port number for the game networking code." + "Useful for clients who use multiple connections through one IP address (NAT/IP-MASQ) because default port is random."); } /* diff --git a/source/r_main.c b/source/r_main.c index 5192462..c0ffe69 100644 --- a/source/r_main.c +++ b/source/r_main.c @@ -267,8 +267,8 @@ R_Init_Cvars (void) D_Init_Cvars (); r_draworder = Cvar_Get ("r_draworder", "0", CVAR_NONE, "Toggles drawing order"); - r_speeds = Cvar_Get ("r_speeds", "0", CVAR_NONE, "Toggles the displaying of drawing time and - statistics of what is currently being viewed"); + r_speeds = Cvar_Get ("r_speeds", "0", CVAR_NONE, "Toggles the displaying of drawing time and" + "statistics of what is currently being viewed"); r_timegraph = Cvar_Get ("r_timegraph", "0", CVAR_NONE, "Toggle the display of a performance graph"); r_netgraph = Cvar_Get ("r_netgraph", "0", CVAR_NONE, "Toggle the display of a graph showing network performance"); r_zgraph = Cvar_Get ("r_zgraph", "0", CVAR_NONE, "Toggle the graph that reports the changes of z-axis position"); @@ -291,7 +291,7 @@ R_Init_Cvars (void) r_aliastransadj = Cvar_Get ("r_aliastransadj", "100", CVAR_NONE, "Determines how much of an alias model is clipped away and how much is viewable."); gl_flashblend = Cvar_Get ("gl_flashblend", "0", CVAR_NONE, "Toggles the type of lighting for objects"); gl_sky_divide = Cvar_Get ("gl_sky_divide", "1", CVAR_ARCHIVE, - "subdivide sky polys"); + "subdivide sky polys"); } /* diff --git a/source/sv_main.c b/source/sv_main.c index 1aebc3e..9c1c8ee 100644 --- a/source/sv_main.c +++ b/source/sv_main.c @@ -1496,25 +1496,25 @@ SV_InitLocal (void) timelimit = Cvar_Get ("timelimit", "0", CVAR_SERVERINFO, "Sets the amount of time in minutes that is needed before advancing to the next level"); teamplay = Cvar_Get ("teamplay", "0", CVAR_SERVERINFO, - "Determines teamplay rules. 0 off, 1 You cannot hurt yourself nor your teammates, - 2 You can hurt yourself, your teammates, and you will lose one frag for killing a teammate - 3 You can hurt yourself but you cannot hurt your teammates"); + "Determines teamplay rules. 0 off, 1 You cannot hurt yourself nor your teammates, " + "2 You can hurt yourself, your teammates, and you will lose one frag for killing a teammate" + "3 You can hurt yourself but you cannot hurt your teammates"); samelevel = Cvar_Get ("samelevel", "0", CVAR_SERVERINFO, - "Determines the rules for level changing and exiting. 0 Allows advancing to the next level, - 1 The same level will be played until someone exits, - 2 The same level will be played and the exit will kill anybody that tries to exit, - 3 The same level will be played and the exit will kill anybody that tries to exit, except on the Start map."); + "Determines the rules for level changing and exiting. 0 Allows advancing to the next level," + "1 The same level will be played until someone exits," + "2 The same level will be played and the exit will kill anybody that tries to exit," + "3 The same level will be played and the exit will kill anybody that tries to exit, except on the Start map."); maxclients = Cvar_Get ("maxclients", "8", CVAR_SERVERINFO, "Sets how many clients can connect to your server, this includes spectators and players"); maxspectators = Cvar_Get ("maxspectators", "8", CVAR_SERVERINFO, - "Sets how many spectators can connect to your server. The maxclients value takes precidence over this value so this - value should always be equal-to or less-then the maxclients value"); + "Sets how many spectators can connect to your server. The maxclients value takes precidence over this value so this" + " value should always be equal-to or less-then the maxclients value"); hostname = Cvar_Get ("hostname", "unnamed", CVAR_SERVERINFO, "Report or sets the server name"); deathmatch = Cvar_Get ("deathmatch", "1", CVAR_SERVERINFO, - "Sets the rules for weapon and item respawning. - 1 Does not leave weapons on the map. You can pickup weapons and items and they will respawn, - 2 Leaves weapons on the map. You can only pick up a weapon once. Picked up items will not respawn, - 3 Leaves weapons on the map. You can only pick up a weapon once. Picked up items will respawn."); + "Sets the rules for weapon and item respawning. " + "1 Does not leave weapons on the map. You can pickup weapons and items and they will respawn," + "2 Leaves weapons on the map. You can only pick up a weapon once. Picked up items will not respawn," + "3 Leaves weapons on the map. You can only pick up a weapon once. Picked up items will respawn."); spawn = Cvar_Get ("spawn", "0", CVAR_SERVERINFO, "Spawn the player entity"); watervis = Cvar_Get ("watervis", "0", CVAR_SERVERINFO, "Toggle the use of r_watervis by OpenGL clients"); @@ -1578,9 +1578,9 @@ SV_InitLocal (void) "Time/date format to use"); filterban = Cvar_Get ("filterban", "1", CVAR_NONE, - "Determines the rules for the IP list - 0 Only IP addresses on the Ban list will be allowed onto the server, - 1 Only IP addresses NOT on the Ban list will be allowed onto the server"); + "Determines the rules for the IP list " + "0 Only IP addresses on the Ban list will be allowed onto the server, " + "1 Only IP addresses NOT on the Ban list will be allowed onto the server"); allow_download = Cvar_Get ("allow_download", "1", CVAR_NONE, "Toggle if clients can download game data from the server"); allow_download_skins =