]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/command/getreplies.qh
Merge branch 'master' into terencehill/string_prefixes_cleanup
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / command / getreplies.qh
index 583961d2246db10ce3907b411672100a92589b93..0e419fdea3ca94a327d90843bbfeb7cdfa8380e6 100644 (file)
@@ -1,12 +1,15 @@
+#ifndef GETREPLIES_H
+#define GETREPLIES_H
+
 // ======================================================
 //  Declarations for reply messages, re-worked by Samual
 //  Last updated: December 30th, 2011
 // ======================================================
 
 // ladder bullshit todo
-#define LADDER_FIRSTPOINT 100
+const int 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 int LADDER_SIZE = 30;    // ladder shows the top X players
 
 string top_uids[LADDER_SIZE];
 float top_scores[LADDER_SIZE];
@@ -18,3 +21,4 @@ string getladder(void);
 string getmaplist(void);
 string getlsmaps(void);
 string getmonsterlist(void);
+#endif