Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9254 in orxonox.OLD for branches


Ignore:
Timestamp:
Jul 12, 2006, 1:56:38 PM (18 years ago)
Author:
patrick
Message:

removing some unused variables

Location:
branches/proxy/src/lib/network
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/proxy/src/lib/network/network_stream.cc

    r9252 r9254  
    9292  this->init();
    9393  this->serverSocket = new UdpServerSocket(port);
    94   this->bActive = true;
     94//   this->bActive = true;
    9595}
    9696
     
    103103  /* set the class id for the base object */
    104104  this->setClassID(CL_NETWORK_STREAM, "NetworkStream");
    105   this->bActive = false;
     105//   this->bActive = false;
    106106  this->serverSocket = NULL;
    107107  this->networkGameManager = NULL;
     
    198198  sync.setNetworkStream( this );
    199199
    200   this->bActive = true;
     200//   this->bActive = true;
    201201}
    202202
  • branches/proxy/src/lib/network/network_stream.h

    r9252 r9254  
    5050    inline bool isProxyServer() const { return (this->type == NET_PROXY_SERVER)? true:false; }
    5151    inline bool isClient() const { return (this->type == NET_CLIENT)? true:false; }
    52     inline bool isActive() const { return this->bActive; }
     52//     inline bool isActive() const { return this->bActive; }
    5353    inline int getMaxConnections(){ return MAX_CONNECTIONS; }
    5454
     
    8787    int                        type;                        //!< the type of this host (NET_CLIENT, NET_MASTER_SERVER,...)
    8888    int                        myHostId;                    //!< the host id of the localhost
    89     bool                       bActive;                     //!< true if this host is active
     89/*    bool                       bActive;  */                   //!< true if this host is active
    9090
    9191    std::list<int>             freeSocketSlots;             //!< list of free sockets (to ensure not to resycle sockets)
Note: See TracChangeset for help on using the changeset viewer.