X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fclient%2Fmain.qh;h=499e84b6ee0aa0b88a6c51372adf5b3ffe348e18;hb=966ecd5b871fc8ef6db7665c08bd17971a8830db;hp=78d07a6ecbb3d1dac0d6d78c8469925aa9b2805b;hpb=8bac780bb3585a2668469ea787ca92474bb89ed5;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/client/main.qh b/qcsrc/client/main.qh index 78d07a6ec..499e84b6e 100644 --- a/qcsrc/client/main.qh +++ b/qcsrc/client/main.qh @@ -86,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) ) @@ -115,11 +115,12 @@ vector view_origin, view_angles, view_forward, view_right, view_up; float button_zoom; float spectatorbutton_zoom; float button_attack2; + float activeweapon; +float switchingweapon; +float switchweapon; float current_viewzoom; float zoomin_effect; -float ignore_plus_zoom; -float ignore_minus_zoom; float warmup_stage; string getcommandkey(string text, string command); @@ -130,10 +131,6 @@ float ready_waiting_for_me; float vote_waiting; float vote_waiting_for_me; -float previous_game_starttime; -entity restartAnnouncer; //a temporary entity which will play the countdown sounds 3, 2, 1 for the client -void restartAnnouncer_Think(); - float current_zoomfraction; float cs_project_is_b0rked; @@ -144,7 +141,8 @@ float chase_active_backup; float camera_roll; vector camera_direction; -void centerprint(string strMessage); +void centerprint_hud(string strMessage); +void centerprint_generic(float new_id, string strMessage, float duration, float countdown_num); #define ALPHA_MIN_VISIBLE 0.003 @@ -163,3 +161,10 @@ 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; +float view_quality; + +void cvar_clientsettemp(string cv, string val);