mirror of
https://github.com/dhewm/dhewm3-sdk.git
synced 2024-11-22 04:31:15 +00:00
Move constants from AsyncNetwork.h
Make those defines in BuildDefines.h instead to reduce header dependencies.
This commit is contained in:
parent
4df3236c3e
commit
c63e63b234
1 changed files with 32 additions and 0 deletions
|
@ -115,3 +115,35 @@ If you have questions concerning this license or the applicable additional terms
|
||||||
#ifndef ID_OPENAL_EAX
|
#ifndef ID_OPENAL_EAX
|
||||||
# define ID_OPENAL_EAX 0
|
# define ID_OPENAL_EAX 0
|
||||||
#endif
|
#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)
|
||||||
|
|
Loading…
Reference in a new issue