From: otta8634 Date: Tue, 24 Sep 2024 08:13:37 +0000 (+0800) Subject: Add new physics cvars to export function X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=0751313fa27ea9e228900e45b1590862c9818d4f;p=xonotic%2Fxonotic-data.pk3dir.git Add new physics cvars to export function Also add missed includes --- diff --git a/qcsrc/client/hud/panel/physics.qc b/qcsrc/client/hud/panel/physics.qc index 12e7c34eb..8855ac3ee 100644 --- a/qcsrc/client/hud/panel/physics.qc +++ b/qcsrc/client/hud/panel/physics.qc @@ -2,6 +2,8 @@ #include #include +#include +#include // jump speed #include // for IS_PLAYER() macro @@ -17,7 +19,10 @@ void HUD_Physics_Export(int fh) HUD_Write_Cvar("hud_panel_physics_speed_vertical"); HUD_Write_Cvar("hud_panel_physics_topspeed"); HUD_Write_Cvar("hud_panel_physics_topspeed_time"); + HUD_Write_Cvar("hud_panel_physics_jumpspeed"); + HUD_Write_Cvar("hud_panel_physics_jumpspeed_time"); HUD_Write_Cvar("hud_panel_physics_acceleration_max"); + HUD_Write_Cvar("hud_panel_physics_acceleration_max_slick"); HUD_Write_Cvar("hud_panel_physics_acceleration_vertical"); HUD_Write_Cvar("hud_panel_physics_flip"); HUD_Write_Cvar("hud_panel_physics_baralign");