diff options
| author | Magnus Auvinen <magnus.auvinen@gmail.com> | 2007-08-22 07:52:33 +0000 |
|---|---|---|
| committer | Magnus Auvinen <magnus.auvinen@gmail.com> | 2007-08-22 07:52:33 +0000 |
| commit | 8b3c16e6152a527f9aec1a88a9eed74119de7000 (patch) | |
| tree | f0bde5cea15e696e42cade06a3b12ff6b13acc57 /src/mastersrv | |
| parent | 9899666a7ce6679a3b9667ab09f615f4d0769c16 (diff) | |
| download | zcatch-8b3c16e6152a527f9aec1a88a9eed74119de7000.tar.gz zcatch-8b3c16e6152a527f9aec1a88a9eed74119de7000.zip | |
major engine cleanup. dependency on baselib removed. engine is now C code (not ansi tho). some other cruft removed aswell
Diffstat (limited to 'src/mastersrv')
| -rw-r--r-- | src/mastersrv/mastersrv.cpp | 7 | ||||
| -rw-r--r-- | src/mastersrv/mastersrv.h | 4 |
2 files changed, 8 insertions, 3 deletions
diff --git a/src/mastersrv/mastersrv.cpp b/src/mastersrv/mastersrv.cpp index 6c6f3ddf..03488ffc 100644 --- a/src/mastersrv/mastersrv.cpp +++ b/src/mastersrv/mastersrv.cpp @@ -1,6 +1,9 @@ #include <string.h> -#include <baselib/system.h> -#include <engine/network.h> + +extern "C" { + #include <engine/system.h> + #include <engine/network.h> +} #include "mastersrv.h" diff --git a/src/mastersrv/mastersrv.h b/src/mastersrv/mastersrv.h index cd98bec2..75a1bf0c 100644 --- a/src/mastersrv/mastersrv.h +++ b/src/mastersrv/mastersrv.h @@ -1,6 +1,8 @@ static const int MASTERSERVER_PORT = 8383; -static const int MAX_SERVERS = 200; +enum { + MAX_SERVERS = 200, +}; /*enum { SERVERBROWSE_NULL=0, |