Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9639 in orxonox.OLD for branches/proxy/src/lib/network/monitor


Ignore:
Timestamp:
Jul 31, 2006, 9:30:52 AM (18 years ago)
Author:
bensch
Message:

orxonox/trunk: tmuch better lookAt implementation, so that the Turrets are really aiming at the designated target.

Location:
branches/proxy/src/lib/network/monitor
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/proxy/src/lib/network/monitor/network_monitor.h

    r9625 r9639  
    8484    /* forced reconnection interface */
    8585    inline void setForcedReconnection(IP address) { this->bForcedRecon = true; this->forcedReconnection = address;}
    86     inline bool isForcedReconnection() { return this->bForcedRecon; }
     86    inline bool isForcedReconnection() const { return this->bForcedRecon; }
    8787    inline IP getForcedReconnectionIP() { this->bForcedRecon = false; return this->forcedReconnection; }
    8888
  • branches/proxy/src/lib/network/monitor/network_node.cc

    r9637 r9639  
    1818#include "debug.h"
    1919
    20 
    2120/**
    2221 * constructor
     
    365364
    366365  NetworkNode* node = NULL;
    367   std::list<NetworkNode*>::iterator it = this->masterServerList.begin();
     366  std::list<NetworkNode*>::const_iterator it = this->masterServerList.begin();
    368367
    369368  for(; it != this->masterServerList.end(); it++)
     
    413412
    414413  PRINT(0)("%s + %s, with id %i and ip: %s\n", indent, this->peerInfo->getNodeTypeString().c_str(), this->peerInfo->userId, this->peerInfo->ip.ipString().c_str());
     414
     415
     416
    415417  std::list<NetworkNode*>::const_iterator it;
    416418  if( !this->masterServerList.empty())
  • branches/proxy/src/lib/network/monitor/network_node.h

    r9637 r9639  
    1212
    1313#include <list>
    14 
    1514
    1615//!< a class representing a node in the network (this can be a MASTER_SERVER, PROXY_SERVER or a CLIENT
Note: See TracChangeset for help on using the changeset viewer.