]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
cvar: g_waypointsprite_uppercase
authorRudolf Polzer <divverent@xonotic.org>
Sat, 18 Jun 2011 17:55:50 +0000 (19:55 +0200)
committerRudolf Polzer <divverent@xonotic.org>
Sat, 18 Jun 2011 17:55:50 +0000 (19:55 +0200)
defaultXonotic.cfg
qcsrc/client/autocvars.qh
qcsrc/client/waypointsprites.qc

index 12eb4b6551e28012244ac247dd8f1c877aa953e8..10ef2b93bf7f857307f5ced91e35a579d5bcfdb4 100644 (file)
@@ -1228,6 +1228,7 @@ set g_nick_flood_penalty 0.5 "duration of the nick flood penalty"
 set g_nick_flood_penalty_yellow 3 "number of changes to allow before warning and movement blocking"
 set g_nick_flood_penalty_red 30 "number of changes to allow before totally disorienting the player"
 
+seta g_waypointsprite_uppercase 1
 set g_waypointsprite_normdistance 512
 set g_waypointsprite_minscale 0.5
 set g_waypointsprite_minalpha 0.4
index 67b6d4008d5f7f95aa4f21d0dc2a720d37627192..4edfda3ad56149281c1c13cec32d2d7eeecdd946 100644 (file)
@@ -122,6 +122,7 @@ float autocvar_g_balance_tuba_attenuation;
 float autocvar_g_balance_tuba_fadetime;
 float autocvar_g_balance_tuba_volume;
 float autocvar_g_warmup_limit;
+var float autocvar_g_waypointsprite_uppercase = 1;
 var float autocvar_g_waypointsprite_alpha = 1;
 var float autocvar_g_waypointsprite_crosshairfadealpha = 1;
 float autocvar_g_waypointsprite_crosshairfadedistance;
index 26b05d6519ed82bed3952d5895fce14aaf25749e..1a906f73024822ba90523d4196242c444fda649d 100644 (file)
@@ -520,7 +520,8 @@ void Draw_WaypointSprite()
        
        string txt;
        txt = spritelookuptext(spriteimage);
-       txt = strtoupper(txt);
+       if(autocvar_g_waypointsprite_uppercase)
+               txt = strtoupper(txt);
 
        if(self.health >= 0)
        {