OGRE: OgreConfig.h Source File - OGRE Documentation

# OgreConfig.h

Go to the documentation of this file.

    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 #ifndef OGRE_MEMORY_ALLOCATOR
    00091 #  define OGRE_MEMORY_ALLOCATOR OGRE_MEMORY_ALLOCATOR_NED
    00092 #endif
    00093
    00094 // enable or disable the memory tracker, recording the memory allocations & tracking leaks
    00095 // default is to disable since it's expensive, but you can enable if needed per build target
    00096
    00097 #ifndef OGRE_MEMORY_TRACKER_DEBUG_MODE
    00098 #  define OGRE_MEMORY_TRACKER_DEBUG_MODE 0
    00099 #endif
    00100
    00101 #ifndef OGRE_MEMORY_TRACKER_RELEASE_MODE
    00102 #  define OGRE_MEMORY_TRACKER_RELEASE_MODE 0
    00103 #endif
    00104
    00106 #define OGRE_MAX_MULTIPLE_RENDER_TARGETS 8
    00107
    00127 #ifndef OGRE_THREAD_SUPPORT
    00128 #define OGRE_THREAD_SUPPORT 0
    00129 #endif
    00130 #if OGRE_THREAD_SUPPORT != 0 && OGRE_THREAD_SUPPORT != 1 && OGRE_THREAD_SUPPORT != 2
    00131 #define OGRE_THREAD_SUPPORT 1
    00132 #endif
    00133
    00137 #ifndef OGRE_NO_FREEIMAGE
    00138 #define OGRE_NO_FREEIMAGE 0
    00139 #endif
    00140
    00145 #ifndef OGRE_NO_DEVIL
    00146 #define OGRE_NO_DEVIL 1
    00147 #endif
    00148
    00152 #ifndef OGRE_NO_DDS_CODEC
    00153 #define OGRE_NO_DDS_CODEC 0
    00154 #endif
    00155
    00158 #ifndef OGRE_USE_NEW_COMPILERS
    00159 #define OGRE_USE_NEW_COMPILERS 1
    00160 #endif
    00161
    00162 #endif

Copyright © 2008 Torus Knot Software Ltd
This work is licensed under a Creative Commons Attribution-ShareAlike 2.5 License.
Last modified Sun Jul 26 11:32:17 2009