forked from mirror/OpenTTD
(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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user