resolver cleanups/LAN search

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1679 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
Lee Salzman
2008-03-02 13:01:04 +00:00
parent ad59be87e2
commit 9ac4057e08
3 changed files with 100 additions and 58 deletions
+1
View File
@@ -3,6 +3,7 @@
#define MAXTRANS 5000 // max amount of data to swallow in 1 go
#define CUBE_DEFAULT_SERVER_PORT 28763
#define CUBE_SERVINFO_PORT(serverport) (serverport+1)
#define CUBE_SERVINFO_TO_SERV_PORT(servinfoport) (servinfoport-1)
#define PROTOCOL_VERSION 1126 // bump when protocol changes
#define DEMO_VERSION 1 // bump when demo format changes
#define DEMO_MAGIC "ASSAULTCUBE_DEMO"