]> icculus.org git repositories - divverent/nexuiz.git/blob - data/qcsrc/server/centermsg.qh
simplified weapon throw code by removing redundant code; added conversion functios...
[divverent/nexuiz.git] / data / qcsrc / server / centermsg.qh
1 // centerprint locations
2 #define MAXCENTERMSG 9
3 #define CENTERMSG_VOTE 0
4 #define CENTERMSG_GAMEMODE1 2
5 #define CENTERMSG_GAMEMODE2 3
6 #define CENTERMSG_NIXNEXCOUNT 4
7 #define CENTERMSG_TRIGGER 5
8 #define CENTERMSG_NIXNEX 6
9 #define CENTERMSG_MINSTAGIB 6
10 #define CENTERMSG_MINSTAGIB2 7
11 #define CENTERMSG_TEAMCHANGE 7
12 #define CENTERMSG_TEAMCHANGE2 8
13 #define CENTERMSG_KILL 8
14 #define CENTERMSG_DEATH 8
15 #define CENTERMSG_CAMP 8
16 #define CENTERMSG_TEAMSAY 10
17
18 #define CENTERMSG_ARENACHAMP CENTERMSG_GAMEMODE1
19 #define CENTERMSG_ARENATIMER CENTERMSG_GAMEMODE2
20 #define CENTERMSG_CTF CENTERMSG_GAMEMODE1
21
22 void centermsg_check();
23 void centermsg_reset();
24 void centermsg_set(float lineno, string text);
25 void centermsg_setfor(entity player, float lineno, string text);
26 void centermsg_free(float lineno);
27 void centermsg_freefor(entity player, float lineno);
28 void centermsg_setall(string s);
29 void centermsg_setallfor(entity player, string s);