]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/command/radarmap.qh
Add a dedicated function for shuffleteams code
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / command / radarmap.qh
index 4332003f8f4cd15aa885cc14afd7698ca46fcca7..44bd8fb4bac922794440153d22b1ee0ac9422d13 100644 (file)
@@ -1,4 +1,7 @@
 #pragma once
+#ifndef RADARMAP
+bool RadarMap_Make(int argc) { LOG_INFO("radarmap is disabled, compile with -DRADARMAP to enable it."); return true; }
+#else
 
 // ===========================================
 //     Declarations for radarmap generation code
@@ -14,4 +17,6 @@ string doublehex = "000102030405060708090A0B0C0D0E0F101112131415161718191A1B1C1D
 // FF is contained twice, to map 256 to FF too
 // removes the need to bound()
 
-float RadarMap_Make(float argc);
+bool RadarMap_Make(int argc);
+
+#endif