X-Git-Url: https://git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fdpdefs%2Fdpextensions.qh;h=1976c3327af33675ef746cd4a9af9e8c77685d76;hb=71d5e574432fcd7767520c2a9ad582d1652c37ab;hp=2487da4ff357a8751c3ab8e643ce0168ad02c47a;hpb=c6d440124df99b8b1f48fe7666332273535eb413;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/dpdefs/dpextensions.qh b/qcsrc/dpdefs/dpextensions.qh index 2487da4ff..1976c3327 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 @@ -58,4 +64,16 @@ int() _buf_create = #460; #pragma noref 0 -#endif +// deglobalization: + +#define skel_get_bonerel DO_NOT_USE_GLOBALS // not used anywhere so not wrapped + +vector(float skel, float bonenum) _skel_get_boneabs_hidden = #270; +//#define skel_get_boneabs DO_NOT_USE_GLOBALS_PREFER_SKEL_GET_BONE_ABS_MACRO_INSTEAD + +void(float skel, float bonenum, vector org) _skel_set_bone_hidden = #271; +//#define skel_set_bone DO_NOT_USE_GLOBALS_PREFER_SKEL_SET_BONE_MACRO_INSTEAD + +#define skel_mul_bone DO_NOT_USE_GLOBALS // not used anywhere so not wrapped + +#define skel_mul_bones DO_NOT_USE_GLOBALS // not used anywhere so not wrapped