From 9ff5cf6184b9c5183c1f55cfa6c0d08586eb02c9 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Thu, 10 Feb 2011 18:07:24 +0000 Subject: Added a local chat channel. The say command defaults to zone chat, global messages can be send with the shout command. Removed NonSolid flag fro race objects, have race use the local chat channel. Updated to network protocol version 22. Updated developer documentation. --- src/core/gameconnection.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/core/gameconnection.h') diff --git a/src/core/gameconnection.h b/src/core/gameconnection.h index fdd5daf..1cc6deb 100644 --- a/src/core/gameconnection.h +++ b/src/core/gameconnection.h @@ -31,7 +31,10 @@ public: /// forward a remote console command void rcon(std::string const &cmdline); - /// localplayer sends a chat message to the public channel + /// localplayer sends a chat message to the global chat channel + void shout(std::string const &args); + + /// localplayer sends a chat message to the local chat channel void say(std::string const &args); /// localplayer sends a private message to another player -- cgit v1.2.3