Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Sep 20, 2009, 12:10:34 AM (15 years ago)
Author:
rgrieder
Message:

Sorted out header file finding issues and updated/added precompiled header files.
PCH is not activated per default for the pong projects (only 7 files).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/orxonox/OrxonoxPrecompiledHeaders.h

    r3370 r5749  
    3030@file
    3131@brief
    32     Compilation of the most often used header files in the orxonox executable
     32    Compilation of the most often used header files in the orxonox library
     33@details
     34    Updated: 13. September 2009
     35    Total Files: 88
    3336*/
    3437
    3538#include "OrxonoxConfig.h"
    3639
    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>
     40///////////////////////////////////////////
     41/////          Stable Headers         /////
     42///////////////////////////////////////////
    4843
    49 // Prevent headers from including winsock.h that messes with winsock2.h from ENet
    50 #define WIN32_LEAN_AND_MEAN
     44#include <cassert>  // 87
     45#include <cstring>  // 87
     46#include <fstream>  // 87
     47#include <iostream> // 87
     48#include <map>      // 87
     49#include <set>      // 87
     50#include <sstream>  // 87
     51#include <string>   // 87
     52#include <vector>   // 87
     53#include <list>     // 86
     54#include <ctime>    // 82
     55#include <cmath>    // 81
     56#include <deque>    // 81
     57#include <queue>    // 81
    5158
     59#include <OgreMath.h>        // 81
     60#include <OgreVector2.h>     // 81
     61#include <OgreVector3.h>     // 81
     62#include <OgreVector4.h>     // 81
     63#include <OgreQuaternion.h>  // 81
     64#include <OgreColourValue.h> // 81
    5265
    53 #ifdef ORXONOX_COMPILER_MSVC
     66#include "util/OgreForwardRefs.h"     // 67
     67#include <LinearMath/btMotionState.h> // 60
     68#include "util/SubString.h" // 55
     69#include <tinyxml/ticpp.h>  // 41
    5470
    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
     71//#include <OgreRenderable.h> // 14, 5.1MB
     72//#include <OgreSceneNode.h>  // 13, 1MB
     73//#include <OgreResourceGroupManager.h> // 12, 1.5MB
     74//#include <OgreTexture.h>       // 11, 0.6MB
     75//#include <OgreMovableObject.h> // 10, 1.6MB
     76//#include <OgreSceneManager.h>  // 9, 8.7MB
    6677
    67 #endif
     78///////////////////////////////////////////
     79/////       All Rebuild Headers       /////
     80///////////////////////////////////////////
    6881
     82#include "core/BaseObject.h"   // 82
     83#include "core/CoreIncludes.h" // 80
    6984
    70 //#include <boost/preprocessor/cat.hpp> // 15
    71 //#include <boost/shared_ptr.hpp> // 13
    72 #include <LinearMath/btMotionState.h>
    73 #include <tinyxml/ticpp.h>
     85///////////////////////////////////////////
     86/////      Not so Stable Headers      /////
     87///////////////////////////////////////////
     88
     89#include "network/synchronisable/Synchronisable.h" // 70
     90#include "util/MultiType.h"    // 65
     91#include "core/Executor.h"     // 55
     92//#include "core/XMLPort.h"     // 41
     93
    7494
    7595// Just in case some header included windows.h
    7696#undef min
    7797#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
Note: See TracChangeset for help on using the changeset viewer.