diff options
author | thilo <thilo@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2008-04-09 23:43:30 +0000 |
---|---|---|
committer | thilo <thilo@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2008-04-09 23:43:30 +0000 |
commit | ab59cd3f0e9f0261007f844f0853fbd9d29f856a (patch) | |
tree | 42e83b21a5b5903fe5dd7191ef2ff198d189290f /code/qcommon/qcommon.h | |
parent | fd55fbe832148411137d50e2afa6ca2bc0197d0e (diff) | |
download | ioquake3-aero-ab59cd3f0e9f0261007f844f0853fbd9d29f856a.tar.gz ioquake3-aero-ab59cd3f0e9f0261007f844f0853fbd9d29f856a.zip |
Include #ifdef to make it easier to create a stand-alone binary.
git-svn-id: svn://svn.icculus.org/quake3/trunk@1307 edf5b092-35ff-0310-97b2-ce42778d08ea
Diffstat (limited to 'code/qcommon/qcommon.h')
-rw-r--r-- | code/qcommon/qcommon.h | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/code/qcommon/qcommon.h b/code/qcommon/qcommon.h index d47bb21..1bd1c3d 100644 --- a/code/qcommon/qcommon.h +++ b/code/qcommon/qcommon.h @@ -243,15 +243,18 @@ extern int demo_protocols[]; #ifndef MASTER_SERVER_NAME #define MASTER_SERVER_NAME "master.quake3arena.com" #endif -#ifndef AUTHORIZE_SERVER_NAME -#define AUTHORIZE_SERVER_NAME "authorize.quake3arena.com" + +#ifndef STANDALONE + #ifndef AUTHORIZE_SERVER_NAME + #define AUTHORIZE_SERVER_NAME "authorize.quake3arena.com" + #endif + #ifndef PORT_AUTHORIZE + #define PORT_AUTHORIZE 27952 + #endif #endif #define PORT_MASTER 27950 #define PORT_UPDATE 27951 -#ifndef PORT_AUTHORIZE -#define PORT_AUTHORIZE 27952 -#endif #define PORT_SERVER 27960 #define NUM_SERVER_PORTS 4 // broadcast scan this many ports after // PORT_SERVER so a single machine can |