X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fclient%2Fgibs.qc;h=bdde3b698172c1b4ca08a075d3c0b97817f3e559;hb=1556aa4ea70b3b275afb1cb4587e555fb44f71c3;hp=5d8543a781b532151fcba8f2c2f3a31896bed5ad;hpb=9751ab01932e217e9fb290fe72d9f9b489e5f746;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/client/gibs.qc b/qcsrc/client/gibs.qc index 5d8543a78..bdde3b698 100644 --- a/qcsrc/client/gibs.qc +++ b/qcsrc/client/gibs.qc @@ -1,4 +1,16 @@ -.bool silent; +#include "gibs.qh" +#include "_all.qh" + +#include "rubble.qh" + +#include "../common/constants.qh" +#include "../common/movetypes/movetypes.qh" +#include "../common/util.qh" + +.float scale; +.float alpha; +.float cnt; +.float gravity; void Gib_Delete() { @@ -164,9 +176,9 @@ void Ent_GibSplash(bool isNew) type = ReadByte(); // gibbage type amount = ReadByte() / 16.0; // gibbage amount - org_x = ReadShort() * 4 + 2; - org_y = ReadShort() * 4 + 2; - org_z = ReadShort() * 4 + 2; + org.x = ReadShort() * 4 + 2; + org.y = ReadShort() * 4 + 2; + org.z = ReadShort() * 4 + 2; vel = decompressShortVector(ReadShort()); float cl_gentle_gibs = autocvar_cl_gentle_gibs;