From: MirceaKitsune Date: Thu, 14 Jul 2011 20:05:47 +0000 (+0300) Subject: It seems I can delete most FTEQCC_YOU_SUCK_THIS_IS_NOT_UNREFERENCED with the latest... X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=150cca22c3b5cf31649bbc59a0114d2c212ecf15;p=voretournament%2Fvoretournament.git It seems I can delete most FTEQCC_YOU_SUCK_THIS_IS_NOT_UNREFERENCED with the latest fteqcc --- diff --git a/data/qcsrc/client/main.qh b/data/qcsrc/client/main.qh index 1a1dad08..b5801490 100644 --- a/data/qcsrc/client/main.qh +++ b/data/qcsrc/client/main.qh @@ -94,8 +94,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) ) diff --git a/data/qcsrc/client/teamradar.qh b/data/qcsrc/client/teamradar.qh index ae715980..a892cc3e 100644 --- a/data/qcsrc/client/teamradar.qh +++ b/data/qcsrc/client/teamradar.qh @@ -4,6 +4,6 @@ void teamradar_view(); // to make entities have dots on the team radar .float teamradar_icon; -.float teamradar_times[MAX_TEAMRADAR_TIMES]; FTEQCC_YOU_SUCK_THIS_IS_NOT_UNREFERENCED(teamradar_times); +.float teamradar_times[MAX_TEAMRADAR_TIMES]; .float teamradar_time_index; .vector teamradar_color; diff --git a/data/qcsrc/server/bot/scripting.qc b/data/qcsrc/server/bot/scripting.qc index 8c59b8ad..ca7e37ec 100644 --- a/data/qcsrc/server/bot/scripting.qc +++ b/data/qcsrc/server/bot/scripting.qc @@ -63,8 +63,8 @@ float bot_havecommand(entity bot, float idx) #define MAX_BOT_PLACES 4 .float bot_places_count; -.entity bot_places[MAX_BOT_PLACES]; FTEQCC_YOU_SUCK_THIS_IS_NOT_UNREFERENCED(bot_places); -.string bot_placenames[MAX_BOT_PLACES]; FTEQCC_YOU_SUCK_THIS_IS_NOT_UNREFERENCED(bot_placenames); +.entity bot_places[MAX_BOT_PLACES]; +.string bot_placenames[MAX_BOT_PLACES]; entity bot_getplace(string placename) { entity e; diff --git a/data/qcsrc/server/defs.qh b/data/qcsrc/server/defs.qh index 13d56461..364e2fcc 100644 --- a/data/qcsrc/server/defs.qh +++ b/data/qcsrc/server/defs.qh @@ -608,9 +608,6 @@ string matchid; .float stats_hit[WEP_MAXCOUNT]; // for hitscan bullets hit .float stats_fired[WEP_MAXCOUNT]; // for hitscan bullets fired -FTEQCC_YOU_SUCK_THIS_IS_NOT_UNREFERENCED(stats_hit); -FTEQCC_YOU_SUCK_THIS_IS_NOT_UNREFERENCED(stats_fired); - .float stat_sbring1_type, stat_sbring1_clip, stat_sbring2_type, stat_sbring2_clip; .float stat_leadlimit; @@ -622,7 +619,7 @@ float client_cefc_accumulatortime; ..float current_ammo; -.float weapon_load[WEP_MAXCOUNT]; FTEQCC_YOU_SUCK_THIS_IS_NOT_UNREFERENCED(weapon_load); +.float weapon_load[WEP_MAXCOUNT]; .float clip_load; .float old_clip_load; .float clip_size;