2017-03-15 19:29:34 +00:00
|
|
|
// NeL - MMORPG Framework <http://dev.ryzom.com/projects/nel/>
|
|
|
|
// Copyright (C) 2010 Winch Gate Property Limited
|
|
|
|
//
|
|
|
|
// This program is free software: you can redistribute it and/or modify
|
|
|
|
// it under the terms of the GNU Affero General Public License as
|
|
|
|
// published by the Free Software Foundation, either version 3 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 Affero General Public License for more details.
|
|
|
|
//
|
|
|
|
// You should have received a copy of the GNU Affero General Public License
|
|
|
|
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
|
|
|
|
#ifndef NLQT_NEL_QT_CONFIG_H
|
|
|
|
#define NLQT_NEL_QT_CONFIG_H
|
|
|
|
#include <nel/misc/types_nl.h>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// use the default log.log file (not erased on use)
|
|
|
|
// #define NLQT_USE_LOG_LOG false
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// the config file name
|
|
|
|
// #define NLQT_CONFIG_FILE "nel_qt.cfg"
|
|
|
|
// #define NLQT_CONFIG_FILE_DEFAULT "nel_qt_default.cfg"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// use nel_qt log file
|
|
|
|
// #define NLQT_USE_LOG 1
|
|
|
|
|
|
|
|
// nel_qt log file name
|
|
|
|
#define NLQT_LOG_FILE "nel_qt.log"
|
|
|
|
|
|
|
|
// clear nel_qt log before use
|
|
|
|
#define NLQT_ERASE_LOG true
|
|
|
|
|
|
|
|
// version number
|
|
|
|
#define NLQT_VERSION "0.8.0.2247"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// use the low fragmentation heap (windows feature)
|
|
|
|
// #define NLQT_LOW_FRAGMENTATION_HEAP 1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// temporary dev tags
|
|
|
|
//#define NL_DEV_STEREO 0
|
|
|
|
//#define NL_DEV_MEMLEAK 1
|
|
|
|
//#define NL_DEV_NET 0
|
|
|
|
//#define NL_DEV_NETNEW 1
|
|
|
|
//#define NL_DEV_CG 0
|
|
|
|
//#define NL_DEV_BULLET 0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// some default defines
|
|
|
|
#if FINAL_VERSION
|
|
|
|
# if !defined(NLQT_USE_LOG_LOG)
|
|
|
|
# define NLQT_USE_LOG_LOG false
|
|
|
|
# endif
|
|
|
|
# if !defined(NLQT_USE_LOG)
|
|
|
|
# define NLQT_USE_LOG 0
|
|
|
|
# endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if !defined (NLQT_USE_LOG_LOG)
|
|
|
|
# define NLQT_USE_LOG_LOG true
|
|
|
|
#endif
|
|
|
|
#if !defined (NLQT_USE_LOG)
|
|
|
|
# define NLQT_USE_LOG 1
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if !defined (NLQT_LOW_FRAGMENTATION_HEAP)
|
|
|
|
# ifdef NL_OS_WINDOWS
|
|
|
|
# define NLQT_LOW_FRAGMENTATION_HEAP 1
|
|
|
|
# else
|
|
|
|
# define NLQT_LOW_FRAGMENTATION_HEAP 0
|
|
|
|
# endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
// for compatibility with old configuration
|
|
|
|
#ifndef NLQT_CONFIG_FILE
|
|
|
|
# ifndef NEL_QT_CONFIG
|
|
|
|
# define NLQT_CONFIG_FILE "nel_qt.cfg"
|
|
|
|
# else
|
|
|
|
# define NLQT_CONFIG_FILE NEL_QT_CONFIG "nel_qt.cfg"
|
|
|
|
# endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef NLQT_CONFIG_FILE_DEFAULT
|
|
|
|
# define NLQT_CONFIG_FILE_DEFAULT "nel_qt_default.cfg"
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#endif /* #ifndef NLQT_NEL_QT_CONFIG_H */
|
|
|
|
|
|
|
|
/* end of file */
|