X-Git-Url: https://git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fclient%2Fmain.qh;h=499e84b6ee0aa0b88a6c51372adf5b3ffe348e18;hb=09dd8f125cd47599d0afb2ed2b76763ae5113eb6;hp=689722a1f6a9207e62d613b08546865bf8b9af79;hpb=94e06a728c24bc94f5a05cc8233fc0d920b980f2;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/client/main.qh b/qcsrc/client/main.qh index 689722a1f..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) ) @@ -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; @@ -143,7 +141,7 @@ 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 @@ -165,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);