]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/gamemodes/gamemode/mayhem/sv_mayhem.qh
Merge branch 'master' into pending-release
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / gamemodes / gamemode / mayhem / sv_mayhem.qh
diff --git a/qcsrc/common/gamemodes/gamemode/mayhem/sv_mayhem.qh b/qcsrc/common/gamemodes/gamemode/mayhem/sv_mayhem.qh
new file mode 100644 (file)
index 0000000..ab4ae5c
--- /dev/null
@@ -0,0 +1,17 @@
+#pragma once
+
+#include <common/mutators/base.qh>
+
+void mayhem_Initialize();
+
+REGISTER_MUTATOR(mayhem, false)
+{
+       MUTATOR_STATIC();
+       MUTATOR_ONADD
+       {
+               mayhem_Initialize();
+       }
+       return 0;
+}
+
+void MayhemCalculatePlayerScore(entity scorer);