Xonotic
getreplies.qh
Go to the documentation of this file.
1 #pragma once
2 
3 // ======================================================
4 // Declarations for reply messages, re-worked by Samual
5 // Last updated: December 30th, 2011
6 // ======================================================
7 
8 // ladder bullshit todo
9 const int LADDER_FIRSTPOINT = 100;
10 #define LADDER_CNT 10 // position X still gives LADDER_FIRSTPOINT/X points
11 const int LADDER_SIZE = 30; // ladder shows the top X players
12 
15 
16 // allow functions to be used in other code like world.qc and race.qc
17 string getrecords(float page);
18 string getrankings();
19 string getladder();
20 string getmaplist();
21 string getlsmaps();
22 string getmonsterlist();
23 
24 void GetCvars_handleFloat(entity this, entity store, string thisname, float f, .float field, string name);
25 
26 void GetCvars_handleString(entity this, entity store, string thisname, float f, .string field, string name);
27 
28 void GetCvars(entity this, entity store, int f);
void GetCvars_handleString(entity this, entity store, string thisname, float f,.string field, string name)
Definition: getreplies.qc:312
string getrecords(float page)
void GetCvars(entity this, entity store, int f)
Definition: getreplies.qc:381
void GetCvars_handleFloat(entity this, entity store, string thisname, float f,.float field, string name)
Definition: getreplies.qc:341
string getmaplist()
Definition: getreplies.qc:233
string getlsmaps()
Definition: getreplies.qc:253
entity() spawn
string getrankings()
Definition: getreplies.qc:46
const int LADDER_FIRSTPOINT
Definition: getreplies.qh:9
string getladder()
Definition: getreplies.qc:71
const int LADDER_SIZE
Definition: getreplies.qh:11
string top_uids[LADDER_SIZE]
Definition: getreplies.qh:13
string getmonsterlist()
Definition: getreplies.qc:290
float top_scores[LADDER_SIZE]
Definition: getreplies.qh:14