Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: downloads/OgreMain/include/OgreConfig.h @ 5

Last change on this file since 5 was 5, checked in by anonymous, 17 years ago

=hoffentlich gehts jetzt

File size: 4.5 KB
RevLine 
[5]1/*
2-----------------------------------------------------------------------------
3This source file is part of OGRE
4(Object-oriented Graphics Rendering Engine)
5For the latest info, see http://www.ogre3d.org/
6
7Copyright (c) 2000-2006 Torus Knot Software Ltd
8Also see acknowledgements in Readme.html
9
10This program is free software; you can redistribute it and/or modify it under
11the terms of the GNU Lesser General Public License as published by the Free Software
12Foundation; either version 2 of the License, or (at your option) any later
13version.
14
15This program is distributed in the hope that it will be useful, but WITHOUT
16ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
17FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
18
19You should have received a copy of the GNU Lesser General Public License along with
20this program; if not, write to the Free Software Foundation, Inc., 59 Temple
21Place - Suite 330, Boston, MA 02111-1307, USA, or go to
22http://www.gnu.org/copyleft/lesser.txt.
23
24You may alternatively use this source under the terms of a specific version of
25the OGRE Unrestricted License provided you have obtained such a license from
26Torus Knot Software Ltd.
27-----------------------------------------------------------------------------
28*/
29#ifndef __Config_H_
30#define __Config_H_
31
32// Read configuration options; some systems use an auto-generated config.h,
33// other use a manually generated config.h; in any case just define
34// HAVE_CONFIG_H to include the custom config.h file.
35#ifdef HAVE_CONFIG_H
36#include "config.h"
37#endif
38
39/** If set to 1, profiling code will be included in the application. When you
40        are deploying your application you will probably want to set this to 0 */
41#define OGRE_PROFILING 0
42
43/** There are three modes for handling asserts in OGRE:
440 - STANDARD - Standard asserts in debug builds, nothing in release builds
451 - RELEASE_EXCEPTIONS - Standard asserts in debug builds, exceptions in release builds
462 - EXCEPTIONS - Exceptions in debug builds, exceptions in release builds
47*/
48#define OGRE_ASSERT_MODE 0
49
50/** If set to >0, OGRE will always 'think' that the graphics card only has the
51    number of texture units specified. Very useful for testing multipass fallback.
52*/
53#define OGRE_PRETEND_TEXTURE_UNITS 0
54
55/** If set to 1, Real is typedef'ed to double. Otherwise, Real is typedef'ed
56    to float. Setting this allows you to perform mathematical operations in the
57        CPU (Quaternion, Vector3 etc) with more precision, but bear in mind that the
58        GPU still operates in single-precision mode.
59*/
60#ifndef OGRE_DOUBLE_PRECISION
61#define OGRE_DOUBLE_PRECISION 0
62#endif
63
64/** Define number of texture coordinate sets allowed per vertex.
65*/
66#define OGRE_MAX_TEXTURE_COORD_SETS 6
67
68/** Define max number of texture layers allowed per pass on any card.
69*/
70#define OGRE_MAX_TEXTURE_LAYERS 16
71
72/** Define max number of lights allowed per pass.
73*/
74#define OGRE_MAX_SIMULTANEOUS_LIGHTS 8
75
76/** Define max number of blending weights allowed per vertex.
77*/
78#define OGRE_MAX_BLEND_WEIGHTS 4
79
80/** Define this if you want to link OGRE as a static lib (preferably as a project file)
81*/
82//#define OGRE_STATIC_LIB
83
84
85/** Set this to 0 if you want to use the standard memory manager in Debug builds
86    Release builds always use the standard memory manager
87*/
88#ifndef OGRE_DEBUG_MEMORY_MANAGER
89#define OGRE_DEBUG_MEMORY_MANAGER 0
90#endif
91/** Define max number of multiple render targets (MRTs) to render to at once.
92*/
93#define OGRE_MAX_MULTIPLE_RENDER_TARGETS 8
94
95/** Indicate general support for multithreading.
96        This will enable threading support in certain parts of the
97        engine, mainly resource loading and SharedPtr handling.
98        The places where threading is available are clearly
99        marked, you should assume state is NOT thread safe unless otherwise
100        stated in relation to this flag.
101*/
102#ifndef OGRE_THREAD_SUPPORT
103#define OGRE_THREAD_SUPPORT 0
104#endif
105
106/** Disables use of the FreeImage image library for loading images.
107WARNING: Use only when you want to provide your own image loading code via codecs.
108*/
109#ifndef OGRE_NO_FREEIMAGE
110#define OGRE_NO_FREEIMAGE 0
111#endif
112
113/** Disables use of the DevIL image library for loading images.
114By default DevIL is disabled in Eihort in favour of FreeImage, but you may re-enable
115it if you choose
116*/
117#ifndef OGRE_NO_DEVIL
118#define OGRE_NO_DEVIL 1
119#endif
120
121/** Disables use of the internal image codec for loading DDS files.
122WARNING: Use only when you want to provide your own image loading code via codecs.
123*/
124#ifndef OGRE_NO_DDS_CODEC
125#define OGRE_NO_DDS_CODEC 0
126#endif
127
128#endif
Note: See TracBrowser for help on using the repository browser.