// Last updated: December, 2012
// ================================================
-// ======================
-// Supporting Functions
-// ======================
-
-// team code replace
-string TCR(string input, string teamcolor, string teamtext) // TODO: MOVE TO UTIL.QC
-{
- input = strreplace("^TC", teamcolor, input);
- input = strreplace("^TT", teamtext, input);
- return input;
-}
-
#ifndef MENUQC
// select between the normal or the gentle message string based on client (or server) settings
string normal_or_gentle(string normal, string gentle)
#define MSG_WEAPON 3 // "Personal" weapon messages (like "You got the Nex", sent to weapon notify panel)
#define MSG_DEATH 4 // "Personal" AND "Global" death messages
-string TCR(string input, string teamcolor, string teamtext); // team code replace
+#define TCR(input,teamcolor,teamtext) strreplace("^TC", teamcolor, strreplace("^TT", teamtext, input))
void Dump_Notifications(float fh, float alsoprint);