Merge branch 'z411/ca-prevent-observer' into 'master'
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / vehicles / cl_vehicles.qh
1 #pragma once
2
3 bool autocvar_cl_vehicles_alarm = false;
4 bool autocvar_cl_vehicles_hud_tactical = true;
5 float autocvar_cl_vehicles_hudscale = 0.5;
6 float autocvar_cl_vehicles_notify_time = 15;
7 float autocvar_cl_vehicles_crosshair_size = 0.5;
8 bool autocvar_cl_vehicles_crosshair_colorize = true;
9 bool autocvar__vehicles_shownchasemessage;
10 vector autocvar_hud_progressbar_vehicles_ammo1_color;
11 vector autocvar_hud_progressbar_vehicles_ammo2_color;
12
13 const string vCROSS_BURST = "gfx/vehicles/crosshair_burst";
14 const string vCROSS_DROP  = "gfx/vehicles/crosshair_drop";
15 const string vCROSS_GUIDE = "gfx/vehicles/crosshair_guide";
16 const string vCROSS_HEAL  = "gfx/vehicles/crosshair_heal";
17 const string vCROSS_HINT  = "gfx/vehicles/crosshair_hint";
18 const string vCROSS_LOCK  = "gfx/vehicles/crosshair_lock";
19 const string vCROSS_RAIN  = "gfx/vehicles/crosshair_rain";
20
21 entity dropmark;
22
23 const int MAX_AXH = 4;
24 entity AuxiliaryXhair[MAX_AXH];
25
26 .string axh_image;
27 .float  axh_fadetime;
28 .int    axh_drawflag;
29
30 float alarm1time;
31 float alarm2time;
32
33 vector vehicleHud_Size;
34 vector vehicleHud_Pos;
35
36 #define weapon2mode STAT(VEHICLESTAT_W2MODE)