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