X-Git-Url: https://git.xonotic.org/?a=blobdiff_plain;f=data%2Fqcsrc%2Fclient%2Fmain.qh;h=5d8799498c28d6cbb5cf221b54d26b81be181eb7;hb=b2df32d96df3e954d54f6e4b9bbb6c98d77ef507;hp=949ff1bfedcf2e403ffff45d64c00b7ac091acc9;hpb=349bedd7f6951855e0f6f559624e7f5d077414d7;p=voretournament%2Fvoretournament.git diff --git a/data/qcsrc/client/main.qh b/data/qcsrc/client/main.qh index 949ff1bf..5d879949 100644 --- a/data/qcsrc/client/main.qh +++ b/data/qcsrc/client/main.qh @@ -1,5 +1,3 @@ -const string string_null; - // -------------------------------------------------------------------------- // MENU Functionality @@ -11,7 +9,8 @@ const string string_null; #define DATABUF_NEXT (5*maxclients) void() menu_show_error; -void() menu_sub_null; +float(float, float, float) menu_sub_null_float; +void () menu_sub_null_void; float menu_visible; var void() menu_show; @@ -31,7 +30,7 @@ vector mi_center; vector mi_scale; // Minimap string minimapname; -float ons_showmap; +float showmap; // -------------------------------------------------------------------------- // General stuff @@ -80,6 +79,7 @@ const float COLOR_SPECTATOR = 1337; #define ST_NAME -2 #define ST_HEALTH -3 +#define STP_HIGHLIGHT -2 #define STP_NAME -1 float sbar_field[MAX_SBAR_FIELDS + 1]; @@ -94,8 +94,8 @@ string scores_label[MAX_SCORE]; float scores_flags[MAX_SCORE]; string teamscores_label[MAX_SCORE]; float teamscores_flags[MAX_SCORE]; -.float scores[MAX_SCORE]; FTEQCC_YOU_SUCK_THIS_IS_NOT_UNREFERENCED(scores); -.float teamscores[MAX_TEAMSCORE]; FTEQCC_YOU_SUCK_THIS_IS_NOT_UNREFERENCED(teamscores); +.float scores[MAX_SCORE]; +.float teamscores[MAX_TEAMSCORE]; #define IS_INCREASING(x) ( (x)&SFL_LOWER_IS_BETTER ) #define IS_DECREASING(x) ( !((x)&SFL_LOWER_IS_BETTER) ) @@ -161,10 +161,16 @@ void centerprint(string strMessage); #define ALPHA_MIN_VISIBLE 0.003 +float g_campaign; + float armorblockpercent; float g_weaponswitchdelay; -float g_balance_vore_swallow_limit; +float g_vore; +float g_healthsize_center, g_healthsize_min, g_healthsize_max; +float armor_max; +float teamheal_max; +float g_power, g_power_reboot, g_power_reboot_spawn; //hooks float calledhooks; @@ -173,3 +179,5 @@ float calledhooks; .float ping, ping_packetloss, ping_movementloss; .float plhealth, plpredator; + +entity entcs_receiver[255]; // 255 is the engine limit on maxclients