Changeset 2848 for code/branches/gui/src/network
- Timestamp:
- Mar 25, 2009, 7:37:00 PM (16 years ago)
- Location:
- code/branches/gui/src/network
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/gui/src/network/ClientConnectionListener.cc
r2846 r2848 29 29 #include "ClientConnectionListener.h" 30 30 #include "core/CoreIncludes.h" 31 #include "core/ Core.h"31 #include "core/GameMode.h" 32 32 33 33 namespace orxonox{ … … 39 39 40 40 void ClientConnectionListener::getConnectedClients(){ 41 if( Core::showsGraphics())41 if(GameMode::showsGraphics()) 42 42 this->clientConnected(0); //server client id 43 43 ClientInformation *client = ClientInformation::getBegin(); -
code/branches/gui/src/network/packet/Gamestate.cc
r2773 r2848 34 34 #include "../synchronisable/Synchronisable.h" 35 35 #include "../TrafficControl.h" 36 #include "core/ Core.h"36 #include "core/GameMode.h" 37 37 #include "core/CoreIncludes.h" 38 38 #include "core/Iterator.h" … … 162 162 if(!s) 163 163 { 164 if (! Core::isMaster())164 if (!GameMode::isMaster()) 165 165 { 166 166 Synchronisable::fabricate(mem, mode); -
code/branches/gui/src/network/synchronisable/SynchronisableVariable.cc
r2798 r2848 30 30 #include <cstring> 31 31 #include "util/Math.h" 32 #include "core/ Core.h"32 #include "core/GameMode.h" 33 33 34 34 … … 41 41 if ( state_ == 0x0 ) 42 42 { 43 state_ = Core::isMaster() ? 0x1 : 0x2; // set the appropriate mode here43 state_ = GameMode::isMaster() ? 0x1 : 0x2; // set the appropriate mode here 44 44 } 45 45 }
Note: See TracChangeset
for help on using the changeset viewer.