--- a/ChangeLog.txt Sat Dec 08 14:02:25 2018 +0100
+++ b/ChangeLog.txt Sat Dec 08 14:10:42 2018 +0100
@@ -1,5 +1,8 @@
+ features
* bugfixes
+=============== 1.0.0 (unreleased) =================
+ + New chat command: “/help room” (shows room chat commands within the game)
+
====================== 0.9.25 ======================
HIGHLIGHTS:
+ Complete overhaul of Continental supplies
--- a/hedgewars/uChat.pas Sat Dec 08 14:02:25 2018 +0100
+++ b/hedgewars/uChat.pas Sat Dec 08 14:10:42 2018 +0100
@@ -589,6 +589,15 @@
exit
end;
+ if (copy(s, 2, 9) = 'help room') then
+ begin
+ if (gameType = gmtNet) then
+ SendConsoleCommand('/help')
+ else
+ AddChatString(#0 + shortstring(trcmd[sidCmdHelpRoomFail]));
+ exit;
+ end;
+
if (copy(s, 2, 4) = 'help') then
begin
AddChatString(#3 + shortstring(trcmd[sidCmdHeaderBasic]));
@@ -608,6 +617,8 @@
AddChatString(#3 + shortstring(trcmd[sidCmdHistory]));
AddChatString(#3 + shortstring(trcmd[sidCmdHelp]));
AddChatString(#3 + shortstring(trcmd[sidCmdHelpTaunts]));
+ if gameType = gmtNet then
+ AddChatString(#3 + shortstring(trcmd[sidCmdHelpRoom]));
exit
end;
--- a/hedgewars/uTypes.pas Sat Dec 08 14:02:25 2018 +0100
+++ b/hedgewars/uTypes.pas Sat Dec 08 14:10:42 2018 +0100
@@ -511,7 +511,8 @@
sidCmdHeaderTaunts, sidCmdSpeech, sidCmdThink, sidCmdYell,
sidCmdSpeechNumberHint, sidCmdHsa, sidCmdHta, sidCmdHya,
sidCmdHurrah, sidCmdIlovelotsoflemonade, sidCmdJuggle,
- sidCmdRollup, sidCmdShrug, sidCmdWave, sidCmdUnknown);
+ sidCmdRollup, sidCmdShrug, sidCmdWave, sidCmdUnknown,
+ sidCmdHelpRoom, sidCmdHelpRoomFail);
// Events that are important for the course of the game or at least interesting for other reasons
TEventId = (eidDied, eidDrowned, eidRoundStart, eidRoundWin, eidRoundDraw,
--- a/share/hedgewars/Data/Locale/de.txt Sat Dec 08 14:02:25 2018 +0100
+++ b/share/hedgewars/Data/Locale/de.txt Sat Dec 08 14:10:42 2018 +0100
@@ -1420,3 +1420,5 @@
06:24=/shrug: Igel mit den Achseln zucken lassen
06:25=/wave: Igel winken lassen
06:26=Unbekannter Befehl oder ungültige Parameter. Sag »/help« im Chat für eine Liste an Befehlen.
+06:27=/help room: Raum-Chatbefehle auflisten
+06:28=Du bist nicht online!
--- a/share/hedgewars/Data/Locale/en.txt Sat Dec 08 14:02:25 2018 +0100
+++ b/share/hedgewars/Data/Locale/en.txt Sat Dec 08 14:10:42 2018 +0100
@@ -1325,3 +1325,5 @@
06:24=/shrug: Make hedgehog shrug
06:25=/wave: Make hedgehog wave its hand
06:26=Unknown command or invalid parameters. Say “/help” in chat for a list of commands.
+06:27=/help room: List room chat commands
+06:28=You're not online!