// -------------------------------------------------------------------------- // MENU Functionality #define DATABUF_PING 0 #define DATABUF_CAPTURES (1*maxclients) #define DATABUF_DEATHS (2*maxclients) #define DATABUF_RETURNS (3*maxclients) #define DATABUF_NEXT (5*maxclients) void() menu_show_error; void() menu_sub_null; void() menu_show; float menu_visible; float(float bInputType, float nPrimary, float nSecondary) menu_action; // -------------------------------------------------------------------------- // CTF void() ctf_menu_show; string ctf_temp_1; // -------------------------------------------------------------------------- // Onslaught // Map coordinate base calculations need these vector mi_center; vector mi_scale; // Minimap string minimapname; float ons_showmap; // -------------------------------------------------------------------------- // General stuff float csqc_revision; float drawfont; float postinit; float gametype; entity gps_start; float draw_enginesbar; //float sorted_players; //float sorted_teams; // Defs //.float ctf_state; //.float health; // Constants const float COLOR_TEAM_RED = 64; const float COLOR_TEAM_BLUE = 208; const float COLOR_TEAM1 = 4; // red const float COLOR_TEAM2 = 13; // blue const float COLOR_TEAM3 = 12; // yellow const float COLOR_TEAM4 = 9; // pink const float COLOR_SPECTATOR = 1337; #define FONT_DEFAULT 0 #define FONT_USER 8 // -------------------------------------------------------------------------- // Scoreboard stuff #define MAX_SBAR_FIELDS 16 #define SBF_END 0 #define SBF_PING 1 #define SBF_NAME 2 #define SBF_CAPS 3 #define SBF_RETS 4 #define SBF_FRAGS 5 #define SBF_DEATHS 6 #define SBF_KDRATIO 7 #define SBF_SEPARATOR 100 float sbar_field[MAX_SBAR_FIELDS + 1]; float sbar_size[MAX_SBAR_FIELDS + 1]; string sbar_title[MAX_SBAR_FIELDS + 1]; float sbar_num_fields; float sbar_font; float csqc_flags; #define CSQC_FLAG_STRINGWIDTH 1