1 // --------------------------------------------------------------------------
5 #define DATABUF_CAPTURES (1*maxclients)
6 #define DATABUF_DEATHS (2*maxclients)
7 #define DATABUF_RETURNS (3*maxclients)
9 #define DATABUF_NEXT (5*maxclients)
11 void() menu_show_error;
16 var float(float bInputType, float nPrimary, float nSecondary) menu_action;
18 // --------------------------------------------------------------------------
24 // --------------------------------------------------------------------------
27 // Map coordinate base calculations need these
34 // --------------------------------------------------------------------------
44 float draw_enginesbar;
45 //float sorted_players;
53 const float COLOR_TEAM_RED = 64;
54 const float COLOR_TEAM_BLUE = 208;
56 const float COLOR_TEAM1 = 4; // red
57 const float COLOR_TEAM2 = 13; // blue
58 const float COLOR_TEAM3 = 12; // yellow
59 const float COLOR_TEAM4 = 9; // pink
60 const float COLOR_SPECTATOR = 1337;
62 #define FONT_DEFAULT 0
65 // --------------------------------------------------------------------------
68 #define MAX_SBAR_FIELDS 16
78 #define SP_SEPARATOR -100
80 float sbar_field[MAX_SBAR_FIELDS + 1];
81 float sbar_size[MAX_SBAR_FIELDS + 1];
82 string sbar_title[MAX_SBAR_FIELDS + 1];
83 float sbar_num_fields;
88 string scores_label[MAX_SCORE];
89 float scores_flags[MAX_SCORE];
90 string teamscores_label[MAX_SCORE];
91 float teamscores_flags[MAX_SCORE];
92 .float scores[MAX_SCORE];
93 .float teamscores[MAX_TEAMSCORE];
95 #define IS_INCREASING(x) ( (x)&SFL_LOWER_IS_BETTER )
96 #define IS_DECREASING(x) ( !((x)&SFL_LOWER_IS_BETTER) )
102 #define CSQC_FLAG_READPICTURE 1
104 string config_get(string key, string defaultvalue);
106 entity playerslots[255]; // 255 is engine limit on maxclients
107 entity teamslots[17]; // 17 teams (including "spectator team")