]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blob - qcsrc/server/command/getreplies.qh
Rename defs to qh
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / command / getreplies.qh
1 #ifndef GETREPLIES_H
2 #define GETREPLIES_H
3
4 #if defined(CSQC)
5 #elif defined(MENUQC)
6 #elif defined(SVQC)
7     #include "../../dpdefs/progsdefs.qh"
8     #include "../../dpdefs/dpextensions.qh"
9     #include "../sys-post.qh"
10     #include "../../common/constants.qh"
11     #include "../../common/util.qh"
12     #include "../../common/counting.qh"
13     #include "../../common/monsters/monsters.qh"
14     #include "../defs.qh"
15     #include "../../common/mapinfo.qh"
16     #include "getreplies.qh"
17     #include "../race.qh"
18 #endif
19
20 // ======================================================
21 //  Declarations for reply messages, re-worked by Samual
22 //  Last updated: December 30th, 2011
23 // ======================================================
24
25 // ladder bullshit todo
26 const float LADDER_FIRSTPOINT = 100;
27 #define LADDER_CNT 10 // position X still gives LADDER_FIRSTPOINT/X points
28 const float LADDER_SIZE = 30;   // ladder shows the top X players
29
30 string top_uids[LADDER_SIZE];
31 float top_scores[LADDER_SIZE];
32
33 // allow functions to be used in other code like g_world.qc and race.qc
34 string getrecords(float page);
35 string getrankings(void);
36 string getladder(void);
37 string getmaplist(void);
38 string getlsmaps(void);
39 string getmonsterlist(void);
40 #endif