Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/trunk/src/orxonox/pch/havepch/OrxonoxStableHeaders.h @ 3034

Last change on this file since 3034 was 2797, checked in by landauf, 16 years ago

Added some #ifndef's around #define NOMINMAX and #define FORCEINLINE to avoid "symbol redefined" compiler-warnings.

Reto, I hope this doesn't cause any troubles. If it does, I suggest using "#undef symbolname" instead of "#ifndef symbolname". This should then work basically as before, but without warnings.

  • Property svn:eol-style set to native
File size: 2.8 KB
Line 
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#ifndef NOMINMAX
48#  define NOMINMAX // required to stop windows.h screwing up std::min definition
49#endif
50#include <Ogre.h>
51#include <CEGUI.h>
52#include <boost/thread/recursive_mutex.hpp>
53//#include <boost/thread/mutex.hpp>
54//#include <boost/thread/condition.hpp>
55//#include <boost/thread/thread.hpp>
56#include <boost/static_assert.hpp>
57
58#include <BulletDynamics/Dynamics/btRigidBody.h>
59#include <ois/OIS.h>
60#include <tinyxml/ticpp.h>
61#include <tolua++.h>
62
63//----------- Our files ----------
64//--------------------------------
65//// only include when not debugging so that we may find issues with missing headers quicker
66//#if defined(NDEBUG)
67
68#include "util/Convert.h"
69#include "util/Debug.h"
70#include "util/Exception.h"
71#include "util/Math.h"
72#include "util/Multitype.h"
73#include "util/Sleep.h"
74#include "util/String.h"
75#include "util/SubString.h"
76
77#include "core/BaseObject.h"
78#include "core/ConsoleCommand.h"
79#include "core/CoreIncludes.h"
80#include "core/ConfigValueIncludes.h"
81#include "core/CommandExecutor.h"
82#include "core/Core.h"
83#include "core/Executor.h"
84#include "core/ObjectList.h"
85#include "core/Super.h"
86#include "core/XMLIncludes.h"
87#include "core/XMLPort.h"
88#include "core/input/SimpleInputState.h"
89#include "core/input/InputManager.h"
90
91#include "network/synchronisable/Synchronisable.h"
92
93//#include "Settings.h"
94
95//#endif /* ifdef NDEBUG */
96
97#endif /* defined(ORXONOX_ENABLE_PCH) */
98
99#endif /* _OrxonoxStableHeaders_H__ */
Note: See TracBrowser for help on using the repository browser.