X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fcommon%2Fvehicles%2Fcl_vehicles.qh;h=6b1ce326414440daf8c181237929d43c3c24296e;hb=HEAD;hp=87f0751af81d78623caecc21fe266c5ba3b9822a;hpb=948c08402a7b9b7af36059104937650e343ecefe;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/common/vehicles/cl_vehicles.qh b/qcsrc/common/vehicles/cl_vehicles.qh index 87f0751af..6b1ce3264 100644 --- a/qcsrc/common/vehicles/cl_vehicles.qh +++ b/qcsrc/common/vehicles/cl_vehicles.qh @@ -1,16 +1,36 @@ -#ifndef CL_VEHICLES_H -#define CL_VEHICLES_H +#pragma once -vector vehicleHud_Size; -vector vehicleHud_Pos; +bool autocvar_cl_vehicles_alarm = false; +bool autocvar_cl_vehicles_hud_tactical = true; +float autocvar_cl_vehicles_hudscale = 0.5; +float autocvar_cl_vehicles_notify_time = 15; +float autocvar_cl_vehicles_crosshair_size = 0.5; +bool autocvar_cl_vehicles_crosshair_colorize = true; +bool autocvar__vehicles_shownchasemessage; +vector autocvar_hud_progressbar_vehicles_ammo1_color; +vector autocvar_hud_progressbar_vehicles_ammo2_color; + +const string vCROSS_BURST = "gfx/vehicles/crosshair_burst"; +const string vCROSS_DROP = "gfx/vehicles/crosshair_drop"; +const string vCROSS_GUIDE = "gfx/vehicles/crosshair_guide"; +const string vCROSS_HEAL = "gfx/vehicles/crosshair_heal"; +const string vCROSS_HINT = "gfx/vehicles/crosshair_hint"; +const string vCROSS_LOCK = "gfx/vehicles/crosshair_lock"; +const string vCROSS_RAIN = "gfx/vehicles/crosshair_rain"; -void Net_AuXair2(float bIsNew); +entity dropmark; -void Net_VehicleSetup(); +const int MAX_AXH = 4; +entity AuxiliaryXhair[MAX_AXH]; -void RaptorCBShellfragDraw(entity this); -void RaptorCBShellfragToss(vector _org, vector _vel, vector _ang); +.string axh_image; +.float axh_fadetime; +.int axh_drawflag; -#define weapon2mode getstati(STAT_VEHICLESTAT_W2MODE) +float alarm1time; +float alarm2time; + +vector vehicleHud_Size; +vector vehicleHud_Pos; -#endif +#define weapon2mode STAT(VEHICLESTAT_W2MODE)