X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fserver%2Fcommand%2Fgetreplies.qh;h=7b436079227f47c1d1621cb891b5bd87400122c0;hb=19794b31e782cca0f5a0d916bc5fd4dc6156eeaf;hp=0e419fdea3ca94a327d90843bbfeb7cdfa8380e6;hpb=77f03e6ce033bef39ac19e0e7cb6e606ffcb26db;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/server/command/getreplies.qh b/qcsrc/server/command/getreplies.qh index 0e419fdea..7b4360792 100644 --- a/qcsrc/server/command/getreplies.qh +++ b/qcsrc/server/command/getreplies.qh @@ -1,5 +1,4 @@ -#ifndef GETREPLIES_H -#define GETREPLIES_H +#pragma once // ====================================================== // Declarations for reply messages, re-worked by Samual @@ -8,17 +7,16 @@ // ladder bullshit todo 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 +#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); -string getmaplist(void); -string getlsmaps(void); -string getmonsterlist(void); -#endif +string getrankings(); +string getladder(); +string getmaplist(); +string getlsmaps(); +string getmonsterlist();