X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fdpdefs%2Fcsprogsdefs.qh;h=9453157f7000591bf273c07ed20aff7438404636;hb=43c9e02033d4b7b2100df527fb8ea5ab8e439e14;hp=29d797585efbe10117995db27925b739109abae6;hpb=651c8c3d25474fe6a926bd4217b3763f263cf02f;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/dpdefs/csprogsdefs.qh b/qcsrc/dpdefs/csprogsdefs.qh index 29d797585..9453157f7 100644 --- a/qcsrc/dpdefs/csprogsdefs.qh +++ b/qcsrc/dpdefs/csprogsdefs.qh @@ -43,3 +43,35 @@ #define use use1 .void(entity this, entity actor, entity trigger) use; #define touch move_touch + +// deglobalization: + +void(vector ang) _makevectors_hidden = #1; +//#define makevectors DO_NOT_USE_GLOBALS_PREFER_MAKE_VECTORS_MACRO_INSTEAD + +#define makestatic DO_NOT_USE_GLOBALS // not used anywhere so not wrapped + +#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 + +void(vector org, float radius, vector lightcolours) _adddynamiclight_hidden = #305; +//#define adddynamiclight DO_NOT_USE_GLOBALS_PREFER_ADD_DYNAMIC_LIGHT_MACRO_INSTEAD +#define adddynamiclight2 DO_NOT_USE_GLOBALS // not used anywhere so not wrapped + +void(vector dir) _vectorvectors_hidden = #432; +#define vectorvectors DO_NOT_USE_GLOBALS_PREFER_VECTOR_VECTORS_MACRO_INSTEAD + +vector(entity ent, float tagindex) _gettaginfo_hidden = #452; +//#define gettaginfo DO_NOT_USE_GLOBALS_PREFER_GET_TAG_INFO_MACRO_INSTEAD + +#define getentity DO_NOT_USE_GLOBALS // not used anywhere so not wrapped +#define getentityvec DO_NOT_USE_GLOBALS // not used anywhere so not wrapped