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).

Location:
code/trunk/src/libraries/network
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/libraries/network/ClientConnection.cc

    r5738 r5749  
    3030
    3131#include <cassert>
     32#define WIN32_LEAN_AND_MEAN
    3233#include <enet/enet.h>
    3334#include "util/Debug.h"
  • code/trunk/src/libraries/network/ClientInformation.cc

    r5738 r5749  
    4040
    4141#include "ClientInformation.h"
     42#define WIN32_LEAN_AND_MEAN
    4243#include <enet/enet.h>
    4344
  • code/trunk/src/libraries/network/Connection.cc

    r5738 r5749  
    3030
    3131#include <cassert>
     32#define WIN32_LEAN_AND_MEAN
    3233#include <enet/enet.h>
    3334#include "packet/Packet.h"
  • code/trunk/src/libraries/network/NetworkPrecompiledHeaders.h

    r5738 r5749  
    3131@brief
    3232    Compilation of the most often used header files in the network library
     33@details
     34    Updated: 13. September 2009
     35    Total Files: 28
    3336*/
    3437
    3538#include "OrxonoxConfig.h"
    3639
    37 #include <cassert>
    38 #include <fstream>
    39 #include <iostream>
    40 #include <list>
    41 #include <map>
    42 #include <queue>
    43 #include <set>
    44 #include <sstream>
    45 #include <string>
    46 #include <vector>
     40///////////////////////////////////////////
     41/////          Stable Headers         /////
     42///////////////////////////////////////////
    4743
     44#include <cstring>  // 26
     45#include <cassert>  // 24
     46#include <string>   // 23
     47#include <vector>   // 23
     48#include <map>      // 23
     49#include <fstream>  // 22
     50#include <iostream> // 22
     51#include <sstream>  // 22
     52#include <set>      // 20
     53
     54#include "util/Debug.h"      // 20
     55#include "util/TypeTraits.h" // 18
    4856
    4957#ifdef ORXONOX_COMPILER_MSVC
    5058
    51 #include <OgreMath.h>
    52 #include <OgreVector2.h>
    53 #include <OgreVector3.h>
    54 #include <OgreVector4.h>
    55 #include <OgreQuaternion.h>
    56 #include <OgreColourValue.h>
     59#include <deque>    // 17
     60#include <queue>    // 17
     61#include <list>     // 16
     62#include <cmath>    // 15
     63
     64#include <OgreMath.h>        // 15
     65#include <OgreVector2.h>     // 15
     66#include <OgreVector3.h>     // 15
     67#include <OgreVector4.h>     // 15
     68#include <OgreQuaternion.h>  // 15
     69#include <OgreColourValue.h> // 15
     70
     71#include "util/mbool.h" // 11
    5772
    5873#define WIN32_LEAN_AND_MEAN
    59 #include <enet/enet.h>
     74#include <enet/enet.h> // 6, 3.1MB
     75
     76#endif /*ORXONOX_COMPILER_MSVC */
     77
     78
     79// Just in case some header included windows.h
     80#undef min
    6081#undef max
    61 #undef min
    62 
    63 #include "util/Debug.h"
    64 #include "core/Identifier.h"
    65 
    66 #endif /* ORXONOX_COMPILER_MSVC */
  • code/trunk/src/libraries/network/Server.cc

    r5738 r5749  
    4141#include "Server.h"
    4242
     43#define WIN32_LEAN_AND_MEAN
    4344#include <enet/enet.h>
    4445#include <cassert>
  • code/trunk/src/libraries/network/ServerConnection.cc

    r5738 r5749  
    3131#include <cassert>
    3232#include <string>
     33#define WIN32_LEAN_AND_MEAN
    3334#include <enet/enet.h>
    3435
  • code/trunk/src/libraries/network/packet/Packet.cc

    r5738 r5749  
    3232#include <cassert>
    3333#include <cstring>
     34#define WIN32_LEAN_AND_MEAN
    3435#include <enet/enet.h>
    3536#include <boost/static_assert.hpp>
Note: See TracChangeset for help on using the changeset viewer.