summaryrefslogtreecommitdiff
path: root/network_data.h
diff options
context:
space:
mode:
authorDarkvater <darkvater@openttd.org>2006-10-18 21:07:36 +0000
committerDarkvater <darkvater@openttd.org>2006-10-18 21:07:36 +0000
commitb944a133cb52958577ab8677bd2b8aff37c8c23d (patch)
tree0ef388b314faaa0af9ac16b072b33f57f028e6c6 /network_data.h
parent034f5abc4b7b969bdcf176ecf91ee837912f208a (diff)
downloadopenttd-b944a133cb52958577ab8677bd2b8aff37c8c23d.tar.xz
(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)
Diffstat (limited to 'network_data.h')
-rw-r--r--network_data.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/network_data.h b/network_data.h
index d1f7826c9..6d8d4feb4 100644
--- a/network_data.h
+++ b/network_data.h
@@ -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;