summaryrefslogtreecommitdiff
path: root/src/table
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2010-11-30 20:01:26 +0000
committerrubidium <rubidium@openttd.org>2010-11-30 20:01:26 +0000
commitfd752ca2b0cc6741c348a7fbb8b7a6a7575e0f64 (patch)
treefcb2824a6f0df8ec0056b377b4fc05ae8ea0c67c /src/table
parenta0f0f5e2e1133138eaa8da256be4929e16c69db6 (diff)
downloadopenttd-fd752ca2b0cc6741c348a7fbb8b7a6a7575e0f64.tar.xz
(svn r21363) -Add: support for limiting the amount of (accepted) incoming data
Diffstat (limited to 'src/table')
-rw-r--r--src/table/settings.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/table/settings.h b/src/table/settings.h
index bc37d88ab..757f4cdf5 100644
--- a/src/table/settings.h
+++ b/src/table/settings.h
@@ -633,6 +633,8 @@ const SettingDesc _settings[] = {
SDTC_VAR(network.frame_freq, SLE_UINT8,C|S,NO, 0, 0, 100, 0, STR_NULL, NULL),
SDTC_VAR(network.commands_per_frame, SLE_UINT16, S, NO, 4, 1, 65535, 0, STR_NULL, NULL),
SDTC_VAR(network.max_commands_in_queue,SLE_UINT16, S, NO, 32, 1, 65535, 0, STR_NULL, NULL),
+ SDTC_VAR(network.bytes_per_frame, SLE_UINT16, S, NO, 8, 1, 65535, 0, STR_NULL, NULL),
+ SDTC_VAR(network.bytes_per_frame_burst,SLE_UINT16, S, NO, 256, 1, 65535, 0, STR_NULL, NULL),
SDTC_VAR(network.max_join_time, SLE_UINT16, S, NO, 500, 0, 32000, 0, STR_NULL, NULL),
SDTC_BOOL(network.pause_on_join, S, NO, true, STR_NULL, NULL),
SDTC_VAR(network.server_port, SLE_UINT16, S, NO,NETWORK_DEFAULT_PORT,0,65535,0,STR_NULL, NULL),