| 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 | 
|---|
| 31 | @brief Contains the frequently used header files of our own writing | 
|---|
| 32 | */ | 
|---|
| 33 |  | 
|---|
| 34 | #ifndef _OrxonoxStableHeaders_H__ | 
|---|
| 35 | #define _OrxonoxStableHeaders_H__ | 
|---|
| 36 |  | 
|---|
| 37 | #include "util/OrxonoxPlatform.h" | 
|---|
| 38 |  | 
|---|
| 39 | #if defined(ORXONOX_ENABLE_PCH) | 
|---|
| 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 | #include <Ogre.h> | 
|---|
| 48 | #include <CEGUI.h> | 
|---|
| 49 | #include "ois/OIS.h" | 
|---|
| 50 | #include <boost/thread/recursive_mutex.hpp> | 
|---|
| 51 | //#include <boost/thread/mutex.hpp> | 
|---|
| 52 | //#include <boost/thread/condition.hpp> | 
|---|
| 53 | //#include <boost/thread/thread.hpp> | 
|---|
| 54 | #include <boost/static_assert.hpp> | 
|---|
| 55 | #include "tinyxml/ticpp.h" | 
|---|
| 56 | #include "tinyxml/tinyxml.h" | 
|---|
| 57 | #include "tolua/tolua++.h" | 
|---|
| 58 |  | 
|---|
| 59 | //Get around Windows hackery (windows.h is included by Ogre.h) | 
|---|
| 60 | #if ORXONOX_PLATFORM == ORXONOX_PLATFORM_WIN32 | 
|---|
| 61 | #  ifdef max | 
|---|
| 62 | #    undef max | 
|---|
| 63 | #  endif | 
|---|
| 64 | #  ifdef min | 
|---|
| 65 | #    undef min | 
|---|
| 66 | #  endif | 
|---|
| 67 | #endif | 
|---|
| 68 |  | 
|---|
| 69 | //----------- Our files ---------- | 
|---|
| 70 | //-------------------------------- | 
|---|
| 71 | //// only include when not debugging so that we may find issues with missing headers quicker | 
|---|
| 72 | //#if defined(NDEBUG) | 
|---|
| 73 |  | 
|---|
| 74 | #include "util/Convert.h" | 
|---|
| 75 | #include "util/Debug.h" | 
|---|
| 76 | #include "util/Exception.h" | 
|---|
| 77 | #include "util/Math.h" | 
|---|
| 78 | #include "util/Multitype.h" | 
|---|
| 79 | #include "util/Sleep.h" | 
|---|
| 80 | #include "util/String.h" | 
|---|
| 81 | #include "util/SubString.h" | 
|---|
| 82 |  | 
|---|
| 83 | #include "core/BaseObject.h" | 
|---|
| 84 | #include "core/ConsoleCommand.h" | 
|---|
| 85 | #include "core/CoreIncludes.h" | 
|---|
| 86 | #include "core/ConfigValueIncludes.h" | 
|---|
| 87 | #include "core/CommandExecutor.h" | 
|---|
| 88 | #include "core/Core.h" | 
|---|
| 89 | #include "core/Executor.h" | 
|---|
| 90 | #include "core/ObjectList.h" | 
|---|
| 91 | #include "core/Super.h" | 
|---|
| 92 | #include "core/XMLIncludes.h" | 
|---|
| 93 | #include "core/XMLPort.h" | 
|---|
| 94 | #include "core/input/SimpleInputState.h" | 
|---|
| 95 | #include "core/input/InputManager.h" | 
|---|
| 96 |  | 
|---|
| 97 | #include "network/Synchronisable.h" | 
|---|
| 98 |  | 
|---|
| 99 | #include "Settings.h" | 
|---|
| 100 |  | 
|---|
| 101 | //#endif /* ifdef NDEBUG */ | 
|---|
| 102 |  | 
|---|
| 103 | #endif /* ORXONOX_COMPILER == ORXONOX_COMPILER_MSVC && !defined(ORXONOX_DISABLE_PCH) */ | 
|---|
| 104 |  | 
|---|
| 105 | #endif /* _OrxonoxStableHeaders_H__ */ | 
|---|