X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fdpdefs%2Fcsprogsdefs.qh;h=29d797585efbe10117995db27925b739109abae6;hb=7cb3f0e3e703ac7d3ef5a2dafad62aad07e65402;hp=c4d8c54ce05c4b6b847a36f54d1d6672beda0379;hpb=88713a575bd27dabc5926d636542b6145ab6f51c;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/dpdefs/csprogsdefs.qh b/qcsrc/dpdefs/csprogsdefs.qh index c4d8c54ce..29d797585 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 @@ -8,6 +7,18 @@ #define TRUE _TRUE #define FALSE _FALSE +#define spawn _spawn +#define particleeffectnum _particleeffectnum +#define trailparticles __trailparticles +#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 @@ -15,6 +26,20 @@ #undef TRUE #undef FALSE +#undef spawn +#undef particleeffectnum +#undef trailparticles +#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 -#endif +#define use use1 +.void(entity this, entity actor, entity trigger) use; +#define touch move_touch