/* * Copyright (C) 2005,2006 MaNGOS * * 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 #include "Platform/CompilerDefs.h" #ifndef _VERSION #if PLATFORM == PLATFORM_WIN32 # define _VERSION "0.9.0-SVN" #else # define _VERSION "@VERSION@" #endif #endif // Format is YYYYMMDDRR where RR is the change in the conf file // for that day. #ifndef _MANGOSDCONFVERSION # define _MANGOSDCONFVERSION 2007103101 #endif #ifndef _REALMDCONFVERSION # define _REALMDCONFVERSION 2007062001 #endif #if PLATFORM == PLATFORM_WIN32 # define _FULLVERSION "/" _VERSION " (Win32)" # define _MANGOSD_CONFIG "mangosd.conf" # define _REALMD_CONFIG "realmd.conf" #else # define _FULLVERSION "/" _VERSION " (Unix)" # define _MANGOSD_CONFIG "@prefix@/etc/mangosd.conf" # define _REALMD_CONFIG "@prefix@/etc/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