summaryrefslogtreecommitdiff
path: root/network_data.h
diff options
context:
space:
mode:
authorDarkvater <darkvater@openttd.org>2006-01-25 18:11:06 +0000
committerDarkvater <darkvater@openttd.org>2006-01-25 18:11:06 +0000
commit78fa9c73933a10e052ed9358a73dc1015f49d14b (patch)
tree2e2b02a496376c4fb097825d484c2c4a6f6f5492 /network_data.h
parent42a9353ae2283939609d068725d89ac93f199bcd (diff)
downloadopenttd-78fa9c73933a10e052ed9358a73dc1015f49d14b.tar.xz
(svn r3427) - Feature: Allow seeing and setting the maximum amount of companies and spectators for a server. This can be changed/viewed during runtime as well in the console.
Diffstat (limited to 'network_data.h')
-rw-r--r--network_data.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/network_data.h b/network_data.h
index 553680fc2..b8f6a0eef 100644
--- a/network_data.h
+++ b/network_data.h
@@ -18,7 +18,7 @@
#define NETWORK_EMPTY_INDEX 0
// What version of game-info do we use?
-#define NETWORK_GAME_INFO_VERSION 1
+#define NETWORK_GAME_INFO_VERSION 2
// What version of company info is this?
#define NETWORK_COMPANY_INFO_VERSION 3
// What version of master-server-protocol do we use?
@@ -92,6 +92,7 @@ typedef enum {
NETWORK_ERROR_PLAYER_MISMATCH, // Happens in CLIENT_COMMAND
NETWORK_ERROR_KICKED,
NETWORK_ERROR_CHEATER,
+ NETWORK_ERROR_FULL,
} NetworkErrorCode;
// Actions that can be used for NetworkTextMessage