X-Git-Url: https://git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fcommon%2Fvehicles%2Fsv_vehicles.qh;h=95ab1cfa28777bf1479a9966e7cfa06cf0dd4c06;hb=80a32d528fa31f7cb88b04b099612e705c700308;hp=9870814d30e4e3287c39adf4f8fd3938b9b2bd6f;hpb=797bf448a96c0c13d783c7c919bb2caf6fa16707;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/common/vehicles/sv_vehicles.qh b/qcsrc/common/vehicles/sv_vehicles.qh index 9870814d3..95ab1cfa2 100644 --- a/qcsrc/common/vehicles/sv_vehicles.qh +++ b/qcsrc/common/vehicles/sv_vehicles.qh @@ -12,6 +12,7 @@ AUTOCVAR(g_vehicles_steal, bool, true, "allow stealing enemy vehicles in teampla AUTOCVAR(g_vehicles_steal_show_waypoint, bool, true, "show a waypoint above the thief"); float autocvar_g_vehicles_crush_dmg = 70; float autocvar_g_vehicles_crush_force = 50; +float autocvar_g_vehicles_crush_minspeed = 100; bool autocvar_g_vehicles_delayspawn = true; float autocvar_g_vehicles_delayspawn_jitter = 10; float autocvar_g_vehicles_allow_bots; @@ -66,6 +67,8 @@ const float VHSF_FACTORY = 2; .float dmg_time; +.float pain_frame; + .float play_time; .int volly_counter; @@ -89,10 +92,6 @@ const int VHEF_NORMAL = 0; /// User pressed exit key const int VHEF_EJECT = 1; /// User pressed exit key 3 times fast (not implemented) or vehicle is dying const int VHEF_RELEASE = 2; /// Release ownership, client possibly allready dissconnected / went spec / changed team / used "kill" (not implemented) -float force_fromtag_power; -float force_fromtag_normpower; -vector force_fromtag_origin; - float vehicles_exit_running; // macros @@ -108,7 +107,6 @@ void vehicles_exit(entity vehic, int eject); bool vehicle_initialize(entity this, Vehicle info, float nodrop); bool vehicle_impulse(entity this, int imp); bool vehicles_crushable(entity e); -float vehicle_altitude(entity this, float amax); void vehicles_enter(entity pl, entity veh); IntrusiveList g_vehicle_returners;