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