Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9398 in orxonox.OLD for branches/proxy/src/orxonox.cc


Ignore:
Timestamp:
Jul 23, 2006, 11:43:27 PM (18 years ago)
Author:
patrick
Message:

new settings init

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/proxy/src/orxonox.cc

    r9396 r9398  
    5858
    5959#include "network_manager.h"
     60#include "shared_network_data.h"
    6061
    6162#include "state.h"
     
    308309  {
    309310    State::setOnline(true);
     311    SharedNetworkData::getInstance()->setNodeType(NET_CLIENT);
    310312    NetworkManager::getInstance()->createClient(this->serverName, port);
    311313  }
     
    313315  {    // we are a master server
    314316    State::setOnline(true);
     317    SharedNetworkData::getInstance()->setNodeType(NET_MASTER_SERVER);
     318
    315319    NetworkManager::getInstance()->createMasterServer(port);
    316320  }
     
    318322  {    // we are a proxy server
    319323    State::setOnline(true);
     324    SharedNetworkData::getInstance()->setNodeType(NET_PROXY_SERVER_ACTIVE);
    320325    NetworkManager::getInstance()->createProxyServer(port);
    321326  }
Note: See TracChangeset for help on using the changeset viewer.