Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
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
9const int LADDER_FIRSTPOINT = 100;
10#define LADDER_CNT 10 // position X still gives LADDER_FIRSTPOINT/X points
11const 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
17string getrecords(float page);
18string getrankings();
19string getladder();
20string getmaplist();
21string getlsmaps();
22string getmonsterlist();
23
24void GetCvars_handleFloat(entity this, entity store, string thisname, float f, .float field, string name);
25
26void GetCvars_handleString(entity this, entity store, string thisname, float f, .string field, string name);
27
28void GetCvars(entity this, entity store, int f);
var entity(vector mins, vector maxs,.entity tofield) findbox_tofield_OrFallback
string getmonsterlist()
const int LADDER_FIRSTPOINT
Definition getreplies.qh:9
float top_scores[LADDER_SIZE]
Definition getreplies.qh:14
const int LADDER_SIZE
Definition getreplies.qh:11
string getrecords(float page)
void GetCvars_handleString(entity this, entity store, string thisname, float f,.string field, string name)
string getladder()
Definition getreplies.qc:71
void GetCvars_handleFloat(entity this, entity store, string thisname, float f,.float field, string name)
void GetCvars(entity this, entity store, int f)
string getlsmaps()
string getrankings()
Definition getreplies.qc:46
string getmaplist()
string top_uids[LADDER_SIZE]
Definition getreplies.qh:13
string name
Definition menu.qh:30