From: terencehill Date: Sat, 17 Sep 2016 18:31:13 +0000 (+0200) Subject: Fix typo in a cvar name; add a few more missing cvars X-Git-Tag: xonotic-v0.8.2~575 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=0d176f6ebc7c46b3eb9e366935b2b79ab71f575c;p=xonotic%2Fxonotic-data.pk3dir.git Fix typo in a cvar name; add a few more missing cvars --- diff --git a/_hud_common.cfg b/_hud_common.cfg index 2d8c55235..c7befdd23 100644 --- a/_hud_common.cfg +++ b/_hud_common.cfg @@ -92,7 +92,7 @@ seta hud_panel_engineinfo_framecounter_exponentialmovingaverage_new_weight 0.1 " seta hud_panel_engineinfo_framecounter_exponentialmovingaverage_instantupdate_change_threshold 0.5 "threshold for fps change when to update instantly, to make big fps changes update faster" seta hud_panel_physics_acceleration_movingaverage 1 "use an averaging method for calculating acceleration instead of the real value" -seta hud_panel_phisics_update_interval 0.0666 "how often (in seconds) numeric values get updated on screen" +seta hud_panel_physics_update_interval 0.0666 "how often (in seconds) numeric values get updated on screen" seta hud_panel_physics_speed_unit "1" "speed unit (1 = qu/s, 2 = m/s, 3 = km/h, 4 = mph, 5 = knots)" seta hud_panel_itemstime_progressbar_maxtime "30" "when left time is at least this amount, the status bar is full" diff --git a/defaultXonotic.cfg b/defaultXonotic.cfg index 9055264dd..7b3079af0 100644 --- a/defaultXonotic.cfg +++ b/defaultXonotic.cfg @@ -85,6 +85,8 @@ seta cl_spawn_event_particles 1 "pointparticles effect whenever a player spawns" seta cl_spawn_event_sound 1 "sound effect whenever a player spawns" //seta cl_spawn_point_model 0 "place a model at all spawn points" // still needs a model seta cl_spawn_point_particles 1 "pointparticles effect at all spawn points" // managed by effects-.cfg files +seta cl_spawn_point_dist_min 1200 +seta cl_spawn_point_dist_max 1600 freelook 1 sensitivity 6 @@ -1448,6 +1450,8 @@ alias menu_sync "menu_cmd sync" set sv_join_notices "" set sv_join_notices_time 15 +seta cl_items_nofade 0 +seta cl_animate_items 1 seta cl_ghost_items 0.45 "enable ghosted items (when between 0 and 1, overrides the alpha value)" seta cl_ghost_items_color "-1 -1 -1" "color of ghosted items, 0 0 0 leaves the color unchanged" set sv_simple_items 1 "allow or forbid client use of simple items" diff --git a/qcsrc/client/autocvars.qh b/qcsrc/client/autocvars.qh index 8e2c722e8..a4fcd3e84 100644 --- a/qcsrc/client/autocvars.qh +++ b/qcsrc/client/autocvars.qh @@ -452,4 +452,3 @@ float autocvar_crosshair_rpc_alpha = 1; float autocvar_crosshair_rpc_size = 1; int autocvar_cl_nade_timer; bool autocvar_r_drawviewmodel; -bool autocvar_cl_items_nofade; diff --git a/qcsrc/common/t_items.qh b/qcsrc/common/t_items.qh index 1c65e806a..06e14555e 100644 --- a/qcsrc/common/t_items.qh +++ b/qcsrc/common/t_items.qh @@ -29,6 +29,7 @@ void StartItem(entity this, entity a); #ifdef CSQC +bool autocvar_cl_items_nofade; float autocvar_cl_animate_items = 1; float autocvar_cl_ghost_items = 0.45; vector autocvar_cl_ghost_items_color = '-1 -1 -1';