/*
* Copyright (C) 2005,2006 MaNGOS <http://www.mangosproject.org/>
*
* 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.8-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 2007071001
#endif
#ifndef _REALMDCONFVERSION
# define _REALMDCONFVERSION 2007062001
#endif
#ifndef EXPECTED_MANGOS_CLIENT_BUILD == ""
# define EXPECTED_MANGOS_CLIENT_BUILD sConfig.GetIntDefault("WoWVersion",6898);
#endif
#if PLATFORM == PLATFORM_WIN32
# define _FULLVERSION "/" _VERSION " (Win32)"
# define _MANGOSD_CONFIG "mangosd.conf"
# define _REALMD_CONFIG "realmd.conf"
# define _OPCODE_CONFIG "opcodes/" EXPECTED_MANGOS_CLIENT_BUILD ".conf"
#else
# define _FULLVERSION "/" _VERSION " (Unix)"
# define _MANGOSD_CONFIG "../etc/mangosd.conf"
# define _REALMD_CONFIG "../etc/realmd.conf"
# define _OPCODE_CONFIG "../ect/opcodes/" EXPECTED_MANGOS_CLIENT_BUILD ".conf"
#endif
#undef EXPECTED_MANGOS_CLIENT_BUILD
#define DEFAULT_PLAYER_LIMIT 100
#define DEFAULT_WORLDSERVER_PORT 8085 //8129
#define DEFAULT_REALMSERVER_PORT 3724
#define DEFAULT_SOCKET_SELECT_TIME 10000
#define EXPECTED_MANGOS_CLIENT_BUILD 6739
#endif