X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fserver%2Fcommand%2Fgetreplies.qh;h=7b436079227f47c1d1621cb891b5bd87400122c0;hb=e17ff6cb06fcee6555889b108b2c2bfe3dae30fa;hp=af941a79d2397038236e479b3cab7b4d34c87525;hpb=e14bb786305e05541496fb5b28c090e0ff1b5783;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/server/command/getreplies.qh b/qcsrc/server/command/getreplies.qh index af941a79d..7b4360792 100644 --- a/qcsrc/server/command/getreplies.qh +++ b/qcsrc/server/command/getreplies.qh @@ -1,17 +1,22 @@ +#pragma once + // ====================================================== // 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]; // 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 getrankings(); +string getladder(); +string getmaplist(); +string getlsmaps(); +string getmonsterlist();