summaryrefslogtreecommitdiff
path: root/src/network/network_type.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2008-12-29 10:37:53 +0000
committerrubidium <rubidium@openttd.org>2008-12-29 10:37:53 +0000
commit0b806c7bbcf1d5aabdbea1278591b367cce0f718 (patch)
treec9d555fd0bc0e6ec5fc8610f3881c20350063b00 /src/network/network_type.h
parent5c8a281e00d38b024d08cc41083272ef57ac71e0 (diff)
downloadopenttd-0b806c7bbcf1d5aabdbea1278591b367cce0f718.tar.xz
(svn r14764) -Codechange: make the '***' chat messages like "Game paused (not enough players)" fully translateable.
Diffstat (limited to 'src/network/network_type.h')
-rw-r--r--src/network/network_type.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/network/network_type.h b/src/network/network_type.h
index 2878819b5..a65e66386 100644
--- a/src/network/network_type.h
+++ b/src/network/network_type.h
@@ -81,6 +81,16 @@ enum NetworkAction {
NETWORK_ACTION_NAME_CHANGE,
};
+/** Messages the server can give */
+enum NetworkServerMessage {
+ NETWORK_SERVER_MESSAGE_GAME_PAUSED_PLAYERS, ///< Game paused (not enough players)
+ NETWORK_SERVER_MESSAGE_GAME_UNPAUSED_PLAYERS, ///< Game unpaused (enough players)
+ NETWORK_SERVER_MESSAGE_GAME_PAUSED_CONNECT, ///< Game paused (connecting client)
+ NETWORK_SERVER_MESSAGE_GAME_UNPAUSED_CONNECT, ///< Game unpaused (client connected)
+ NETWORK_SERVER_MESSAGE_GAME_UNPAUSED_CONNECT_FAIL, ///< Game unpaused (client failed to connect)
+ NETWORK_SERVER_MESSAGE_END
+};
+
enum NetworkErrorCode {
NETWORK_ERROR_GENERAL, // Try to use this one like never