00001 /************************************************************************ 00002 filename: CEGUIConfig.h 00003 created: 1/10/2004 00004 author: Paul D Turner 00005 *************************************************************************/ 00006 /************************************************************************* 00007 Crazy Eddie's GUI System (http://www.cegui.org.uk) 00008 Copyright (C)2004 - 2005 Paul D Turner (paul@cegui.org.uk) 00009 00010 This library is free software; you can redistribute it and/or 00011 modify it under the terms of the GNU Lesser General Public 00012 License as published by the Free Software Foundation; either 00013 version 2.1 of the License, or (at your option) any later version. 00014 00015 This library is distributed in the hope that it will be useful, 00016 but WITHOUT ANY WARRANTY; without even the implied warranty of 00017 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00018 Lesser General Public License for more details. 00019 00020 You should have received a copy of the GNU Lesser General Public 00021 License along with this library; if not, write to the Free Software 00022 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 00023 *************************************************************************/ 00025 /************************************************************************* 00026 00027 This file can be used to set certain configuration options which are used 00028 when compiling Crazy Eddie's GUI System and associated components. 00029 00030 Each item in here has a comment to describe what it's for. 00031 00032 *************************************************************************/ 00034 #ifndef _CEGUIConfig_h_ 00035 #define _CEGUIConfig_h_ 00036 00037 00039 // Uncomment this line if you are using the 0.14.x or earlier release of Ogre. 00041 //#define CEGUI_USEOLDOGRESTRING 1 00042 00043 00045 // comment this line to suppress the auto appending of '_d' to loaded module 00046 // names under Win32. 00048 #define CEGUI_LOAD_MODULE_APPEND_SUFFIX_FOR_DEBUG 1 00049 00050 00052 // this is what gets appended to module names when 00053 // CEGUI_LOAD_MODULE_APPEND_FOR_DEBUG is defined 00055 #define CEGUI_LOAD_MODULE_DEBUG_SUFFIX "_d" 00056 00057 00059 // Comment this line to remove the alignment of elements to pixel 00060 // boundaries. This may give you a performance boost at the expense 00061 // of visual quality 00063 #define CEGUI_ALIGN_ELEMENTS_TO_PIXELS 1 00064 00066 // The following are intended for MSVC++ and X-Code users. 00067 // 00068 // The Linux build can both auto-configure itself, and also take 00069 // configure parameters which control the settings presented below. 00071 #if defined(_MSC_VER) || defined(__APPLE__) 00072 00074 // Comment this line if you wish to remove the Xerces-C++ dependency. 00075 // The system will revert to using an embedded version of TinyXML instead. 00077 #define CEGUI_WITH_XERCES 00078 00080 // Comment/Uncomment these lines to control renderer use in samples where 00081 // MSVC/XCode are used (since they don't auto-detect such things). 00083 #define CEGUI_SAMPLES_USE_OPENGL 00084 //#define CEGUI_SAMPLES_USE_OGRE 00085 //#define CEGUI_SAMPLES_USE_IRRLICHT 00086 00087 #endif // defined(_MSC_VER) || defined(__APPLE__) 00088 00089 00091 // The following are intended for MSVC++ users. 00093 #if defined(_MSC_VER) 00094 00096 // Comment/Uncomment these lines to control renderer use in samples where 00097 // MSVC is used (since it can't auto-detect such things). 00099 //#define CEGUI_SAMPLES_USE_DIRECTX_8 00100 #define CEGUI_SAMPLES_USE_DIRECTX_9 00101 00103 // It is expected by now you are running a recent PSDK and not one that is 00104 // seven years old. If you wish to try your luck, comment this line! 00106 #define _STLP_NEW_PLATFORM_SDK 00107 00108 #endif // defined(_MSC_VER) 00109 00110 #endif // end of guard _CEGUIConfig_h_