X-Git-Url: https://de.git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=blobdiff_plain;f=qcsrc%2Fcommon%2Fweapons%2Fcalculations.qh;h=d749cc15eea53f9d89595941ce82c58e1de0538e;hp=d91d22c67c2c0491c9da5bad2b5d2d09ad034aae;hb=HEAD;hpb=ea48961feb50159e05ef56f38b7fd0ebc15cc64e diff --git a/qcsrc/common/weapons/calculations.qh b/qcsrc/common/weapons/calculations.qh index d91d22c67c..d749cc15ee 100644 --- a/qcsrc/common/weapons/calculations.qh +++ b/qcsrc/common/weapons/calculations.qh @@ -1,5 +1,7 @@ -#ifndef CALCULATIONS_H -#define CALCULATIONS_H +#pragma once + vector damage_explosion_calcpush(vector explosion_f, vector target_v, float speedfactor); vector W_CalculateSpread(vector forward, float spread, float spreadfactor, float spreadstyle); -#endif +int W_GunAlign(entity this, int preferred_align); +//int W_GetGunAlignment(entity player); +float explosion_calcpush_getmultiplier(vector explosion_v, vector target_v);