]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/mutators/base.qh
mutator_superspec (g_superspectate 1 to enable): Extended spectation fucntions. Curre...
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / mutators / base.qh
index 174c10235f51c5a716bec4835a9b851df7dac43c..236e311b6a0cb8c0fa7fa39631678b8b46f6ab64 100644 (file)
@@ -190,8 +190,6 @@ MUTATOR_HOOKABLE(SV_ParseClientCommand);
                }
        */
 
-MUTATOR_HOOKABLE(SV_StartFrame);
-       // runs globally each server frame
 MUTATOR_HOOKABLE(Spawn_Score);
        // called when a spawnpoint is being evaluated
        // return 1 to make the spawnpoint unusable
@@ -200,3 +198,17 @@ MUTATOR_HOOKABLE(Spawn_Score);
        entity spawn_spot; // spot to be evaluated
        // IN+OUT
        vector spawn_score; // _x is priority, _y is "distance"
+
+MUTATOR_HOOKABLE(SV_StartFrame);
+       // runs globally each server frame
+
+MUTATOR_HOOKABLE(SetModname);
+       // OUT
+       string modname; // name of the mutator/mod if it warrants showing as such in the server browser
+
+MUTATOR_HOOKABLE(SetWeaponreplace);
+       // IN
+               entity self; // map entity
+               entity other; // weapon info
+       // IN+OUT
+               string ret_string;