X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;ds=sidebyside;f=qcsrc%2Fclient%2Fmain.qh;h=64399b20a3e035e6ad899978225cdfadb44a581d;hb=44effb3a66f8b44d05106ff361ef5fc126fef03b;hp=625a4ba7be05f5be814f088858d5a64f2233d163;hpb=2f2147a6c665f04d1b6e860dce8a8a093e7d2b9e;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/client/main.qh b/qcsrc/client/main.qh index 625a4ba7b..64399b20a 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 @@ -80,15 +82,12 @@ float hud_size[MAX_HUD_FIELDS + 1]; string hud_title[MAX_HUD_FIELDS + 1]; float hud_num_fields; -float hud_font; -float hud_bigfont; - 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) ) @@ -116,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; @@ -148,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 @@ -165,3 +162,8 @@ float g_balance_grenadelauncher_bouncefactor; 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;