X-Git-Url: https://de.git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=blobdiff_plain;f=qcsrc%2Fclient%2Fmain.qh;h=64399b20a3e035e6ad899978225cdfadb44a581d;hp=364e5a999fb5768bc4043c4d9671d470b3c1b002;hb=44effb3a66f8b44d05106ff361ef5fc126fef03b;hpb=7a8e4ad81bf523a53882ef97822b0641e424730c diff --git a/qcsrc/client/main.qh b/qcsrc/client/main.qh index 364e5a999f..64399b20a3 100644 --- a/qcsrc/client/main.qh +++ b/qcsrc/client/main.qh @@ -20,8 +20,10 @@ var float(float bInputType, float nPrimary, float nSecondary) menu_action; // -------------------------------------------------------------------------- // CTF +#ifdef CTF_EXAMPLE void() ctf_menu_show; string ctf_temp_1; +#endif // -------------------------------------------------------------------------- // Onslaught @@ -84,8 +86,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) ) @@ -113,16 +115,13 @@ vector view_origin, view_angles, view_forward, view_right, view_up; float button_zoom; float spectatorbutton_zoom; float button_attack2; + float activeweapon; float current_viewzoom; float zoomin_effect; -float ignore_plus_zoom; -float ignore_minus_zoom; float warmup_stage; string getcommandkey(string text, string command); -float hud_showbinds; -float hud_showbinds_limit; string vote_called_vote; float ready_waiting; @@ -145,6 +144,7 @@ float camera_roll; vector camera_direction; void centerprint(string strMessage); +void centerprint_generic(float new_id, string strMessage, float duration, float countdown_num); #define ALPHA_MIN_VISIBLE 0.003 @@ -163,3 +163,7 @@ float g_balance_grenadelauncher_bouncestop; float g_balance_electro_secondary_bouncefactor; float g_balance_electro_secondary_bouncestop; float g_trueaim_minrange; + +entity entcs_receiver[255]; // 255 is the engine limit on maxclients + +float hud;