]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blob - qcsrc/common/vehicles/cl_vehicles.qh
62682e262a5eb280f303b6d852c8af94734fea6c
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / vehicles / cl_vehicles.qh
1 #ifndef CL_VEHICLES_H
2 #define CL_VEHICLES_H
3
4 // vehicle cvars
5 var float autocvar_cl_vehicles_alarm = 1;
6 var float autocvar_cl_vehicles_hud_tactical = 1;
7
8 void Net_AuXair2(float bIsNew);
9 void bumble_raygun_read(float bIsNew);
10 void Net_VehicleSetup();
11 void CSQC_BUMBLE_GUN_HUD();
12
13 void RaptorCBShellfragDraw();
14 void RaptorCBShellfragToss(vector _org, vector _vel, vector _ang);
15
16 #define HUD_GETVEHICLESTATS \
17         local noref float vh_health     = getstati(STAT_VEHICLESTAT_HEALTH); \
18         local noref float shield        = getstati(STAT_VEHICLESTAT_SHIELD); \
19         local noref float energy        = getstati(STAT_VEHICLESTAT_ENERGY); \
20         local noref float ammo1         = getstati(STAT_VEHICLESTAT_AMMO1); \
21         local noref float reload1       = getstati(STAT_VEHICLESTAT_RELOAD1); \
22         local noref float ammo2         = getstati(STAT_VEHICLESTAT_AMMO2); \
23         local noref float reload2       = getstati(STAT_VEHICLESTAT_RELOAD2);
24
25 #endif
26