]> git.lizzy.rs Git - irrlicht.git/blob - include/IrrCompileConfig.h
Drop _IRR_COMPILE_WITH_GUI_
[irrlicht.git] / include / IrrCompileConfig.h
1 // Copyright (C) 2002-2012 Nikolaus Gebhardt\r
2 // This file is part of the "Irrlicht Engine".\r
3 // For conditions of distribution and use, see copyright notice in irrlicht.h\r
4 \r
5 #ifndef __IRR_COMPILE_CONFIG_H_INCLUDED__\r
6 #define __IRR_COMPILE_CONFIG_H_INCLUDED__\r
7 \r
8 //! Identifies the IrrlichtMt fork customized for the Minetest engine\r
9 #define IRRLICHT_VERSION_MT_REVISION 9\r
10 #define IRRLICHT_VERSION_MT "mt9"\r
11 \r
12 //! Irrlicht SDK Version\r
13 #define IRRLICHT_VERSION_MAJOR 1\r
14 #define IRRLICHT_VERSION_MINOR 9\r
15 #define IRRLICHT_VERSION_REVISION 0\r
16 // This flag will be defined only in SVN, the official release code will have\r
17 // it undefined\r
18 #define IRRLICHT_VERSION_SVN alpha\r
19 #define IRRLICHT_SDK_VERSION "1.9.0" IRRLICHT_VERSION_MT\r
20 \r
21 #include <stdio.h> // TODO: Although included elsewhere this is required at least for mingw\r
22 \r
23 \r
24 //! Maximum number of texture an SMaterial can have, up to 8 are supported by Irrlicht.\r
25 #define _IRR_MATERIAL_MAX_TEXTURES_ 4\r
26 \r
27 #ifdef _WIN32\r
28 #define IRRCALLCONV __stdcall\r
29 #else\r
30 #define IRRCALLCONV\r
31 #endif\r
32 \r
33 #ifndef IRRLICHT_API\r
34 #define IRRLICHT_API\r
35 #endif\r
36 \r
37 \r
38 #ifdef _DEBUG\r
39         //! A few attributes are written in CSceneManager when _IRR_SCENEMANAGER_DEBUG is enabled\r
40         // NOTE: Those attributes were used always until 1.8.0 and became a global define for 1.8.1\r
41         // which is only enabled in debug because it had a large (sometimes >5%) impact on speed.\r
42         // A better solution in the long run is to break the interface and remove _all_ attribute\r
43         // access in functions like CSceneManager::drawAll and instead put that information in some\r
44         // own struct/class or in CSceneManager.\r
45         // See http://irrlicht.sourceforge.net/forum/viewtopic.php?f=2&t=48211 for the discussion.\r
46         #define _IRR_SCENEMANAGER_DEBUG\r
47         #ifdef NO_IRR_SCENEMANAGER_DEBUG\r
48                 #undef _IRR_SCENEMANAGER_DEBUG\r
49         #endif\r
50 #endif\r
51 \r
52 #endif // __IRR_COMPILE_CONFIG_H_INCLUDED__\r