Changeset 3212
- Timestamp:
- Jun 23, 2009, 3:45:04 PM (16 years ago)
- Location:
- code/branches/netp5/src
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/netp5/src/core/Core.cc
r3196 r3212 47 47 # endif 48 48 # include <windows.h> 49 # undef min 50 # undef max 49 51 #elif defined(ORXONOX_PLATFORM_APPLE) 50 52 # include <sys/param.h> -
code/branches/netp5/src/core/CorePrecompiledHeaders.h
r3196 r3212 35 35 #include "CorePrereqs.h" 36 36 37 #include <cassert> 37 38 #include <fstream> 38 39 #include <iostream> 39 40 #include <list> 41 #include <locale> 40 42 #include <map> 43 #include <queue> 41 44 #include <set> 42 45 #include <sstream> 46 #include <stack> 43 47 #include <string> 44 48 #include <vector> … … 47 51 #ifdef ORXONOX_COMPILER_MSVC 48 52 49 #define WIN32_LEAN_AND_MEAN 50 #include <windows.h> 53 #include <OgreMath.h> 54 #include <OgreVector2.h> 55 #include <OgreVector3.h> 56 #include <OgreVector4.h> 57 #include <OgreQuaternion.h> 58 #include <OgreColourValue.h> 59 60 #include <boost/shared_ptr.hpp> // 12 61 #include <boost/preprocessor/cat.hpp> // 12 62 // Included by both filesystem and thread but still relatively small 63 #include <boost/iterator/iterator_facade.hpp> // 10 64 65 // Just in case some header included windows.h 66 #undef min 51 67 #undef max 52 #undef min53 54 #include <ois/OISKeyboard.h>55 #include <ois/OISMouse.h>56 #include <ois/OISJoyStick.h>57 #include <tinyxml/ticpp.h>58 // Included by both filesystem and thread but still relatively small59 #include <boost/iterator/iterator_facade.hpp>60 68 61 69 #endif /* ORXONOX_COMPILER_MSVC */ 62 70 63 71 64 #include "util/Convert.h"65 72 #include "util/Debug.h" 66 #include "util/Exception.h"67 73 #include "util/Math.h" 68 #include "util/mbool.h"69 74 #include "util/MultiType.h" 70 #include "util/OrxAssert.h"71 #include "util/OrxEnum.h"72 #include "util/String.h"73 75 #include "util/SubString.h" 74 76 -
code/branches/netp5/src/orxonox/OrxonoxPrecompiledHeaders.h
r3196 r3212 35 35 #include "OrxonoxPrereqs.h" 36 36 37 #include <cassert> 37 38 #include <deque> 38 39 #include <fstream> … … 84 85 #include "util/Math.h" 85 86 #include "util/OgreForwardRefs.h" 86 #include "util/OrxAssert.h"87 #include "util/String.h"88 87 #include "util/SubString.h" 89 88 -
code/branches/netp5/src/util/Clipboard.cc
r3196 r3212 42 42 ///////////// 43 43 44 #ifndef WIN32_LEAN_AND_MEAN 45 # define WIN32_LEAN_AND_MEAN 46 #endif 44 47 #include <windows.h> 48 #undef min 49 #undef max 45 50 #include "Debug.h" 46 51 -
code/branches/netp5/src/util/Math.h
r3196 r3212 47 47 #include <OgreColourValue.h> 48 48 49 // Certain headers might define min and max macros 50 #if defined(max) || defined(min) || defined(sgn) || defined(clamp) || defined(square) || defined(mod) 51 # error An inline math function was overridden by a macro 52 #endif 49 // Certain headers might define unwanted macros... 50 #undef max 51 #undef min 52 #undef sgn 53 #undef clamp 54 #undef sqrt 55 #undef square 56 #undef mod 57 #undef rnd 53 58 54 59 namespace orxonox -
code/branches/netp5/src/util/Sleep.cc
r3196 r3212 37 37 38 38 #ifdef ORXONOX_PLATFORM_WINDOWS 39 #ifndef WIN32_LEAN_AND_MEAN 40 # define WIN32_LEAN_AND_MEAN 41 #endif 39 42 #include <windows.h> 43 #undef min 44 #undef max 40 45 41 46 namespace orxonox
Note: See TracChangeset
for help on using the changeset viewer.