X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Flib%2Fwarpzone%2Fserver.qh;h=b0c583d2dc7bf31728f28e0d53de23219f689c22;hb=af71335a8e418edc55126a63aa65afd9353f413c;hp=db0ba59cc0c812f76a74290b110c2a6471ec13aa;hpb=834fed09016056ff2cd32d1980f0719d09c403a2;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/lib/warpzone/server.qh b/qcsrc/lib/warpzone/server.qh index db0ba59cc..b0c583d2d 100644 --- a/qcsrc/lib/warpzone/server.qh +++ b/qcsrc/lib/warpzone/server.qh @@ -1,13 +1,12 @@ -#ifndef LIB_WARPZONE_SERVER_H -#define LIB_WARPZONE_SERVER_H +#pragma once #ifdef SVQC void WarpZone_StartFrame(); -float WarpZone_Projectile_Touch(); +float WarpZone_Projectile_Touch(entity this, entity toucher); // THESE must be defined by calling QC code: void WarpZone_PostTeleportPlayer_Callback(entity pl); -float WarpZone_Projectile_Touch_ImpactFilter_Callback(); +bool WarpZone_Projectile_Touch_ImpactFilter_Callback(entity this, entity toucher); // server must also define a float called ENT_CLIENT_WARPZONE for the initial byte of WarpZone entities //const float ENT_CLIENT_WARPZONE; @@ -17,5 +16,3 @@ void WarpZone_PlayerPhysics_FixVAngle(entity this); void WarpZone_PostInitialize_Callback(); #endif - -#endif