Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/toonshader/src/network/GamestateHandler.cc @ 3979

Last change on this file since 3979 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
Line 
1#include <cassert>
2
3#include "GamestateHandler.h"
4#include "packet/Packet.h"
5
6namespace orxonox {
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
24}//namespace orxonox
Note: See TracBrowser for help on using the repository browser.