1 const string string_null;
3 // --------------------------------------------------------------------------
7 #define DATABUF_CAPTURES (1*maxclients)
8 #define DATABUF_DEATHS (2*maxclients)
9 #define DATABUF_RETURNS (3*maxclients)
11 #define DATABUF_NEXT (5*maxclients)
13 void() menu_show_error;
18 var float(float bInputType, float nPrimary, float nSecondary) menu_action;
20 // --------------------------------------------------------------------------
26 // --------------------------------------------------------------------------
29 // Map coordinate base calculations need these
36 // --------------------------------------------------------------------------
46 float draw_enginesbar;
47 //float sorted_players;
55 const float COLOR_TEAM_RED = 64;
56 const float COLOR_TEAM_BLUE = 208;
58 const float COLOR_TEAM1 = 4; // red
59 const float COLOR_TEAM2 = 13; // blue
60 const float COLOR_TEAM3 = 12; // yellow
61 const float COLOR_TEAM4 = 9; // pink
62 const float COLOR_SPECTATOR = 1337;
64 #define FONT_DEFAULT 0
67 // --------------------------------------------------------------------------
70 #define MAX_SBAR_FIELDS 16
80 #define SP_SEPARATOR -100
82 float sbar_field[MAX_SBAR_FIELDS + 1];
83 float sbar_size[MAX_SBAR_FIELDS + 1];
84 string sbar_title[MAX_SBAR_FIELDS + 1];
85 float sbar_num_fields;
90 string scores_label[MAX_SCORE];
91 float scores_flags[MAX_SCORE];
92 string teamscores_label[MAX_SCORE];
93 float teamscores_flags[MAX_SCORE];
94 .float scores[MAX_SCORE];
95 .float teamscores[MAX_TEAMSCORE];
97 #define IS_INCREASING(x) ( (x)&SFL_LOWER_IS_BETTER )
98 #define IS_DECREASING(x) ( !((x)&SFL_LOWER_IS_BETTER) )
101 vector sbar_fontsize;
104 #define CSQC_FLAG_READPICTURE 1
106 string config_get(string key, string defaultvalue);
108 entity playerslots[255]; // 255 is engine limit on maxclients
109 entity teamslots[17]; // 17 teams (including "spectator team")
115 vector view_origin, view_angles, view_forward, view_right, view_up;
118 float spectatorbutton_zoom;
119 float button_attack2;
121 float current_viewzoom;
123 float ignore_plus_zoom;
124 float ignore_minus_zoom;
127 float weaponimpulse[24];
128 float angles_held_status[24];
129 string getcommandkey(string text, string command);
130 float sbar_showbinds;
131 float sbar_showbinds_limit;
133 string vote_called_vote;
135 float ready_waiting_for_me;
137 float vote_waiting_for_me;