]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blob - qcsrc/common/vehicles/cl_vehicles.qh
New vehicle system based on weapons system
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / vehicles / cl_vehicles.qh
1 // vehicle cvars
2 var float autocvar_cl_vehicles_alarm = 1;
3 var float autocvar_cl_vehicle_spiderbot_cross_alpha = 0.6;
4 var float autocvar_cl_vehicle_spiderbot_cross_size = 1;
5 var float autocvar_cl_vehicles_hud_tactical = 1;
6
7 void RaptorCBShellfragDraw();
8 void RaptorCBShellfragToss(vector _org, vector _vel, vector _ang);
9
10 #define HUD_GETVEHICLESTATS \
11         local noref float vh_health     = getstati(STAT_VEHICLESTAT_HEALTH); \
12         local noref float shield        = getstati(STAT_VEHICLESTAT_SHIELD); \
13         local noref float energy        = getstati(STAT_VEHICLESTAT_ENERGY); \
14         local noref float ammo1         = getstati(STAT_VEHICLESTAT_AMMO1); \
15         local noref float reload1       = getstati(STAT_VEHICLESTAT_RELOAD1); \
16         local noref float ammo2         = getstati(STAT_VEHICLESTAT_AMMO2); \
17         local noref float reload2       = getstati(STAT_VEHICLESTAT_RELOAD2);