diff --git a/framework/BuildDefines.h b/framework/BuildDefines.h index b0f9224..72d7cf2 100644 --- a/framework/BuildDefines.h +++ b/framework/BuildDefines.h @@ -115,3 +115,35 @@ If you have questions concerning this license or the applicable additional terms #ifndef ID_OPENAL_EAX # define ID_OPENAL_EAX 0 #endif + +// async network + +/* +DOOM III gold: 33 +1.1 beta patch: 34 +1.1 patch: 35 +1.2 XP: 36-39 +1.3 patch: 40 +1.3.1: 41 +*/ +#define ASYNC_PROTOCOL_MINOR (41) +#define ASYNC_PROTOCOL_VERSION (( ASYNC_PROTOCOL_MAJOR << 16 ) + ASYNC_PROTOCOL_MINOR) + +#define MAX_ASYNC_CLIENTS (32) + +#define MAX_USERCMD_BACKUP (256) +#define MAX_USERCMD_DUPLICATION (25) +#define MAX_USERCMD_RELAY (10) + +// index 0 is hardcoded to be the idnet master +// which leaves 4 to user customization +#define MAX_MASTER_SERVERS (5) + +#define MAX_NICKLEN (32) + +// max number of servers that will be scanned for at a single IP address +#define MAX_SERVER_PORTS (8) + +// special game init ids +#define GAME_INIT_ID_INVALID (-1) +#define GAME_INIT_ID_MAP_LOAD (-2)