]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blob - qcsrc/common/vehicles/cl_vehicles.qh
3f0d8cfb20b5efd4202b85f0243db4ec2a8e3cd4
[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 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     int vh_health       = getstati(STAT_VEHICLESTAT_HEALTH);  \
18         float shield        = getstati(STAT_VEHICLESTAT_SHIELD);  \
19         noref int energy    = getstati(STAT_VEHICLESTAT_ENERGY);  \
20         noref float ammo1   = getstati(STAT_VEHICLESTAT_AMMO1);   \
21         noref float reload1 = getstati(STAT_VEHICLESTAT_RELOAD1); \
22         noref int ammo2     = getstati(STAT_VEHICLESTAT_AMMO2);   \
23         noref int reload2   = getstati(STAT_VEHICLESTAT_RELOAD2);
24
25 #endif