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