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
77 #define SP_SEPARATOR -100
79 float sbar_field[MAX_SBAR_FIELDS + 1];
80 float sbar_size[MAX_SBAR_FIELDS + 1];
81 string sbar_title[MAX_SBAR_FIELDS + 1];
82 float sbar_num_fields;
87 string scores_label[MAX_SCORE];
88 float scores_flags[MAX_SCORE];
89 string teamscores_label[MAX_SCORE];
90 float teamscores_flags[MAX_SCORE];
91 .float scores[MAX_SCORE];
92 .float teamscores[MAX_TEAMSCORE];
94 #define IS_INCREASING(x) ( (x)&SFL_LOWER_IS_BETTER )
95 #define IS_DECREASING(x) ( !((x)&SFL_LOWER_IS_BETTER) )
101 #define CSQC_FLAG_READPICTURE 1
103 string config_get(string key, string defaultvalue);