summaryrefslogtreecommitdiff
path: root/network_data.h
diff options
context:
space:
mode:
authorDarkvater <darkvater@openttd.org>2006-10-21 22:29:14 +0000
committerDarkvater <darkvater@openttd.org>2006-10-21 22:29:14 +0000
commit91b9b3ab18400ab3f01fb33c3a684a242a04d142 (patch)
tree1749ba1045f80bc6f9dc51f19f5c263d872aa0ae /network_data.h
parentbaf451b216e2f7c741d727458f4b750b983585ed (diff)
downloadopenttd-91b9b3ab18400ab3f01fb33c3a684a242a04d142.tar.xz
(svn r6876) -Codechange: Change the naming of _PLAYER in DESTTYPE_PLAYER/NETWORK_ACTION_CHAT_PLAYER
to _COMPANY as that is whom you are really addressing to. Also change some variable names, 'desttype' is confusing if there is also a parameter 'dest', so rename it to just type.
Diffstat (limited to 'network_data.h')
-rw-r--r--network_data.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/network_data.h b/network_data.h
index 6d8d4feb4..75259e9a6 100644
--- a/network_data.h
+++ b/network_data.h
@@ -99,7 +99,7 @@ typedef enum {
NETWORK_ACTION_JOIN,
NETWORK_ACTION_LEAVE,
NETWORK_ACTION_CHAT,
- NETWORK_ACTION_CHAT_PLAYER,
+ NETWORK_ACTION_CHAT_COMPANY,
NETWORK_ACTION_CHAT_CLIENT,
NETWORK_ACTION_GIVE_MONEY,
NETWORK_ACTION_NAME_CHANGE,
@@ -170,7 +170,7 @@ typedef enum {
typedef enum {
DESTTYPE_BROADCAST, ///< Send message/notice to all players (All)
- DESTTYPE_PLAYER, ///< Send message/notice to everyone playing the same company (Team)
+ DESTTYPE_TEAM, ///< Send message/notice to everyone playing the same company (Team)
DESTTYPE_CLIENT, ///< Send message/notice to only a certain player (Private)
} DestType;