X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fclient%2Fwall.qc;h=9da9bb5b658338fdacca81cbc3e7ef2d7dafd90d;hb=c51698509e174e343dff48128a1dcfff1527c535;hp=92c142435636a8113f973e486f3ec8ec406a084b;hpb=8643336b62c2c2881987dabddc842a0214839012;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/client/wall.qc b/qcsrc/client/wall.qc index 92c142435..9da9bb5b6 100644 --- a/qcsrc/client/wall.qc +++ b/qcsrc/client/wall.qc @@ -1,18 +1,16 @@ #include "wall.qh" -#include "_all.qh" #include "bgmscript.qh" -#include "../common/util.qh" -#include "../csqcmodellib/interpolate.qh" +#include "../lib/csqcmodel/interpolate.qh" .float alpha; .float scale; .vector movedir; void Ent_Wall_PreDraw() -{ +{SELFPARAM(); if (self.inactive) { self.alpha = 0; @@ -51,7 +49,7 @@ void Ent_Wall_PreDraw() self.drawmask = MASK_NORMAL; } -void Ent_Wall_Draw() +void Ent_Wall_Draw(entity this) { float f; var .vector fld; @@ -110,14 +108,14 @@ void Ent_Wall_Draw() } void Ent_Wall_Remove() -{ +{SELFPARAM(); if(self.bgmscript) strunzone(self.bgmscript); self.bgmscript = string_null; } void Ent_Wall() -{ +{SELFPARAM(); int f; var .vector fld;