]> 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 #ifndef CL_VEHICLES_H
2 #define CL_VEHICLES_H
3
4 // vehicle cvars
5 bool autocvar_cl_vehicles_alarm = 1;
6 bool autocvar_cl_vehicles_hud_tactical = 1;
7
8 void Net_AuXair2(float bIsNew);
9
10 void Net_VehicleSetup();
11
12 void RaptorCBShellfragDraw();
13 void RaptorCBShellfragToss(vector _org, vector _vel, vector _ang);
14
15 #define HUD_GETVEHICLESTATS \
16     int vh_health       = getstati(STAT_VEHICLESTAT_HEALTH);  \
17         float shield        = getstati(STAT_VEHICLESTAT_SHIELD);  \
18         noref int energy    = getstati(STAT_VEHICLESTAT_ENERGY);  \
19         noref float ammo1   = getstati(STAT_VEHICLESTAT_AMMO1);   \
20         noref float reload1 = getstati(STAT_VEHICLESTAT_RELOAD1); \
21         noref int ammo2     = getstati(STAT_VEHICLESTAT_AMMO2);   \
22         noref int reload2   = getstati(STAT_VEHICLESTAT_RELOAD2);
23
24 #endif