]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blob - qcsrc/common/vehicles/cl_vehicles.qh
Merge branch 'master' into Mario/vehicles
[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_vehicles_hud_tactical = 1;
4
5 void RaptorCBShellfragDraw();
6 void RaptorCBShellfragToss(vector _org, vector _vel, vector _ang);
7
8 #define HUD_GETVEHICLESTATS \
9         local noref float vh_health     = getstati(STAT_VEHICLESTAT_HEALTH); \
10         local noref float shield        = getstati(STAT_VEHICLESTAT_SHIELD); \
11         local noref float energy        = getstati(STAT_VEHICLESTAT_ENERGY); \
12         local noref float ammo1         = getstati(STAT_VEHICLESTAT_AMMO1); \
13         local noref float reload1       = getstati(STAT_VEHICLESTAT_RELOAD1); \
14         local noref float ammo2         = getstati(STAT_VEHICLESTAT_AMMO2); \
15         local noref float reload2       = getstati(STAT_VEHICLESTAT_RELOAD2);