X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fclient%2Fmain.qh;h=6efedb7deb6f52b2410793f5892d4df7c83de5ee;hb=2b84b4c6515479ed4bd1134b119ea974f7813a57;hp=af849e18c57c92dce1d1580b3342962b5b23403d;hpb=277a2eeaa5b955419d958e347c11ad12480a67cc;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/client/main.qh b/qcsrc/client/main.qh index af849e18c..6efedb7de 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) ) @@ -117,6 +117,8 @@ float spectatorbutton_zoom; float button_attack2; float activeweapon; +float switchingweapon; +float switchweapon; float current_viewzoom; float zoomin_effect; float warmup_stage; @@ -129,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,6 +142,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 @@ -164,3 +163,8 @@ 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);