X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=blobdiff_plain;f=qcsrc%2Fdpdefs%2Fcsprogsdefs.qh;h=9453157f7000591bf273c07ed20aff7438404636;hp=6f9c9d637ff3a927faae655e701e09d7c73d22a9;hb=3331142a41bd023ef15ced5210a2e1a2206bbb3c;hpb=317ec3eb27ada1c4668876e9499136125acb7984 diff --git a/qcsrc/dpdefs/csprogsdefs.qh b/qcsrc/dpdefs/csprogsdefs.qh index 6f9c9d637..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 @@ -14,6 +13,12 @@ #define pointparticles __pointparticles #define setmodel _setmodel +#define STAT_FRAGLIMIT _STAT_FRAGLIMIT +#define STAT_TIMELIMIT _STAT_TIMELIMIT +#define STAT_MOVEVARS_TICRATE _STAT_MOVEVARS_TICRATE +#define STAT_MOVEVARS_TIMESCALE _STAT_MOVEVARS_TIMESCALE +#define STAT_MOVEVARS_GRAVITY _STAT_MOVEVARS_GRAVITY + #include "upstream/csprogsdefs.qc" #undef true @@ -27,8 +32,46 @@ #undef pointparticles #undef setmodel +#undef STAT_FRAGLIMIT +#undef STAT_TIMELIMIT +#undef STAT_MOVEVARS_TICRATE +#undef STAT_MOVEVARS_TIMESCALE +#undef STAT_MOVEVARS_GRAVITY + #pragma noref 0 -#define ReadFloat() ReadCoord() +#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 -#endif +#define getentity DO_NOT_USE_GLOBALS // not used anywhere so not wrapped +#define getentityvec DO_NOT_USE_GLOBALS // not used anywhere so not wrapped