Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3194


Ignore:
Timestamp:
Jun 19, 2009, 2:19:27 PM (15 years ago)
Author:
rgrieder
Message:

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

Location:
code/branches/pch/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/pch/src/network/NetworkPrecompiledHeaders.h

    r3190 r3194  
    5353
    5454// Too larg PCH file if you include this and only 10% faster
    55 #include <boost/thread/recursive_mutex.hpp>
     55//#include <boost/thread/recursive_mutex.hpp>
    5656
    5757#include "util/CRC32.h"
  • code/branches/pch/src/orxonox/OrxonoxPrecompiledHeaders.h

    r3118 r3194  
    3333*/
    3434
    35 // including std headers here is useless since they're already precompiled
     35#include "OrxonoxPrereqs.h"
    3636
    37 #ifndef WIN32_LEAN_AND_MEAN
    38 // prevent Ogre from including winsock.h that messes with winsock2.h from enet
    39 #  define WIN32_LEAN_AND_MEAN
     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
    4066#endif
    41 #ifndef NOMINMAX
    42 #  define NOMINMAX // required to stop windows.h screwing up std::min definition
    43 #endif
    44 #include <Ogre.h>
    45 #include <boost/thread/recursive_mutex.hpp>
    46 #include <boost/static_assert.hpp>
    47 #include <boost/filesystem.hpp>
    4867
    49 #include "BulletCollision/CollisionShapes/btCollisionShape.h"
    50 #include "BulletDynamics/Dynamics/btRigidBody.h"
    51 #include "tinyxml/ticpp.h"
    52 #include "tolua/tolua++.h"
     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
    5377
    5478//--------- Orxonox files --------
    5579//--------------------------------
    5680
    57 #include "util/Convert.h"
     81//#include "util/Convert.h" // 24
    5882#include "util/Debug.h"
    5983#include "util/Exception.h"
    6084#include "util/Math.h"
    61 #include "util/MathConvert.h"
    62 #include "util/MultiType.h"
    63 #include "util/Sleep.h"
     85#include "util/OgreForwardRefs.h"
     86#include "util/OrxAssert.h"
    6487#include "util/String.h"
    6588#include "util/SubString.h"
    6689
    6790#include "core/BaseObject.h"
    68 #include "core/ClassTreeMask.h"
    69 #include "core/Clock.h"
    70 #include "core/ConsoleCommand.h"
     91//#include "core/ConfigValueIncludes.h" // 19
     92//#include "core/ConsoleCommand.h" // 15
     93#include "core/Core.h"
    7194#include "core/CoreIncludes.h"
    72 #include "core/ConfigValueIncludes.h"
    73 #include "core/CommandExecutor.h"
    74 #include "core/CommandLine.h"
    75 #include "core/Core.h"
    76 #include "core/EventIncludes.h"
    77 #include "core/Executor.h"
    78 #include "core/Game.h"
    7995#include "core/GameMode.h"
    80 #include "core/GameState.h"
    81 #include "core/ObjectList.h"
    82 #include "core/Super.h"
    83 #include "core/Template.h"
    84 #include "core/XMLFile.h"
    85 #include "core/XMLIncludes.h"
    8696#include "core/XMLPort.h"
    87 #include "core/input/SimpleInputState.h"
    88 #include "core/input/InputManager.h"
    8997
    9098#include "network/synchronisable/Synchronisable.h"
    91 #include "network/ClientInformation.h"
     99//#include "network/ClientInformation.h" // 26
     100//#include "network/ClientConnectionListener.h" // 24
Note: See TracChangeset for help on using the changeset viewer.