X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fdpdefs%2Fcsprogsdefs.qh;h=e7eaf01f3c7104483eefbbaeeef31dadc1b296d7;hb=8dd669b2c3f0ce3ea01ef930b70d40045e949c1a;hp=9453157f7000591bf273c07ed20aff7438404636;hpb=37b3d02a3583ada75dd373d067a8ab6a0ce109a1;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/dpdefs/csprogsdefs.qh b/qcsrc/dpdefs/csprogsdefs.qh index 9453157f7..e7eaf01f3 100644 --- a/qcsrc/dpdefs/csprogsdefs.qh +++ b/qcsrc/dpdefs/csprogsdefs.qh @@ -19,6 +19,15 @@ #define STAT_MOVEVARS_TIMESCALE _STAT_MOVEVARS_TIMESCALE #define STAT_MOVEVARS_GRAVITY _STAT_MOVEVARS_GRAVITY +#define drawpic drawpic_builtin +#define drawstring drawstring_builtin +#define drawcharacter drawcharacter_builtin +#define drawfill drawfill_builtin +#define drawsetcliparea drawsetcliparea_builtin +#define drawcolorcodedstring drawcolorcodedstring_builtin +#define drawcolorcodedstring2 drawcolorcodedstring2_builtin +#define stringwidth stringwidth_builtin + #include "upstream/csprogsdefs.qc" #undef true @@ -38,40 +47,23 @@ #undef STAT_MOVEVARS_TIMESCALE #undef STAT_MOVEVARS_GRAVITY -#pragma noref 0 - #define use use1 .void(entity this, entity actor, entity trigger) use; -#define touch move_touch -// deglobalization: +#undef drawpic +#undef drawstring +#undef drawcharacter +#undef drawfill +#undef drawsetcliparea +#undef drawcolorcodedstring +#undef drawcolorcodedstring2 +#undef stringwidth 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 +#pragma noref 0