X-Git-Url: https://git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fwarpzonelib%2Fcommon.qh;h=1b594d96d73b7c9da95404ad43e73185a1f66ba6;hb=08c7e9870ce96fc1589edccf650dcfe1adb11c8c;hp=1a4c368c3e08098d7fd401df78e615b250c749a5;hpb=b46fdcee5c729ccdf485d908803d06bbfdac2a8c;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/warpzonelib/common.qh b/qcsrc/warpzonelib/common.qh index 1a4c368c3..1b594d96d 100644 --- a/qcsrc/warpzonelib/common.qh +++ b/qcsrc/warpzonelib/common.qh @@ -1,8 +1,12 @@ // uncomment this if your mod uses the roll angle in fixangle // #define KEEP_ROLL +float warpzone_warpzones_exist; +float warpzone_cameras_exist; + const void func_null(void); // never assign to this one please +.float warpzone_isboxy; .vector warpzone_shift; .vector warpzone_origin; .vector warpzone_angles; @@ -11,6 +15,8 @@ const void func_null(void); // never assign to this one please .vector warpzone_targetangles; .vector warpzone_targetforward; .vector warpzone_transform; +.float warpzone_fadestart; +.float warpzone_fadeend; void WarpZone_SetUp(entity e, vector my_org, vector my_ang, vector other_org, vector other_ang); float WarpZoneLib_BoxTouchesBrush(vector mi, vector ma, entity e, entity ig); @@ -32,6 +38,9 @@ void WarpZone_TraceLine(vector org, vector end, float nomonsters, entity forent) void WarpZone_TraceToss(entity e, entity forent); void WarpZone_TraceToss_ThroughZone(entity e, entity forent, entity zone, WarpZone_trace_callback_t cb); void WarpZone_TrailParticles(entity own, float eff, vector org, vector end); +#ifdef CSQC +void WarpZone_TrailParticles_WithMultiplier(entity own, float eff, vector org, vector end, float f, float boxflags); +#endif .vector WarpZone_findradius_dist; .vector WarpZone_findradius_nearest;