X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fcommon%2Fweapons%2Fcalculations.qh;h=4feed9fc549e16a48d44c204435f4a83e21672d7;hb=6934dfd60d93f449ce426b2ff52daa6cc03cef52;hp=9a6dd1c547a78c2972d950d95fccf1c03c9aeeb4;hpb=ee32da5f4dafee5883369c759fe8ed042114bda5;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/common/weapons/calculations.qh b/qcsrc/common/weapons/calculations.qh index 9a6dd1c54..4feed9fc5 100644 --- a/qcsrc/common/weapons/calculations.qh +++ b/qcsrc/common/weapons/calculations.qh @@ -1,2 +1,6 @@ +#ifndef CALCULATIONS_H +#define CALCULATIONS_H vector damage_explosion_calcpush(vector explosion_f, vector target_v, float speedfactor); vector W_CalculateSpread(vector forward, float spread, float spreadfactor, float spreadstyle); +int W_GetGunAlignment(entity player); +#endif