]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/mutators/base.qh
Experimental - Lets make it so that spectators aren't noclip anymore, this way they...
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / mutators / base.qh
index 974e1a4c5764ab3268dcf2612e4eacd017f85456..aa581228bd474fc32a12bc885291d0ae9a0c9775 100644 (file)
@@ -94,6 +94,10 @@ MUTATOR_HOOKABLE(FilterItem);
        // checks if the current item may be spawned (self.items and self.weapons may be read and written to, as well as the ammo_ fields)
        // return error to request removal
 
+MUTATOR_HOOKABLE(TurretSpawn);
+       // return error to request removal
+       // INPUT: self - turret
+       
 MUTATOR_HOOKABLE(OnEntityPreSpawn);
        // return error to prevent entity spawn, or modify the entity
 
@@ -136,6 +140,7 @@ MUTATOR_HOOKABLE(PlayerDamage_Calculate);
        // INPUT:
                entity frag_attacker;
                entity frag_target;
+               float frag_deathtype;
        // INPUT, OUTPUT:
                float frag_damage;
                vector frag_force;
@@ -144,4 +149,4 @@ MUTATOR_HOOKABLE(PlayerPowerups);
        // called at the end of player_powerups() in cl_client.qc, used for manipulating the values which are set by powerup items.
        // INPUT
        entity self;
-       float olditems; // also technically output, but since it is at the end of the function it's useless for that :P 
\ No newline at end of file
+       float olditems; // also technically output, but since it is at the end of the function it's useless for that :P