Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/trunk/src/network/GamestateHandler.cc @ 2850

Last change on this file since 2850 was 2773, checked in by rgrieder, 16 years ago

Removed all enet and boost includes from header files in the network library.

  • Reduces dependencies
  • Minimises problems with windows.h
  • Speeds up the compiling process a little bit (probably negligible)
  • Also removes ugly WIN32_LEAN_AND_MEAN declarations before every enet.h include in the network library.

Removed windows.h header from util/Sleep.h by adding Sleep.cc

  • Property svn:eol-style set to native
File size: 317 bytes
RevLine 
[2773]1#include <cassert>
[1706]2
3#include "GamestateHandler.h"
4#include "packet/Packet.h"
5
[2171]6namespace orxonox {
[1706]7
8GamestateHandler *GamestateHandler::instance_=0;
9 
10GamestateHandler::GamestateHandler()
11{
12  assert(instance_==0);
13  instance_=this;
14}
15
16
17GamestateHandler::~GamestateHandler()
18{
19  instance_=0;
20}
21
22
23
[2171]24}//namespace orxonox
Note: See TracBrowser for help on using the repository browser.