]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/vehicles/cl_vehicles.qh
Update default video settings
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / vehicles / cl_vehicles.qh
index f91add3f1e81d970859c3d3a912c68017eb5300a..6b1ce326414440daf8c181237929d43c3c24296e 100644 (file)
@@ -1,24 +1,36 @@
-#ifndef CL_VEHICLES_H
-#define CL_VEHICLES_H
+#pragma once
 
-// vehicle cvars
-bool autocvar_cl_vehicles_alarm = 1;
-bool autocvar_cl_vehicles_hud_tactical = 1;
+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;
 
-void Net_AuXair2(float bIsNew);
+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_VehicleSetup();
+entity dropmark;
 
-void RaptorCBShellfragDraw();
-void RaptorCBShellfragToss(vector _org, vector _vel, vector _ang);
+const int MAX_AXH = 4;
+entity AuxiliaryXhair[MAX_AXH];
 
-#define HUD_GETVEHICLESTATS \
-    int vh_health       = getstati(STAT_VEHICLESTAT_HEALTH);  \
-       float shield        = getstati(STAT_VEHICLESTAT_SHIELD);  \
-       noref int energy    = getstati(STAT_VEHICLESTAT_ENERGY);  \
-       noref float ammo1   = getstati(STAT_VEHICLESTAT_AMMO1);   \
-       noref float reload1 = getstati(STAT_VEHICLESTAT_RELOAD1); \
-       noref int ammo2     = getstati(STAT_VEHICLESTAT_AMMO2);   \
-       noref int reload2   = getstati(STAT_VEHICLESTAT_RELOAD2);
+.string axh_image;
+.float  axh_fadetime;
+.int    axh_drawflag;
 
-#endif
+float alarm1time;
+float alarm2time;
+
+vector vehicleHud_Size;
+vector vehicleHud_Pos;
+
+#define weapon2mode STAT(VEHICLESTAT_W2MODE)