1 // NeL - MMORPG Framework <http://dev.ryzom.com/projects/nel/>
2 // Copyright (C) 2010 Winch Gate Property Limited
4 // This source file has been modified by the following contributors:
5 // Copyright (C) 2013-2019 Jan BOON (Kaetemi) <jan.boon@kaetemi.be>
7 // This program is free software: you can redistribute it and/or modify
8 // it under the terms of the GNU Affero General Public License as
9 // published by the Free Software Foundation, either version 3 of the
10 // License, or (at your option) any later version.
12 // This program is distributed in the hope that it will be useful,
13 // but WITHOUT ANY WARRANTY; without even the implied warranty of
14 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 // GNU Affero General Public License for more details.
17 // You should have received a copy of the GNU Affero General Public License
18 // along with this program. If not, see <http://www.gnu.org/licenses/>.
20 #include <nel/misc/types_nl.h>
24 // use the default log.log file (not erased on use)
25 // #define SBCLIENT_USE_LOG_LOG false
29 // the config file name
30 // #define SBCLIENT_CONFIG_FILE "snowballs_client.cfg"
31 // #define SBCLIENT_CONFIG_FILE_DEFAULT "snowballs_client_default.cfg"
33 // use snowballs log file
34 // #define SBCLIENT_USE_LOG 1
36 // snowballs log file name
37 #define SBCLIENT_LOG_FILE "snowballs_client.log"
39 // clear snowballs log before use
40 #define SBCLIENT_ERASE_LOG true
49 #define SBCLIENT_VERSION "2.3"
54 #define SBCLIENT_DEV_SOUND 0
55 #define SBCLIENT_DEV_STEREO 0
56 #define SBCLIENT_DEV_MEMLEAK 0
57 #define SBCLIENT_DEV_PIXEL_PROGRAM 0
61 // some default defines
63 # if !defined(SBCLIENT_USE_LOG_LOG)
64 # define SBCLIENT_USE_LOG_LOG false
66 # if !defined(SBCLIENT_USE_LOG)
67 # define SBCLIENT_USE_LOG 0
71 #if !defined(SBCLIENT_USE_LOG_LOG)
72 # define SBCLIENT_USE_LOG_LOG true
74 #if !defined (SBCLIENT_USE_LOG)
75 # define SBCLIENT_USE_LOG 1
78 // for compatibility with old configuration
79 #ifndef SBCLIENT_CONFIG_FILE
80 # ifndef SNOWBALLS_CONFIG
81 # define SBCLIENT_CONFIG_FILE "snowballs_client.cfg"
83 # define SBCLIENT_CONFIG_FILE SNOWBALLS_CONFIG "snowballs_client.cfg"
87 #ifndef SBCLIENT_CONFIG_FILE_DEFAULT
88 # define SBCLIENT_CONFIG_FILE_DEFAULT "snowballs_client_default.cfg"