#include "RakNetDefinesOverrides.h"
Go to the source code of this file.
Defines | |
#define | __GET_TIME_64BIT 1 |
#define | _RAKNET_THREADSAFE |
#define | MAX_ALLOCA_STACK_ALLOCATION 1048576 |
Maximum (stack) size to use with _alloca before using new and delete instead. | |
#define | USE_WAIT_FOR_MULTIPLE_EVENTS |
#define | _USE_RAK_MEMORY_OVERRIDE 1 |
#define | BITSTREAM_STACK_ALLOCATION_SIZE 256 |
#define | RAKNET_DEBUG_PRINTF printf |
#define | RAKNET_RSA_FACTOR_LIMBS 16 |
#define | NETWORK_ID_SUPPORTS_PEER_TO_PEER 1 |
#define | MAXIMUM_NUMBER_OF_INTERNAL_IDS 10 |
#define | RakAssert(x) |
#define | DATAGRAM_MESSAGE_ID_ARRAY_LENGTH 512 |
This controls the amount of memory used per connection. If more than this many datagrams are sent without an ack, then the ack has no effect. | |
#define | RESEND_BUFFER_ARRAY_LENGTH 512 |
This is the maximum number of reliable user messages that can be on the wire at a time. | |
#define | RESEND_BUFFER_ARRAY_MASK 511 |
#define | GET_TIME_SPIKE_LIMIT 0 |
Uncomment if you want to link in the DLMalloc library to use with RakMemoryOverride. |
#define __GET_TIME_64BIT 1 |
Define __GET_TIME_64BIT to have RakNetTime use a 64, rather than 32 bit value. A 32 bit value will overflow after about 5 weeks. However, this doubles the bandwidth use for sending times, so don't do it unless you have a reason to. Comment out if you are using the iPod Touch TG. See http://www.jenkinssoftware.com/forum/index.php?topic=2717.0
Definition at line 12 of file RakNetDefines.h.
#define _RAKNET_THREADSAFE |
Makes RakNet threadsafe Do not undefine!
Definition at line 17 of file RakNetDefines.h.
#define _USE_RAK_MEMORY_OVERRIDE 1 |
Uncomment to use RakMemoryOverride for custom memory tracking See RakMemoryOverride.h.
Definition at line 39 of file RakNetDefines.h.
#define BITSTREAM_STACK_ALLOCATION_SIZE 256 |
If defined, OpenSSL is enabled for the class TCPInterface This is necessary to use the SendEmail class with Google POP servers Note that OpenSSL carries its own license restrictions that you should be aware of. If you don't agree, don't enable this define This also requires that you enable header search paths to DependentExtensions\openssl-0.9.8g Threshold at which to do a malloc / free rather than pushing data onto a fixed stack for the bitstream class Arbitrary size, just picking something likely to be larger than most packets
Definition at line 51 of file RakNetDefines.h.
#define DATAGRAM_MESSAGE_ID_ARRAY_LENGTH 512 |
This controls the amount of memory used per connection. If more than this many datagrams are sent without an ack, then the ack has no effect.
Definition at line 92 of file RakNetDefines.h.
#define GET_TIME_SPIKE_LIMIT 0 |
Uncomment if you want to link in the DLMalloc library to use with RakMemoryOverride.
Workaround for http://support.microsoft.com/kb/274323 , only does anything on Windows and Linux If two calls between RakNet::GetTime() happen farther apart than this time in microseconds, this delta will be returned instead
Definition at line 109 of file RakNetDefines.h.
#define MAX_ALLOCA_STACK_ALLOCATION 1048576 |
Maximum (stack) size to use with _alloca before using new and delete instead.
Define __BITSTREAM_NATIVE_END to NOT support endian swapping in the BitStream class. This is faster and is what you should use unless you actually plan to have different endianness systems connect to each other Enabled by default.
Definition at line 26 of file RakNetDefines.h.
#define MAXIMUM_NUMBER_OF_INTERNAL_IDS 10 |
Definition at line 75 of file RakNetDefines.h.
#define NETWORK_ID_SUPPORTS_PEER_TO_PEER 1 |
Definition at line 66 of file RakNetDefines.h.
#define RakAssert | ( | x | ) |
Definition at line 85 of file RakNetDefines.h.
#define RAKNET_DEBUG_PRINTF printf |
Definition at line 56 of file RakNetDefines.h.
#define RAKNET_RSA_FACTOR_LIMBS 16 |
Definition at line 61 of file RakNetDefines.h.
#define RESEND_BUFFER_ARRAY_LENGTH 512 |
This is the maximum number of reliable user messages that can be on the wire at a time.
Definition at line 97 of file RakNetDefines.h.
#define RESEND_BUFFER_ARRAY_MASK 511 |
Definition at line 98 of file RakNetDefines.h.
#define USE_WAIT_FOR_MULTIPLE_EVENTS |
Definition at line 33 of file RakNetDefines.h.