]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Remove no longer needed no-op mod folder
authorTimePath <andrew.hardaker1995@gmail.com>
Sun, 4 Oct 2015 08:51:53 +0000 (19:51 +1100)
committerTimePath <andrew.hardaker1995@gmail.com>
Sun, 4 Oct 2015 08:51:53 +0000 (19:51 +1100)
qcsrc/client/progs.inc
qcsrc/menu/progs.inc
qcsrc/mod/client/main.qc [deleted file]
qcsrc/mod/client/progs.inc [deleted file]
qcsrc/mod/menu/main.qc [deleted file]
qcsrc/mod/menu/progs.inc [deleted file]
qcsrc/mod/server/main.qc [deleted file]
qcsrc/mod/server/progs.inc [deleted file]
qcsrc/server/progs.inc

index 3d742a624588ce6de0fc83ae2fef10896ea172ea..40a745a6f45d2d6870af139a6c2654baf95af81a 100644 (file)
@@ -75,4 +75,6 @@
 #include "../warpzonelib/common.qc"
 #include "../warpzonelib/util_server.qc"
 
-#include "../mod/client/progs.inc"
+#if BUILD_MOD
+#include "../../mod/client/progs.inc"
+#endif
index 45c52c8c02b34dfe10f61adc81d224962ec49c74..ba7411bb697b4297a12420f7049d3e1b9db30d9d 100644 (file)
@@ -26,4 +26,6 @@
 #include "../common/vehicles/all.qc"
 #include "../common/weapons/all.qc"
 
-#include "../mod/menu/progs.inc"
+#if BUILD_MOD
+#include "../../mod/menu/progs.inc"
+#endif
diff --git a/qcsrc/mod/client/main.qc b/qcsrc/mod/client/main.qc
deleted file mode 100644 (file)
index d84239c..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-REGISTER_MUTATOR(mutator_mod, cvar("g_mod"));
-
-MUTATOR_HOOKFUNCTION(mutator_mod, BuildMutatorsString) {
-    ret_string = strcat(ret_string, ":mod");
-}
-
-MUTATOR_HOOKFUNCTION(mutator_mod, BuildMutatorsPrettyString) {
-    ret_string = strcat(ret_string, ", Mod");
-}
diff --git a/qcsrc/mod/client/progs.inc b/qcsrc/mod/client/progs.inc
deleted file mode 100644 (file)
index ae91a9e..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-#if BUILD_MOD
-#include "main.qc"
-#endif
diff --git a/qcsrc/mod/menu/main.qc b/qcsrc/mod/menu/main.qc
deleted file mode 100644 (file)
index d84239c..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-REGISTER_MUTATOR(mutator_mod, cvar("g_mod"));
-
-MUTATOR_HOOKFUNCTION(mutator_mod, BuildMutatorsString) {
-    ret_string = strcat(ret_string, ":mod");
-}
-
-MUTATOR_HOOKFUNCTION(mutator_mod, BuildMutatorsPrettyString) {
-    ret_string = strcat(ret_string, ", Mod");
-}
diff --git a/qcsrc/mod/menu/progs.inc b/qcsrc/mod/menu/progs.inc
deleted file mode 100644 (file)
index ae91a9e..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-#if BUILD_MOD
-#include "main.qc"
-#endif
diff --git a/qcsrc/mod/server/main.qc b/qcsrc/mod/server/main.qc
deleted file mode 100644 (file)
index d84239c..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-REGISTER_MUTATOR(mutator_mod, cvar("g_mod"));
-
-MUTATOR_HOOKFUNCTION(mutator_mod, BuildMutatorsString) {
-    ret_string = strcat(ret_string, ":mod");
-}
-
-MUTATOR_HOOKFUNCTION(mutator_mod, BuildMutatorsPrettyString) {
-    ret_string = strcat(ret_string, ", Mod");
-}
diff --git a/qcsrc/mod/server/progs.inc b/qcsrc/mod/server/progs.inc
deleted file mode 100644 (file)
index ae91a9e..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-#if BUILD_MOD
-#include "main.qc"
-#endif
index 5d7af0cd2b85bfe76f5c1b9be8f1e827dae15b99..5b8d826a3f8ef9ff5f800b796aca14fc3c3813a0 100644 (file)
 #include "../warpzonelib/server.qc"
 #include "../warpzonelib/util_server.qc"
 
-#include "../mod/server/progs.inc"
+#if BUILD_MOD
+#include "../../mod/server/progs.inc"
+#endif