(svn r6824) -Feature: Change the functionality of the chat window. SHIFT+ENTER (SHIFT+T)

sends a message to all players, CTRL+ENTER (CTRL+T) sends a message to all
 team mates and ENTER (T) sends a message to teammates if you have any, otherwise
 to all players.
 The chat-window now also shows what kind of message is being sent. Shortcut
 functionality has not been changed (ENTER sends message, ESC closes window)
This commit is contained in:
Darkvater
2006-10-18 21:07:36 +00:00
parent 034f5abc4b
commit b944a133cb
3 changed files with 55 additions and 17 deletions

View File

@@ -169,9 +169,9 @@ typedef enum {
} PacketType;
typedef enum {
DESTTYPE_BROADCAST,
DESTTYPE_PLAYER,
DESTTYPE_CLIENT
DESTTYPE_BROADCAST, ///< Send message/notice to all players (All)
DESTTYPE_PLAYER, ///< Send message/notice to everyone playing the same company (Team)
DESTTYPE_CLIENT, ///< Send message/notice to only a certain player (Private)
} DestType;
CommandPacket *_local_command_queue;