]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/mutators/events.qh
Decouple bugrigs from the main code base
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / mutators / events.qh
index 05f567d761c136079415f1decdaf2f0cf87e6557..49a2a0761162ce2be18605ac72bdb86eb057b6f8 100644 (file)
@@ -78,4 +78,11 @@ float player_multijump;
 float player_jumpheight;
 MUTATOR_HOOKABLE(PlayerJump, EV_PlayerJump);
 
+/** called during player physics, allows adjusting the movement type used */
+#define EV_PM_Physics(i, o) \
+    /**/ i(float, pm_maxspeed_mod) \
+    /**/
+float pm_maxspeed_mod;
+MUTATOR_HOOKABLE(PM_Physics, EV_PM_Physics);
+
 #endif