Crazy Eddie's GUI System  ${CEGUI_VERSION}
CEGUISamplesConfig.h
1 /***********************************************************************
2  created: Mon Jan 10 2011
3  author: Paul D Turner <paul@cegui.org.uk>
4 *************************************************************************/
5 /***************************************************************************
6  * Copyright (C) 2004 - 2011 Paul D Turner & The CEGUI Development Team
7  *
8  * Permission is hereby granted, free of charge, to any person obtaining
9  * a copy of this software and associated documentation files (the
10  * "Software"), to deal in the Software without restriction, including
11  * without limitation the rights to use, copy, modify, merge, publish,
12  * distribute, sublicense, and/or sell copies of the Software, and to
13  * permit persons to whom the Software is furnished to do so, subject to
14  * the following conditions:
15  *
16  * The above copyright notice and this permission notice shall be
17  * included in all copies or substantial portions of the Software.
18  *
19  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
20  * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
21  * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
22  * IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
23  * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
24  * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
25  * OTHER DEALINGS IN THE SOFTWARE.
26  ***************************************************************************/
28 /*************************************************************************
29 
30 This file can be used to set certain configuration options which are used
31 when compiling the samples for Crazy Eddie's GUI System.
32 
33 Each item in here has a comment to describe what it's for.
34 
35 *************************************************************************/
37 
38 #ifndef _CEGUISamplesConfig_h_
39 #define _CEGUISamplesConfig_h_
40 
41 // Bring in main config file
42 #include "CEGUI/Config.h"
43 
44 /* #undef CEGUI_SAMPLE_DATAPATH */
45 #ifndef CEGUI_SAMPLE_DATAPATH
46 
47 // Define the default place where samples will look for datafiles
48 #if defined(_WIN32) || defined(__WIN32__)
49 # define CEGUI_SAMPLE_DATAPATH "/build/cegui-mk2-Bdrm_m/cegui-mk2-0.8.7/datafiles"
50 #else
51 # define CEGUI_SAMPLE_DATAPATH "/usr/share/cegui-0.8.7"
52 #endif
53 
54 #endif
55 
57 // Comment/Uncomment these lines to control renderer use in samples.
59 #define CEGUI_BUILD_RENDERER_OPENGL
60 #define CEGUI_BUILD_RENDERER_OPENGL3
61 /* #undef CEGUI_SAMPLES_SUPPORT_RENDERER_OPENGLES2 */
62 #define CEGUI_USE_GLFW_VER 3
63 #define CEGUI_BUILD_RENDERER_OGRE
64 #define CEGUI_BUILD_RENDERER_IRRLICHT
65 /* #undef CEGUI_OPENGL_VER_MAJOR_FORCE */
66 #define CEGUI_OPENGL_VER_MINOR_FORCE
67 /* #undef CEGUI_BUILD_RENDERER_DIRECT3D9 */
68 /* #undef CEGUI_BUILD_RENDERER_DIRECT3D10 */
69 /* #undef CEGUI_BUILD_RENDERER_DIRECT3D11 */
70 /* #undef CEGUI_BUILD_RENDERER_DIRECTFB */
71 /* #undef CEGUI_SAMPLES_USE_GTK2 */
72 
73 #define CEGUI_SAMPLES_RENDERER_OPENGL_ACTIVE
74 #define CEGUI_SAMPLES_RENDERER_OGRE_ACTIVE
75 #define CEGUI_SAMPLES_RENDERER_IRRLICHT_ACTIVE
76 /* #undef CEGUI_SAMPLES_RENDERER_DIRECT3D9_ACTIVE */
77 /* #undef CEGUI_SAMPLES_RENDERER_DIRECT3D10_ACTIVE */
78 /* #undef CEGUI_SAMPLES_RENDERER_DIRECT3D11_ACTIVE */
79 /* #undef CEGUI_SAMPLES_RENDERER_DIRECTFB_ACTIVE */
80 
81 #endif // end of guard _CEGUISamplesConfig_h_
82