seta hud_panel_engineinfo_framecounter_exponentialmovingaverage_new_weight 0.1 "weight of latest data point"
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_itemstime_progressbar_maxtime "30" "when left time is at least this amount, the status bar is full"
+
// hud panel aliases
alias hud_panel_radar_rotate "toggle hud_panel_radar_rotation 0 1 2 3 4"
alias +hud_panel_radar_maximized "cl_cmd hud radar 1"
const int STAT_PLASMA = 84;
const int STAT_OK_AMMO_CHARGE = 85;
const int STAT_OK_AMMO_CHARGEPOOL = 86;
- // 87 empty?
- // 88 empty?
+ const int STAT_FROZEN = 87;
+ const int STAT_REVIVE_PROGRESS = 88;
// 89 empty?
-// 90 empty?
-// 91 empty?
-// 92 empty?
-// 93 empty?
-// 94 empty?
-// 95 empty?
-// 96 empty?
-// 97 empty?
-// 98 empty?
-// 99 empty?
+const float STAT_ARMOR_LARGE_TIME = 90;
+const float STAT_HEALTH_MEGA_TIME = 91;
+const float STAT_INVISIBLE_TIME = 92;
+const float STAT_SPEED_TIME = 93;
+const float STAT_EXTRALIFE_TIME = 94;
+const float STAT_STRENGTH_TIME = 95;
+const float STAT_SHIELD_TIME = 96;
+const float STAT_FUELREGEN_TIME = 97;
+const float STAT_JETPACK_TIME = 98;
+const float STAT_SUPERWEAPONS_TIME = 99;
/* The following stats change depending on the gamemode, so can share the same ID */
i = NEW(XonoticHUDBuffsDialog);
i.configureDialog(i);
- me.addItemCentered(me, i, i.intendedWidth * eX + i.intendedHeight * eY, SKINALPHAS_MAINMENU_z);
+ me.addItemRightCentered(me, i, i.intendedWidth * eX + i.intendedHeight * eY, SKINALPHAS_MAINMENU_z);
+ i = NEW(XonoticHUDItemsTimeDialog);
+ i.configureDialog(i);
+ me.addItemCentered(me, i, i.intendedWidth * eX + i.intendedHeight * eY, SKINALPHAS_MAINMENU_z);
+
// dialogs used by settings
me.userbindEditDialog = i = NEW(XonoticUserbindEditDialog);
int autocvar_sv_gentle;
#define autocvar_sv_gravity cvar("sv_gravity")
string autocvar_sv_intermission_cdtrack;
- string autocvar_sv_jumpspeedcap_max;
+float autocvar_sv_itemstime;
+ float autocvar_sv_jumpspeedcap_max;
float autocvar_sv_jumpspeedcap_max_disable_on_ramps;
- string autocvar_sv_jumpspeedcap_min;
+ float autocvar_sv_jumpspeedcap_min;
float autocvar_sv_jumpvelocity;
bool autocvar_sv_logscores_bots;
bool autocvar_sv_logscores_console;