doc cleanups
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@4998 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
@@ -298,7 +298,7 @@ enet_range_coder_compress (void * context, const ENetBuffer * inBuffers, size_t
|
||||
return 0; \
|
||||
else \
|
||||
{ \
|
||||
ENetSymbol * symbol = (predictor).symbols, * child; \
|
||||
ENetSymbol * symbol = (predictor).symbols; \
|
||||
for (;;) \
|
||||
{ \
|
||||
if (code >= under_ + symbol -> total) \
|
||||
@@ -451,8 +451,8 @@ enet_range_coder_decompress (void * context, const enet_uint8 * inData, size_t i
|
||||
return (size_t) (outData - outStart);
|
||||
}
|
||||
|
||||
/** Sets the packet compressor the host should use to the default range compressor.
|
||||
@param host host to enable or disable compression for
|
||||
/** Sets the packet compressor the host should use to the default range coder.
|
||||
@param host host to enable the range coder for
|
||||
@returns 0 on success, < 0 on failure
|
||||
*/
|
||||
int
|
||||
|
||||
@@ -305,7 +305,7 @@ typedef enet_uint32 (ENET_CALLBACK * ENetChecksumCallback) (const ENetBuffer * b
|
||||
|
||||
/** An ENet host for communicating with peers.
|
||||
*
|
||||
* No fields should be modified.
|
||||
* No fields should be modified unless otherwise stated.
|
||||
|
||||
@sa enet_host_create()
|
||||
@sa enet_host_destroy()
|
||||
@@ -314,6 +314,7 @@ typedef enet_uint32 (ENET_CALLBACK * ENetChecksumCallback) (const ENetBuffer * b
|
||||
@sa enet_host_flush()
|
||||
@sa enet_host_broadcast()
|
||||
@sa enet_host_compress()
|
||||
@sa enet_host_compress_with_range_coder()
|
||||
@sa enet_host_channel_limit()
|
||||
@sa enet_host_bandwidth_limit()
|
||||
@sa enet_host_bandwidth_throttle()
|
||||
@@ -340,7 +341,7 @@ typedef struct _ENetHost
|
||||
size_t commandCount;
|
||||
ENetBuffer buffers [ENET_BUFFER_MAXIMUM];
|
||||
size_t bufferCount;
|
||||
ENetChecksumCallback checksum;
|
||||
ENetChecksumCallback checksum; /**< callback the user can set to enable packet checksums for this host */
|
||||
ENetCompressor compressor;
|
||||
enet_uint8 packetData [2][ENET_PROTOCOL_MAXIMUM_MTU];
|
||||
ENetAddress receivedAddress;
|
||||
|
||||
Reference in New Issue
Block a user