X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fcommon%2Fvehicles%2Fcl_vehicles.qh;h=327074b98641e72631bbb3089ecc3829b008dca5;hb=c29ff3e1ef498deec2ebd9ad6883e9d2b683f43d;hp=3f0d8cfb20b5efd4202b85f0243db4ec2a8e3cd4;hpb=4e615efc30160e953002afd04d3eaad8a9881db2;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/common/vehicles/cl_vehicles.qh b/qcsrc/common/vehicles/cl_vehicles.qh index 3f0d8cfb2..327074b98 100644 --- a/qcsrc/common/vehicles/cl_vehicles.qh +++ b/qcsrc/common/vehicles/cl_vehicles.qh @@ -1,25 +1,9 @@ -#ifndef CL_VEHICLES_H -#define CL_VEHICLES_H +#pragma once -// vehicle cvars -bool autocvar_cl_vehicles_alarm = 1; -bool autocvar_cl_vehicles_hud_tactical = 1; +vector vehicleHud_Size; +vector vehicleHud_Pos; -void Net_AuXair2(float bIsNew); -void bumble_raygun_read(float bIsNew); -void Net_VehicleSetup(); -void CSQC_BUMBLE_GUN_HUD(); - -void RaptorCBShellfragDraw(); +void RaptorCBShellfragDraw(entity this); void RaptorCBShellfragToss(vector _org, vector _vel, vector _ang); -#define HUD_GETVEHICLESTATS \ - int vh_health = getstati(STAT_VEHICLESTAT_HEALTH); \ - float shield = getstati(STAT_VEHICLESTAT_SHIELD); \ - noref int energy = getstati(STAT_VEHICLESTAT_ENERGY); \ - noref float ammo1 = getstati(STAT_VEHICLESTAT_AMMO1); \ - noref float reload1 = getstati(STAT_VEHICLESTAT_RELOAD1); \ - noref int ammo2 = getstati(STAT_VEHICLESTAT_AMMO2); \ - noref int reload2 = getstati(STAT_VEHICLESTAT_RELOAD2); - -#endif +#define weapon2mode STAT(VEHICLESTAT_W2MODE)