X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;ds=sidebyside;f=qcsrc%2Fdpdefs%2Fcsprogsdefs.qh;h=29d797585efbe10117995db27925b739109abae6;hb=f18db064bc143a04ed51bd74f10c2f6d79a931e8;hp=0daa5dce35914c54ae04aa6bb32ef40f911aee46;hpb=dd3c7bd110ff27b62d6c8ee82cd25f51fc4b5a49;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/dpdefs/csprogsdefs.qh b/qcsrc/dpdefs/csprogsdefs.qh index 0daa5dce3..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 @@ -10,8 +9,16 @@ #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 @@ -21,12 +28,18 @@ #undef spawn #undef particleeffectnum +#undef trailparticles +#undef pointparticles #undef setmodel -entity(.entity fld, entity match) findchainentity = #403; +#undef STAT_FRAGLIMIT +#undef STAT_TIMELIMIT +#undef STAT_MOVEVARS_TICRATE +#undef STAT_MOVEVARS_TIMESCALE +#undef STAT_MOVEVARS_GRAVITY #pragma noref 0 -#define ReadFloat() ReadCoord() - -#endif +#define use use1 +.void(entity this, entity actor, entity trigger) use; +#define touch move_touch