| 1 | /* | 
|---|
| 2 |  *   ORXONOX - the hottest 3D action shooter ever to exist | 
|---|
| 3 |  * | 
|---|
| 4 |  * | 
|---|
| 5 |  *   License notice: | 
|---|
| 6 |  * | 
|---|
| 7 |  *   This program is free software; you can redistribute it and/or | 
|---|
| 8 |  *   modify it under the terms of the GNU General Public License | 
|---|
| 9 |  *   as published by the Free Software Foundation; either version 2 | 
|---|
| 10 |  *   of the License, or (at your option) any later version. | 
|---|
| 11 |  * | 
|---|
| 12 |  *   This program is distributed in the hope that it will be useful, | 
|---|
| 13 |  *   but WITHOUT ANY WARRANTY; without even the implied warranty of | 
|---|
| 14 |  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the | 
|---|
| 15 |  *   GNU General Public License for more details. | 
|---|
| 16 |  * | 
|---|
| 17 |  *   You should have received a copy of the GNU General Public License | 
|---|
| 18 |  *   along with this program; if not, write to the Free Software | 
|---|
| 19 |  *   Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA. | 
|---|
| 20 |  * | 
|---|
| 21 |  *   Author: | 
|---|
| 22 |  *      Reto Grieder | 
|---|
| 23 |  *   Co-authors: | 
|---|
| 24 |  *      ... | 
|---|
| 25 |  * | 
|---|
| 26 |  */ | 
|---|
| 27 |  | 
|---|
| 28 | /** | 
|---|
| 29 |  @file  OrxonoxStableHeaders.h | 
|---|
| 30 |  @brief Contains the bigger (or smaller) header files in order to precompile them with MSVC | 
|---|
| 31 |  */ | 
|---|
| 32 |  | 
|---|
| 33 | #ifndef _OrxonoxStableHeaders_H__ | 
|---|
| 34 | #define _OrxonoxStableHeaders_H__ | 
|---|
| 35 |  | 
|---|
| 36 | #include "OrxonoxPlatform.h" | 
|---|
| 37 |  | 
|---|
| 38 | #if ORXONOX_COMPILER == ORXONOX_COMPILER_MSVC | 
|---|
| 39 |  | 
|---|
| 40 | // including std headers here is useless since they're already precompiled | 
|---|
| 41 |  | 
|---|
| 42 | #ifndef WIN32_LEAN_AND_MEAN | 
|---|
| 43 | // prevent Ogre from including winsock.h that messes with winsock2.h from enet | 
|---|
| 44 | #  define WIN32_LEAN_AND_MEAN | 
|---|
| 45 | #endif | 
|---|
| 46 | // not including the entire Ogre.h doesn't exceed the default heap size for pch | 
|---|
| 47 | //#include <Ogre.h> | 
|---|
| 48 | #include <OgreBillboardSet.h> | 
|---|
| 49 | #include <OgreCamera.h> | 
|---|
| 50 | #include <OgreColourValue.h> | 
|---|
| 51 | #include <OgreConfigFile.h> | 
|---|
| 52 | #include <OgreEntity.h> | 
|---|
| 53 | #include <OgreException.h> | 
|---|
| 54 | #include <OgreFrameListener.h> | 
|---|
| 55 | #include <OgreLight.h> | 
|---|
| 56 | #include <OgreMath.h> | 
|---|
| 57 | #include <OgreMatrix3.h> | 
|---|
| 58 | #include <OgreOverlay.h> | 
|---|
| 59 | #include <OgreOverlayElement.h> | 
|---|
| 60 | #include <OgreOverlayManager.h> | 
|---|
| 61 | #include <OgreParticleEmitter.h> | 
|---|
| 62 | #include <OgreParticleSystem.h> | 
|---|
| 63 | #include <OgrePlatform.h> | 
|---|
| 64 | #include <OgrePrerequisites.h> | 
|---|
| 65 | #include <OgreQuaternion.h> | 
|---|
| 66 | #include <OgreResourceGroupManager.h> | 
|---|
| 67 | #include <OgreRenderWindow.h> | 
|---|
| 68 | #include <OgreRoot.h> | 
|---|
| 69 | #include <OgreSceneManager.h> | 
|---|
| 70 | #include <OgreSceneNode.h> | 
|---|
| 71 | #include <OgreStringConverter.h> | 
|---|
| 72 | #include <OgreTextureManager.h> | 
|---|
| 73 | #include <OgreTimer.h> | 
|---|
| 74 | #include <OgreVector2.h> | 
|---|
| 75 | #include <OgreVector3.h> | 
|---|
| 76 | #include <OgreVector3.h> | 
|---|
| 77 | #include <OgreViewport.h> | 
|---|
| 78 | #include <OgreWindowEventUtilities.h> | 
|---|
| 79 |  | 
|---|
| 80 | #include <OIS/OIS.h> | 
|---|
| 81 |  | 
|---|
| 82 | /** | 
|---|
| 83 | * Some of the not so stable header files. | 
|---|
| 84 | * It's not very useful to include them anyway.. | 
|---|
| 85 | **/ | 
|---|
| 86 |  | 
|---|
| 87 | #include "core/CoreIncludes.h" | 
|---|
| 88 | #include "core/BaseObject.h" | 
|---|
| 89 | #include "core/Tickable.h" | 
|---|
| 90 | #include "core/Error.h" | 
|---|
| 91 | #include "core/Loader.h" | 
|---|
| 92 | #include "core/XMLPort.h" | 
|---|
| 93 |  | 
|---|
| 94 | #include "network/Synchronisable.h" | 
|---|
| 95 | //#include "network/Server.h" | 
|---|
| 96 | //#include "network/Client.h" | 
|---|
| 97 |  | 
|---|
| 98 | #include "util/Math.h" | 
|---|
| 99 | #include "util/Convert.h" | 
|---|
| 100 | #include "util/Sleep.h" | 
|---|
| 101 | #include "util/String2Number.h" | 
|---|
| 102 | #include "util/Tokenizer.h" | 
|---|
| 103 | #include "util/Multitype.h" | 
|---|
| 104 | #include "util/MultiTypeMath.h" | 
|---|
| 105 | #include "util/MultiTypePrimitive.h" | 
|---|
| 106 | #include "util/MultiTypeString.h" | 
|---|
| 107 | #include "util/substring.h" | 
|---|
| 108 | #include "util/XMLIncludes.h" | 
|---|
| 109 |  | 
|---|
| 110 | #include "util/tinyxml/ticpp.h" | 
|---|
| 111 | #include "util/tinyxml/tinyxml.h" | 
|---|
| 112 |  | 
|---|
| 113 | #include "objects/Model.h" | 
|---|
| 114 | #include "objects/WorldEntity.h" | 
|---|
| 115 |  | 
|---|
| 116 | #endif | 
|---|
| 117 |  | 
|---|
| 118 | #endif /* _OrxonoxStableHeaders_H__ */ | 
|---|