X-Git-Url: https://de.git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=blobdiff_plain;f=qcsrc%2Fecs%2Fcomponents%2Fphysics.qh;h=b2a99d9636c1ac0f0174a035c33a796050940e5b;hp=14e010ab2d6bb46363607407b2cbf9ea1fb02051;hb=HEAD;hpb=8988f186b72ee8067b67d2a99cf1fff5474adec9 diff --git a/qcsrc/ecs/components/physics.qh b/qcsrc/ecs/components/physics.qh index 14e010ab2d..b2a99d9636 100644 --- a/qcsrc/ecs/components/physics.qh +++ b/qcsrc/ecs/components/physics.qh @@ -7,14 +7,14 @@ COMPONENT(phys); .float com_phys_vel_max; .float com_phys_vel_max_air; .float com_phys_vel_max_air_strafe; -.vector com_phys_acc; .float com_phys_acc_rate; .float com_phys_acc_rate_air; .float com_phys_acc_rate_air_strafe; .float com_phys_acc_rate_air_stop; .float com_phys_friction; -.vector com_phys_gravity; +.float com_phys_gravity; +.float com_phys_gravity_factor; // TODO: remove .bool com_phys_ground; .bool com_phys_air; @@ -22,3 +22,4 @@ COMPONENT(phys); .bool com_phys_vel_2d; .bool com_phys_water; .bool com_phys_friction_air; +.bool move_qcphysics;