mirror of
https://github.com/mangosfour/server.git
synced 2025-12-20 07:37:02 +00:00
Imported MaNGOS revision 6767 from http://mangos.svn.sourceforge.net/svnroot/mangos/trunk/
This commit is contained in:
parent
d767495d5b
commit
800ee76535
3322 changed files with 903437 additions and 0 deletions
70
src/shared/SystemConfig.h.in
Normal file
70
src/shared/SystemConfig.h.in
Normal file
|
|
@ -0,0 +1,70 @@
|
|||
/*
|
||||
* Copyright (C) 2005,2006 MaNGOS <http://getmangos.com/>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
#ifndef MANGOS_SYSTEMCONFIG_H
|
||||
#define MANGOS_SYSTEMCONFIG_H
|
||||
|
||||
#ifndef _PACKAGENAME
|
||||
#define _PACKAGENAME "MaNGOS"
|
||||
#endif
|
||||
|
||||
#include "Platform/Define.h"
|
||||
#include "svn_revision.h"
|
||||
|
||||
#ifndef _VERSION
|
||||
#if PLATFORM == PLATFORM_WINDOWS
|
||||
# define _VERSION "0.12.0-SVN" " (Revision " SVN_REVISION ")"
|
||||
#else
|
||||
# define _VERSION "@VERSION@" " (Revision " SVN_REVISION ")"
|
||||
#endif
|
||||
#endif
|
||||
|
||||
// Format is YYYYMMDDRR where RR is the change in the conf file
|
||||
// for that day.
|
||||
#ifndef _MANGOSDCONFVERSION
|
||||
# define _MANGOSDCONFVERSION 2008022901
|
||||
#endif
|
||||
#ifndef _REALMDCONFVERSION
|
||||
# define _REALMDCONFVERSION 2007062001
|
||||
#endif
|
||||
|
||||
#if MANGOS_ENDIAN == MANGOS_BIGENDIAN
|
||||
# define _ENDIAN_STRING "big-endian"
|
||||
#else
|
||||
# define _ENDIAN_STRING "little-endian"
|
||||
#endif
|
||||
|
||||
#if PLATFORM == PLATFORM_WINDOWS
|
||||
# ifdef _WIN64
|
||||
# define _FULLVERSION _PACKAGENAME "/" _VERSION " (Win64," _ENDIAN_STRING ")"
|
||||
# else
|
||||
# define _FULLVERSION _PACKAGENAME "/" _VERSION " (Win32," _ENDIAN_STRING ")"
|
||||
# endif
|
||||
# define _MANGOSD_CONFIG "mangosd.conf"
|
||||
# define _REALMD_CONFIG "realmd.conf"
|
||||
#else
|
||||
# define _FULLVERSION _PACKAGENAME "/" _VERSION " (Unix," _ENDIAN_STRING ")"
|
||||
# define _MANGOSD_CONFIG "@sysconfdir@/mangosd.conf"
|
||||
# define _REALMD_CONFIG "@sysconfdir@/realmd.conf"
|
||||
#endif
|
||||
|
||||
#define DEFAULT_PLAYER_LIMIT 100
|
||||
#define DEFAULT_WORLDSERVER_PORT 8085 //8129
|
||||
#define DEFAULT_REALMSERVER_PORT 3724
|
||||
#define DEFAULT_SOCKET_SELECT_TIME 10000
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue