summaryrefslogtreecommitdiff
path: root/src/network/network_type.h
diff options
context:
space:
mode:
authorsmatz <smatz@openttd.org>2009-05-22 15:13:50 +0000
committersmatz <smatz@openttd.org>2009-05-22 15:13:50 +0000
commit62a7948af0ca9eb3b190a54918201e1075edcbbc (patch)
tree27a79b7850682cd43cac2462c3410ed8b567c4b2 /src/network/network_type.h
parent04723b240ebc7384954f73590be517ad2a47ce04 (diff)
downloadopenttd-62a7948af0ca9eb3b190a54918201e1075edcbbc.tar.xz
(svn r16378) -Codechange: replace OldPool with simpler Pool. Compilation time, binary size and run time (with asserts disabled) should be improved
Diffstat (limited to 'src/network/network_type.h')
-rw-r--r--src/network/network_type.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/network/network_type.h b/src/network/network_type.h
index 7e27d398c..4bdb64429 100644
--- a/src/network/network_type.h
+++ b/src/network/network_type.h
@@ -16,13 +16,10 @@ enum {
/** How many clients can we have */
MAX_CLIENTS = 255,
- /** The number of bits per pool client block */
- NCI_BITS_PER_POOL_BLOCK = 3, // => 8 items per block
/**
- * The number of slots; must be a multiple of (1 << NCI_BITS_PER_POOL_BLOCK)
- * and be at least 1 more than MAX_CLIENTS. It must furthermore be less than
- * or equal to 256 as client indices (sent over the network) are 8 bits.
- * It needs 1 more for the dedicated server.
+ * The number of slots; must be at least 1 more than MAX_CLIENTS. It must
+ * furthermore be less than or equal to 256 as client indices (sent over
+ * the network) are 8 bits. It needs 1 more for the dedicated server.
*/
MAX_CLIENT_SLOTS = 256,