1 | /************************************************************************
|
---|
2 | filename: CEGUIConfig.h
|
---|
3 | created: 1/10/2004
|
---|
4 | author: Paul D Turner
|
---|
5 | *************************************************************************/
|
---|
6 | /*************************************************************************
|
---|
7 | Crazy Eddie's GUI System (http://www.cegui.org.uk)
|
---|
8 | Copyright (C)2004 - 2005 Paul D Turner (paul@cegui.org.uk)
|
---|
9 |
|
---|
10 | This library is free software; you can redistribute it and/or
|
---|
11 | modify it under the terms of the GNU Lesser General Public
|
---|
12 | License as published by the Free Software Foundation; either
|
---|
13 | version 2.1 of the License, or (at your option) any later version.
|
---|
14 |
|
---|
15 | This library is distributed in the hope that it will be useful,
|
---|
16 | but WITHOUT ANY WARRANTY; without even the implied warranty of
|
---|
17 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
---|
18 | Lesser General Public License for more details.
|
---|
19 |
|
---|
20 | You should have received a copy of the GNU Lesser General Public
|
---|
21 | License along with this library; if not, write to the Free Software
|
---|
22 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
---|
23 | *************************************************************************/
|
---|
24 | //////////////////////////////////////////////////////////////////////////
|
---|
25 | /*************************************************************************
|
---|
26 |
|
---|
27 | This file can be used to set certain configuration options which are used
|
---|
28 | when compiling Crazy Eddie's GUI System and associated components.
|
---|
29 |
|
---|
30 | Each item in here has a comment to describe what it's for.
|
---|
31 |
|
---|
32 | *************************************************************************/
|
---|
33 | //////////////////////////////////////////////////////////////////////////
|
---|
34 | #ifndef _CEGUIConfig_h_
|
---|
35 | #define _CEGUIConfig_h_
|
---|
36 |
|
---|
37 |
|
---|
38 | //////////////////////////////////////////////////////////////////////////
|
---|
39 | // Uncomment this line if you are using the 0.14.x or earlier release of Ogre.
|
---|
40 | //////////////////////////////////////////////////////////////////////////
|
---|
41 | //#define CEGUI_USEOLDOGRESTRING 1
|
---|
42 |
|
---|
43 |
|
---|
44 | //////////////////////////////////////////////////////////////////////////
|
---|
45 | // comment this line to suppress the auto appending of '_d' to loaded module
|
---|
46 | // names under Win32.
|
---|
47 | //////////////////////////////////////////////////////////////////////////
|
---|
48 | #define CEGUI_LOAD_MODULE_APPEND_SUFFIX_FOR_DEBUG 1
|
---|
49 |
|
---|
50 |
|
---|
51 | //////////////////////////////////////////////////////////////////////////
|
---|
52 | // this is what gets appended to module names when
|
---|
53 | // CEGUI_LOAD_MODULE_APPEND_FOR_DEBUG is defined
|
---|
54 | //////////////////////////////////////////////////////////////////////////
|
---|
55 | #define CEGUI_LOAD_MODULE_DEBUG_SUFFIX "_d"
|
---|
56 |
|
---|
57 |
|
---|
58 | //////////////////////////////////////////////////////////////////////////
|
---|
59 | // Comment this line to remove the alignment of elements to pixel
|
---|
60 | // boundaries. This may give you a performance boost at the expense
|
---|
61 | // of visual quality
|
---|
62 | //////////////////////////////////////////////////////////////////////////
|
---|
63 | #define CEGUI_ALIGN_ELEMENTS_TO_PIXELS 1
|
---|
64 |
|
---|
65 | //////////////////////////////////////////////////////////////////////////
|
---|
66 | // The following are intended for MSVC++ and X-Code users.
|
---|
67 | //
|
---|
68 | // The Linux build can both auto-configure itself, and also take
|
---|
69 | // configure parameters which control the settings presented below.
|
---|
70 | //////////////////////////////////////////////////////////////////////////
|
---|
71 | #if defined(_MSC_VER) || defined(__APPLE__)
|
---|
72 |
|
---|
73 | //////////////////////////////////////////////////////////////////////////
|
---|
74 | // Comment this line if you wish to remove the Xerces-C++ dependency.
|
---|
75 | // The system will revert to using an embedded version of TinyXML instead.
|
---|
76 | //////////////////////////////////////////////////////////////////////////
|
---|
77 | //#define CEGUI_WITH_XERCES
|
---|
78 |
|
---|
79 | //////////////////////////////////////////////////////////////////////////
|
---|
80 | // Comment/Uncomment these lines to control renderer use in samples where
|
---|
81 | // MSVC/XCode are used (since they don't auto-detect such things).
|
---|
82 | //////////////////////////////////////////////////////////////////////////
|
---|
83 | #define CEGUI_SAMPLES_USE_OPENGL
|
---|
84 | //#define CEGUI_SAMPLES_USE_OGRE
|
---|
85 | //#define CEGUI_SAMPLES_USE_IRRLICHT
|
---|
86 |
|
---|
87 | #endif // defined(_MSC_VER) || defined(__APPLE__)
|
---|
88 |
|
---|
89 |
|
---|
90 | //////////////////////////////////////////////////////////////////////////
|
---|
91 | // The following are intended for MSVC++ users.
|
---|
92 | //////////////////////////////////////////////////////////////////////////
|
---|
93 | #if defined(_MSC_VER)
|
---|
94 |
|
---|
95 | //////////////////////////////////////////////////////////////////////////
|
---|
96 | // Comment/Uncomment these lines to control renderer use in samples where
|
---|
97 | // MSVC is used (since it can't auto-detect such things).
|
---|
98 | //////////////////////////////////////////////////////////////////////////
|
---|
99 | //#define CEGUI_SAMPLES_USE_DIRECTX_8
|
---|
100 | #define CEGUI_SAMPLES_USE_DIRECTX_9
|
---|
101 |
|
---|
102 | //////////////////////////////////////////////////////////////////////////
|
---|
103 | // It is expected by now you are running a recent PSDK and not one that is
|
---|
104 | // seven years old. If you wish to try your luck, comment this line!
|
---|
105 | //////////////////////////////////////////////////////////////////////////
|
---|
106 | #define _STLP_NEW_PLATFORM_SDK
|
---|
107 |
|
---|
108 | #endif // defined(_MSC_VER)
|
---|
109 |
|
---|
110 | #endif // end of guard _CEGUIConfig_h_
|
---|