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