00001 /* 00002 ----------------------------------------------------------------------------- 00003 This source file is part of OGRE 00004 (Object-oriented Graphics Rendering Engine) 00005 For the latest info, see http://www.ogre3d.org/ 00006 00007 Copyright (c) 2000-2006 Torus Knot Software Ltd 00008 Also see acknowledgements in Readme.html 00009 00010 This program is free software; you can redistribute it and/or modify it under 00011 the terms of the GNU Lesser General Public License as published by the Free Software 00012 Foundation; either version 2 of the License, or (at your option) any later 00013 version. 00014 00015 This program is distributed in the hope that it will be useful, but WITHOUT 00016 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 00017 FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. 00018 00019 You should have received a copy of the GNU Lesser General Public License along with 00020 this program; if not, write to the Free Software Foundation, Inc., 59 Temple 00021 Place - Suite 330, Boston, MA 02111-1307, USA, or go to 00022 http://www.gnu.org/copyleft/lesser.txt. 00023 00024 You may alternatively use this source under the terms of a specific version of 00025 the OGRE Unrestricted License provided you have obtained such a license from 00026 Torus Knot Software Ltd. 00027 ----------------------------------------------------------------------------- 00028 */ 00029 #ifndef __Config_H_ 00030 #define __Config_H_ 00031 00032 // Read configuration options; some systems use an auto-generated config.h, 00033 // other use a manually generated config.h; in any case just define 00034 // HAVE_CONFIG_H to include the custom config.h file. 00035 #ifdef HAVE_CONFIG_H 00036 #include "config.h" 00037 #endif 00038 00041 #define OGRE_PROFILING 0 00042 00048 #define OGRE_ASSERT_MODE 0 00049 00053 #define OGRE_PRETEND_TEXTURE_UNITS 0 00054 00060 #ifndef OGRE_DOUBLE_PRECISION 00061 #define OGRE_DOUBLE_PRECISION 0 00062 #endif 00063 00066 #define OGRE_MAX_TEXTURE_COORD_SETS 6 00067 00070 #define OGRE_MAX_TEXTURE_LAYERS 16 00071 00074 #define OGRE_MAX_SIMULTANEOUS_LIGHTS 8 00075 00078 #define OGRE_MAX_BLEND_WEIGHTS 4 00079 00082 //#define OGRE_STATIC_LIB 00083 00084 00085 // define the memory allocator configuration to use 00086 #define OGRE_MEMORY_ALLOCATOR_STD 1 00087 #define OGRE_MEMORY_ALLOCATOR_NED 2 // you need to have nedmalloc on your path for this 00088 #define OGRE_MEMORY_ALLOCATOR_USER 3 00089 00090 #define OGRE_MEMORY_ALLOCATOR OGRE_MEMORY_ALLOCATOR_STD 00091 00092 // enable or disable the memory tracker, recording the memory allocations & tracking leaks 00093 // default is to disable since it's expensive, but you can enable if needed per build target 00094 00095 #ifndef OGRE_MEMORY_TRACKER_DEBUG_MODE 00096 # define OGRE_MEMORY_TRACKER_DEBUG_MODE 0 00097 #endif 00098 00099 #ifndef OGRE_MEMORY_TRACKER_RELEASE_MODE 00100 # define OGRE_MEMORY_TRACKER_RELEASE_MODE 0 00101 #endif 00102 00104 #define OGRE_MAX_MULTIPLE_RENDER_TARGETS 8 00105 00125 #ifndef OGRE_THREAD_SUPPORT 00126 #define OGRE_THREAD_SUPPORT 0 00127 #endif 00128 #if OGRE_THREAD_SUPPORT != 0 && OGRE_THREAD_SUPPORT != 1 && OGRE_THREAD_SUPPORT != 2 00129 #define OGRE_THREAD_SUPPORT 1 00130 #endif 00131 00135 #ifndef OGRE_NO_FREEIMAGE 00136 #define OGRE_NO_FREEIMAGE 0 00137 #endif 00138 00143 #ifndef OGRE_NO_DEVIL 00144 #define OGRE_NO_DEVIL 1 00145 #endif 00146 00150 #ifndef OGRE_NO_DDS_CODEC 00151 #define OGRE_NO_DDS_CODEC 0 00152 #endif 00153 00156 #ifndef OGRE_USE_NEW_COMPILERS 00157 #define OGRE_USE_NEW_COMPILERS 1 00158 #endif 00159 00160 #endif
Copyright © 2008 Torus Knot Software Ltd
This work is licensed under a Creative Commons Attribution-ShareAlike 2.5 License.
Last modified Tue Nov 4 11:02:27 2008