X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fdpdefs%2Fdpextensions.qh;h=2ed0f9063889af40f2270740e069f47d29f62789;hb=ada6591c533a7d47237096f9a56cccbd1b2ae1c0;hp=2487da4ff357a8751c3ab8e643ce0168ad02c47a;hpb=9c09a961b8674e3a808889d3f34d71855018d3bc;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/dpdefs/dpextensions.qh b/qcsrc/dpdefs/dpextensions.qh index 2487da4ff..2ed0f9063 100644 --- a/qcsrc/dpdefs/dpextensions.qh +++ b/qcsrc/dpdefs/dpextensions.qh @@ -1,15 +1,21 @@ -#ifndef DPEXTENSIONS_H -#define DPEXTENSIONS_H +#pragma once #pragma noref 1 +#define particleeffectnum __particleeffectnum +#define trailparticles __trailparticles +#define pointparticles __pointparticles + #include "upstream/dpextensions.qc" +#undef particleeffectnum +#undef trailparticles +#undef pointparticles + int(entity ent, string tagname) _gettagindex = #451; #define gettagindex _gettagindex int(string effectname) _particleeffectnum = #335; -#define particleeffectnum _particleeffectnum int(string s, string separator1, ...) _tokenizebyseparator = #479; #define tokenizebyseparator _tokenizebyseparator @@ -57,5 +63,3 @@ int() _buf_create = #460; #define buf_create _buf_create #pragma noref 0 - -#endif