]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/lib/warpzone/server.qh
Hopefully fix monster model detection
[xonotic/xonotic-data.pk3dir.git] / qcsrc / lib / warpzone / server.qh
index b96b7b3361e3d3c6ce12c063fa27839d2052d384..9abea2a689ac90b710e5652ea546d1bf4c80aac1 100644 (file)
@@ -1,18 +1,21 @@
 #ifndef LIB_WARPZONE_SERVER_H
 #define LIB_WARPZONE_SERVER_H
 
+#ifdef SVQC
 void WarpZone_StartFrame();
-float WarpZone_Projectile_Touch();
+float WarpZone_Projectile_Touch(entity this);
 
 // 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;
 //const float ENT_CLIENT_WARPZONE_CAMERA;
 
-void WarpZone_PlayerPhysics_FixVAngle();
+void WarpZone_PlayerPhysics_FixVAngle(entity this);
 
 void WarpZone_PostInitialize_Callback();
 #endif
+
+#endif