]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/command/getreplies.qh
#include this
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / command / getreplies.qh
index 583961d2246db10ce3907b411672100a92589b93..7a22e86c059965b087630faa719f07b7ac9e2175 100644 (file)
@@ -1,12 +1,31 @@
+#ifndef GETREPLIES_H
+#define GETREPLIES_H
+
+#if defined(CSQC)
+#elif defined(MENUQC)
+#elif defined(SVQC)
+    #include "../../dpdefs/progsdefs.qc"
+    #include "../../dpdefs/dpextensions.qc"
+    #include "../sys-post.qh"
+    #include "../../common/constants.qh"
+    #include "../../common/util.qh"
+    #include "../../common/counting.qh"
+    #include "../../common/monsters/monsters.qh"
+    #include "../defs.qh"
+    #include "../../common/mapinfo.qh"
+    #include "getreplies.qh"
+    #include "../race.qh"
+#endif
+
 // ======================================================
 //  Declarations for reply messages, re-worked by Samual
 //  Last updated: December 30th, 2011
 // ======================================================
 
 // ladder bullshit todo
-#define LADDER_FIRSTPOINT 100
+const float LADDER_FIRSTPOINT = 100;
 #define LADDER_CNT 10 // position X still gives LADDER_FIRSTPOINT/X points
-#define LADDER_SIZE 30         // ladder shows the top X players
+const float LADDER_SIZE = 30;  // ladder shows the top X players
 
 string top_uids[LADDER_SIZE];
 float top_scores[LADDER_SIZE];
@@ -18,3 +37,4 @@ string getladder(void);
 string getmaplist(void);
 string getlsmaps(void);
 string getmonsterlist(void);
+#endif
\ No newline at end of file