diff options
author | gepard1984 <gepard1984@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-02-16 17:09:43 +0000 |
---|---|---|
committer | gepard1984 <gepard1984@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-02-16 17:09:43 +0000 |
commit | c021f63e10a7dca24119e436e2450e0bbb2266a3 (patch) | |
tree | 481effe6e7aa8c7467b7bc6dc0e43570365515bd /src/common/core.h | |
parent | 718ea60b21903731c02613164262f6b81d0e08fb (diff) | |
download | hercules-c021f63e10a7dca24119e436e2450e0bbb2266a3.tar.gz hercules-c021f63e10a7dca24119e436e2450e0bbb2266a3.tar.bz2 hercules-c021f63e10a7dca24119e436e2450e0bbb2266a3.tar.xz hercules-c021f63e10a7dca24119e436e2450e0bbb2266a3.zip |
- Removed outdated version number handling (follow-up to r11503).
- Fixed mapcache compilation issues in Linux.
- Added some missing `svn:ignore` properties.
- Moved `BLOCK_SIZE` definition from header to source file.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15586 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/common/core.h')
-rw-r--r-- | src/common/core.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/common/core.h b/src/common/core.h index ecaa2a9d0..11b4f7c47 100644 --- a/src/common/core.h +++ b/src/common/core.h @@ -14,6 +14,12 @@ extern char **arg_v; /// @see E_CORE_ST extern int runflag; extern char *SERVER_NAME; + +#define ATHENA_SERVER_NONE 0 // not defined +#define ATHENA_SERVER_LOGIN 1 // login server +#define ATHENA_SERVER_CHAR 2 // char server +#define ATHENA_SERVER_INTER 4 // inter server +#define ATHENA_SERVER_MAP 8 // map server extern char SERVER_TYPE; extern int parse_console(const char* buf); |