2 #define MAX_TEAMSCORE 2
4 .float scores[MAX_SCORE];
5 .float teamscores[MAX_TEAMSCORE];
7 void PlayerScore_Attach(entity player);
8 void PlayerScore_Detach(entity player);
9 void PlayerScore_Add(entity player, float scorefield, float score);
10 void PlayerScore_Clear(entity player);
11 void TeamScore_Add(entity player, float scorefield, float score);
13 void ScoreInfo_Init(float teams);
14 void ScoreInfo_SetLabel_TeamScore(float i, string label, float scoreflags);
15 void ScoreInfo_SetLabel_PlayerScore(float i, string label, float scoreflags);
16 #define SFL_DECREASING 1 // e.g. lives in LMS
17 #define SFL_SORT_PRIO_LOW 2
18 #define SFL_SORT_PRIO_MED 4
19 #define SFL_SORT_PRIO_HIGH 8
20 #define SFL_SORT_PRIO_PRIMARY 14
21 #define SFL_SORT_PRIO_MASK 14
23 void WinningConditionHelper();
24 float WinningConditionHelper_topscore;
25 float WinningConditionHelper_equality;
26 float WinningConditionHelper_winnerteam;
27 entity WinningConditionHelper_winner;
35 #define S_CTF_RETURNS 4
37 #define S_KH_COLLECT 3
38 #define S_KH_LOSEKEY 4
39 #define S_KH_CAPTURE 5
41 #define S_KH_DESTROYED 7