]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Update a link, mark eraseable some debug functions
authorterencehill <piuntn@gmail.com>
Sun, 7 Apr 2019 17:07:47 +0000 (19:07 +0200)
committerterencehill <piuntn@gmail.com>
Sun, 7 Apr 2019 17:07:47 +0000 (19:07 +0200)
qcsrc/lib/string.qh
qcsrc/server/client.qc

index 96e8a3a276258d568380219e0b1d8218ac9b7cf5..c4b594d40fd846cf81b6e5e20de920abbb110642 100644 (file)
@@ -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)
 {
index 9ba4feeb114e3970365204a2d0b0e9e344dfaa37..8abf5e743f5c64ab4902481441316ef322fef69e 100644 (file)
@@ -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)