From 0d176f6ebc7c46b3eb9e366935b2b79ab71f575c Mon Sep 17 00:00:00 2001 From: terencehill Date: Sat, 17 Sep 2016 20:31:13 +0200 Subject: [PATCH] Fix typo in a cvar name; add a few more missing cvars --- _hud_common.cfg | 2 +- defaultXonotic.cfg | 4 ++++ qcsrc/client/autocvars.qh | 1 - qcsrc/common/t_items.qh | 1 + 4 files changed, 6 insertions(+), 2 deletions(-) diff --git a/_hud_common.cfg b/_hud_common.cfg index 2d8c552351..c7befdd232 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 9055264dd6..7b3079af09 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 8e2c722e8f..a4fcd3e841 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 1c65e806af..06e14555ed 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'; -- 2.39.2