X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fserver%2Fcommand%2Fgetreplies.qh;h=bf37153c445dc565a9268e577859af4c15f651ec;hb=cd141fba8a7c59fef4b0e98eee651943b18cd99d;hp=af941a79d2397038236e479b3cab7b4d34c87525;hpb=49e47ad10d83c939eca33d2c5f542d01c7da2b3e;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/server/command/getreplies.qh b/qcsrc/server/command/getreplies.qh index af941a79d..bf37153c4 100644 --- a/qcsrc/server/command/getreplies.qh +++ b/qcsrc/server/command/getreplies.qh @@ -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 -#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_FIRSTPOINT = 100; +#define LADDER_CNT 10 // position X still gives LADDER_FIRSTPOINT/X points +const int LADDER_SIZE = 30; // ladder shows the top X players string top_uids[LADDER_SIZE]; float top_scores[LADDER_SIZE]; @@ -14,4 +17,8 @@ float top_scores[LADDER_SIZE]; // allow functions to be used in other code like g_world.qc and race.qc string getrecords(float page); string getrankings(void); -string getladder(void); \ No newline at end of file +string getladder(void); +string getmaplist(void); +string getlsmaps(void); +string getmonsterlist(void); +#endif