Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/pch/src/orxonox/OrxonoxPrecompiledHeaders.h @ 3194

Last change on this file since 3194 was 3194, checked in by rgrieder, 15 years ago

Refined precompiled header file for the orxnox executable target (again, msvc9 and mingw).
Also commented one large file in NetworkPrecompiledHeaders.h

  • 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
32    Compilation of the most often used header files in the orxonox executable
33*/
34
35#include "OrxonoxPrereqs.h"
36
37#include <deque>
38#include <fstream>
39#include <iostream>
40#include <list>
41#include <map>
42#include <set>
43#include <sstream>
44#include <stack>
45#include <string>
46#include <vector>
47
48// Prevent headers from including winsock.h that messes with winsock2.h from ENet
49#define WIN32_LEAN_AND_MEAN
50
51
52#ifdef ORXONOX_COMPILER_MSVC
53
54// Note: Numbers after the include specify the number of times included (2009-06-19)
55// The sizes in MB was just to see how much the MSVC9 PCH file increases for Ogre includes
56#include <OgreMaterial.h> // 33, 2.7MB
57#include <OgreRenderable.h> // 32, 2.6MB
58#include <OgreSingleton.h> // 28, 0.0MB
59#include <OgreSceneNode.h> // 25, 1.1MB
60#include <OgreTexture.h> // 25, 0.2MB (1.1MB)
61#include <OgreMovableObject.h> // 22, 1.3MB
62#include <OgreResourceGroupManager.h> // 21, 1.4MB
63#include <OgreTechnique.h> // 18, 1.2MB
64//#include <OgreSceneManager.h> // 16, 7.4MB
65
66#endif
67
68
69//#include <boost/preprocessor/cat.hpp> // 15
70//#include <boost/shared_ptr.hpp> // 13
71#include <LinearMath/btMotionState.h>
72#include <tinyxml/ticpp.h>
73
74// Just in case some header included windows.h
75#undef min
76#undef max
77
78//--------- Orxonox files --------
79//--------------------------------
80
81//#include "util/Convert.h" // 24
82#include "util/Debug.h"
83#include "util/Exception.h"
84#include "util/Math.h"
85#include "util/OgreForwardRefs.h"
86#include "util/OrxAssert.h"
87#include "util/String.h"
88#include "util/SubString.h"
89
90#include "core/BaseObject.h"
91//#include "core/ConfigValueIncludes.h" // 19
92//#include "core/ConsoleCommand.h" // 15
93#include "core/Core.h"
94#include "core/CoreIncludes.h"
95#include "core/GameMode.h"
96#include "core/XMLPort.h"
97
98#include "network/synchronisable/Synchronisable.h"
99//#include "network/ClientInformation.h" // 26
100//#include "network/ClientConnectionListener.h" // 24
Note: See TracBrowser for help on using the repository browser.