X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fdpdefs%2Fcsprogsdefs.qh;h=9453157f7000591bf273c07ed20aff7438404636;hb=8e4957c252f8381e37f2a72e227797bf51e5cc2f;hp=f424d1a5de4dcfec5323851cabb41a712eed6adb;hpb=10c0e93c75ef6f408e3357bd5fb46c721e7e0576;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/dpdefs/csprogsdefs.qh b/qcsrc/dpdefs/csprogsdefs.qh index f424d1a5d..9453157f7 100644 --- a/qcsrc/dpdefs/csprogsdefs.qh +++ b/qcsrc/dpdefs/csprogsdefs.qh @@ -1,5 +1,4 @@ -#ifndef CSPROGSDEFS_H -#define CSPROGSDEFS_H +#pragma once #pragma noref 1 @@ -45,4 +44,34 @@ .void(entity this, entity actor, entity trigger) use; #define touch move_touch -#endif +// 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