]> git.rm.cloudns.org Git - voretournament/voretournament.git/commitdiff
It seems I can delete most FTEQCC_YOU_SUCK_THIS_IS_NOT_UNREFERENCED with the latest...
authorMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Thu, 14 Jul 2011 20:05:47 +0000 (23:05 +0300)
committerMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Thu, 14 Jul 2011 20:05:47 +0000 (23:05 +0300)
data/qcsrc/client/main.qh
data/qcsrc/client/teamradar.qh
data/qcsrc/server/bot/scripting.qc
data/qcsrc/server/defs.qh

index 1a1dad0824cbdf07c2ab94aeeeb844db2ecbdba5..b5801490c5b69385e3678cbdc1d4b750597113d9 100644 (file)
@@ -94,8 +94,8 @@ string scores_label[MAX_SCORE];
 float scores_flags[MAX_SCORE];\r
 string teamscores_label[MAX_SCORE];\r
 float teamscores_flags[MAX_SCORE];\r
-.float scores[MAX_SCORE]; FTEQCC_YOU_SUCK_THIS_IS_NOT_UNREFERENCED(scores);\r
-.float teamscores[MAX_TEAMSCORE]; FTEQCC_YOU_SUCK_THIS_IS_NOT_UNREFERENCED(teamscores);\r
+.float scores[MAX_SCORE];\r
+.float teamscores[MAX_TEAMSCORE];\r
 \r
 #define IS_INCREASING(x) ( (x)&SFL_LOWER_IS_BETTER )\r
 #define IS_DECREASING(x) ( !((x)&SFL_LOWER_IS_BETTER) )\r
index ae7159802dec6b5774efae8eaa46a1ef62132bd1..a892cc3eecbbae5b3bf3c61f2b5e57b84f6768b3 100644 (file)
@@ -4,6 +4,6 @@ void teamradar_view();
 \r
 // to make entities have dots on the team radar\r
 .float teamradar_icon;\r
-.float teamradar_times[MAX_TEAMRADAR_TIMES]; FTEQCC_YOU_SUCK_THIS_IS_NOT_UNREFERENCED(teamradar_times);\r
+.float teamradar_times[MAX_TEAMRADAR_TIMES];\r
 .float teamradar_time_index;\r
 .vector teamradar_color;\r
index 8c59b8adab32308378d3ce283d45197335006718..ca7e37ecfc1327c047bdaff64f17638d19b130c4 100644 (file)
@@ -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;
index 13d56461990623ab8de7ffc2aa7c2bf2ed276ba3..364e2fcc9d9f69cae90a135b920a5d89a114011b 100644 (file)
@@ -608,9 +608,6 @@ string matchid;
 .float stats_hit[WEP_MAXCOUNT];  // for hitscan bullets hit\r
 .float stats_fired[WEP_MAXCOUNT];  // for hitscan bullets fired\r
 \r
-FTEQCC_YOU_SUCK_THIS_IS_NOT_UNREFERENCED(stats_hit);\r
-FTEQCC_YOU_SUCK_THIS_IS_NOT_UNREFERENCED(stats_fired);\r
-\r
 .float stat_sbring1_type, stat_sbring1_clip, stat_sbring2_type, stat_sbring2_clip;\r
 \r
 .float stat_leadlimit;\r
@@ -622,7 +619,7 @@ float client_cefc_accumulatortime;
 \r
 ..float current_ammo;\r
 \r
-.float weapon_load[WEP_MAXCOUNT]; FTEQCC_YOU_SUCK_THIS_IS_NOT_UNREFERENCED(weapon_load);\r
+.float weapon_load[WEP_MAXCOUNT];\r
 .float clip_load;\r
 .float old_clip_load;\r
 .float clip_size;\r