X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fserver%2Fcommand%2Fgetreplies.qh;h=f45bbe0166f5158bee09a82a28778318feb7888c;hb=e08b3263acb01d68bb72346b762afb0ba262ecec;hp=bf37153c445dc565a9268e577859af4c15f651ec;hpb=db26b7fe7334411667e7f2bb7d702213859f98bf;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/server/command/getreplies.qh b/qcsrc/server/command/getreplies.qh index bf37153c4..f45bbe016 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 @@ -14,11 +13,16 @@ 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 +// allow functions to be used in other code like 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(); + +void GetCvars_handleFloat(entity this, entity store, string thisname, float f, .float field, string name); + +void GetCvars_handleString(entity this, entity store, string thisname, float f, .string field, string name); + +void GetCvars(entity this, entity store, int f);