# HG changeset patch # User Wuzzy # Date 1538667024 -7200 # Node ID 266a25b79374345c85aea65c5fe61bd702e90899 # Parent 76a1d6275cd3d34230d9e17a95bd871b880f4ad0 Rename chat command /team to /clan (but keep /team as alias for now) diff -r 76a1d6275cd3 -r 266a25b79374 ChangeLog.txt --- a/ChangeLog.txt Thu Oct 04 17:07:17 2018 +0200 +++ b/ChangeLog.txt Thu Oct 04 17:30:24 2018 +0200 @@ -10,6 +10,7 @@ + Campaigns and missions now use the user's chosen custom clan colors + New default brown clan color for better contrast + Allow to change volume during pause + + Rename chat command “/team” to “/clan” (but “/team” still works) * Functionality of controllers restored * Fix sine gun dealing damage to attacker if shooting up * Fix crash when 2 or more controllers were connected diff -r 76a1d6275cd3 -r 266a25b79374 hedgewars/uChat.pas --- a/hedgewars/uChat.pas Thu Oct 04 17:07:17 2018 +0200 +++ b/hedgewars/uChat.pas Thu Oct 04 17:30:24 2018 +0200 @@ -490,9 +490,10 @@ exit end; - if (copy(s, 2, 5) = 'team ') and (length(s) > 6) then + // “/clan” or “/team” (“/team” is an alias for “/clan”) + if ((copy(s, 2, 5) = 'clan ') or (copy(s, 2, 5) = 'team ')) and (length(s) > 6) then begin - ParseCommand(s, true); + ParseCommand('team ' + copy(s, 7, Length(s) - 6), true); exit end; @@ -1162,7 +1163,7 @@ SetLine(InputStr, '', true) else begin - SetLine(InputStr, '/team ', true); + SetLine(InputStr, '/clan ', true); cursorPos:= 6; UpdateCursorCoords(); end; diff -r 76a1d6275cd3 -r 266a25b79374 share/hedgewars/Data/Locale/de.txt --- a/share/hedgewars/Data/Locale/de.txt Thu Oct 04 17:07:17 2018 +0200 +++ b/share/hedgewars/Data/Locale/de.txt Thu Oct 04 17:30:24 2018 +0200 @@ -1398,7 +1398,7 @@ ; Chat command help 06:00=Liste der grundlegenden Client-Chatbefehle: 06:01=/togglechat: Chatanzeige umschalten -06:02=/team : Nachricht nur an Klanmitglieder schicken +06:02=/clan : Nachricht nur an Klanmitglieder schicken 06:03=/me : Chataktion, z.B. wird »/me isst Pizza« zu »* Spieler isst Pizza« 06:04=/pause: Pause umschalten 06:05=/pause: Automatisches Überspringen umschalten diff -r 76a1d6275cd3 -r 266a25b79374 share/hedgewars/Data/Locale/en.txt --- a/share/hedgewars/Data/Locale/en.txt Thu Oct 04 17:07:17 2018 +0200 +++ b/share/hedgewars/Data/Locale/en.txt Thu Oct 04 17:30:24 2018 +0200 @@ -1301,7 +1301,7 @@ ; Chat command help 06:00=List of basic client chat commands: 06:01=/togglechat: Toggle chat display -06:02=/team : Send message to clan members only +06:02=/clan : Send message to clan members only 06:03=/me : Chat action, e.g. “/me eats pizza” becomes “* Player eats pizza” 06:04=/pause: Toggle pause 06:05=/pause: Toggle auto skip