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 // --------------------------------------------------------------------------
21 // Map coordinate base calculations need these
27 // --------------------------------------------------------------------------
34 //float sorted_players;
41 #define FONT_DEFAULT 0
44 // --------------------------------------------------------------------------
47 #define MAX_HUD_FIELDS 16
59 #define SP_SEPARATOR -100
61 float hud_field[MAX_HUD_FIELDS + 1];
62 float hud_size[MAX_HUD_FIELDS + 1];
63 string hud_title[MAX_HUD_FIELDS + 1];
66 string scores_label[MAX_SCORE];
67 float scores_flags[MAX_SCORE];
68 string teamscores_label[MAX_SCORE];
69 float teamscores_flags[MAX_SCORE];
70 .float scores[MAX_SCORE];
71 .float teamscores[MAX_TEAMSCORE];
73 #define IS_INCREASING(x) ( (x)&SFL_LOWER_IS_BETTER )
74 #define IS_DECREASING(x) ( !((x)&SFL_LOWER_IS_BETTER) )
79 float RANKINGS_RECEIVED_CNT;
80 string grecordholder[RANKINGS_CNT];
81 float grecordtime[RANKINGS_CNT];
84 entity playerslots[255]; // 255 is engine limit on maxclients
85 entity teamslots[17]; // 17 teams (including "spectator team")
92 .void(void) entremove;
94 vector view_origin, view_angles, view_forward, view_right, view_up;
97 float spectatorbutton_zoom;
101 float switchingweapon;
103 float current_viewzoom;
107 string getcommandkey(string text, string command);
109 string vote_called_vote;
111 float ready_waiting_for_me;
113 float vote_waiting_for_me;
115 float current_zoomfraction;
117 float cs_project_is_b0rked;
118 float vid_width, vid_height, vid_pixelheight;
120 float camera_active; // Demo camera is active if set to TRUE
121 float chase_active_backup;
123 vector camera_direction;
125 void centerprint_hud(string strMessage);
126 void centerprint_generic(float new_id, string strMessage, float duration, float countdown_num);
128 #define ALPHA_MIN_VISIBLE 0.003
130 float armorblockpercent;
137 .float ping, ping_packetloss, ping_movementloss;
139 float g_balance_grenadelauncher_bouncefactor;
140 float g_balance_grenadelauncher_bouncestop;
141 float g_balance_electro_secondary_bouncefactor;
142 float g_balance_electro_secondary_bouncestop;
143 float g_trueaim_minrange;
145 entity entcs_receiver[255]; // 255 is the engine limit on maxclients