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 // --------------------------------------------------------------------------
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
79 #define SP_SEPARATOR -100
81 float sbar_field[MAX_SBAR_FIELDS + 1];
82 float sbar_size[MAX_SBAR_FIELDS + 1];
83 string sbar_title[MAX_SBAR_FIELDS + 1];
84 float sbar_num_fields;
89 string scores_label[MAX_SCORE];
90 float scores_flags[MAX_SCORE];
91 string teamscores_label[MAX_SCORE];
92 float teamscores_flags[MAX_SCORE];
93 .float scores[MAX_SCORE]; FTEQCC_YOU_SUCK_THIS_IS_NOT_UNREFERENCED(scores);
94 .float teamscores[MAX_TEAMSCORE]; FTEQCC_YOU_SUCK_THIS_IS_NOT_UNREFERENCED(teamscores);
96 #define IS_INCREASING(x) ( (x)&SFL_LOWER_IS_BETTER )
97 #define IS_DECREASING(x) ( !((x)&SFL_LOWER_IS_BETTER) )
100 vector sbar_fontsize;
103 #define CSQC_FLAG_READPICTURE 1
104 #define CSQC_FLAG_COLORCODES 2
106 entity playerslots[255]; // 255 is engine limit on maxclients
107 entity teamslots[17]; // 17 teams (including "spectator team")
113 .void(void) entremove;
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 string getcommandkey(string text, string command);
129 float sbar_showbinds;
130 float sbar_showbinds_limit;
132 string vote_called_vote;
134 float ready_waiting_for_me;
136 float vote_waiting_for_me;
138 float current_zoomfraction;
140 float cs_project_is_b0rked;
141 float vid_width, vid_height, vid_pixelheight;
143 float camera_active; // Demo camera is active if set to TRUE
144 float chase_active_backup;
146 vector camera_direction;