From: terencehill Date: Sun, 7 Apr 2019 17:07:47 +0000 (+0200) Subject: Update a link, mark eraseable some debug functions X-Git-Tag: xonotic-v0.8.5~1561 X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=commitdiff_plain;h=18237d5e29cb091ccfcfcebf179eb0036ca08843 Update a link, mark eraseable some debug functions --- diff --git a/qcsrc/lib/string.qh b/qcsrc/lib/string.qh index 96e8a3a276..c4b594d40f 100644 --- a/qcsrc/lib/string.qh +++ b/qcsrc/lib/string.qh @@ -297,7 +297,7 @@ int u8_strsize(string s) return l; } -//List of Unicode spaces: https://www.cs.tut.fi/~jkorpela/chars/spaces.html +// List of Unicode spaces: http://jkorpela.fi/chars/spaces.html ERASEABLE bool isInvisibleString(string s) { diff --git a/qcsrc/server/client.qc b/qcsrc/server/client.qc index 9ba4feeb11..8abf5e743f 100644 --- a/qcsrc/server/client.qc +++ b/qcsrc/server/client.qc @@ -1321,12 +1321,14 @@ void respawn(entity this) PutClientInServer(this); } +ERASEABLE void PrintToChat(entity client, string text) { text = strcat("\{1}^7", text, "\n"); sprint(client, text); } +ERASEABLE void DebugPrintToChat(entity client, string text) { if (autocvar_developer) @@ -1335,12 +1337,14 @@ void DebugPrintToChat(entity client, string text) } } +ERASEABLE void PrintToChatAll(string text) { text = strcat("\{1}^7", text, "\n"); bprint(text); } +ERASEABLE void DebugPrintToChatAll(string text) { if (autocvar_developer) @@ -1349,6 +1353,7 @@ void DebugPrintToChatAll(string text) } } +ERASEABLE void PrintToChatTeam(int team_num, string text) { text = strcat("\{1}^7", text, "\n"); @@ -1361,6 +1366,7 @@ void PrintToChatTeam(int team_num, string text) }); } +ERASEABLE void DebugPrintToChatTeam(int team_num, string text) { if (autocvar_developer)