Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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


Ignore:
Timestamp:
Jul 20, 2006, 10:09:43 AM (18 years ago)
Author:
patrick
Message:

network stream handshake init remastering and safer proxysettings init

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

Legend:

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

    r9308 r9340  
    3434  /* set the class id for the base object */
    3535  this->setClassID(CL_PROXY_SETTINGS, "ProxySettings");
     36  // suggest a good standard max players value
     37  this->maxPlayer = 10;
    3638}
    3739
  • branches/proxy/src/lib/network/proxy/proxy_settings.h

    r9326 r9340  
    4444
    4545  private:
    46 
    47     static ProxySettings*       singletonRef;            //!< Pointer to the only instance of this Class
    48 
    49     int                         maxPlayer;               //!< maximal number of players
    50 
     46    static ProxySettings*        singletonRef;            //!< Pointer to the only instance of this Class
     47    int                          maxPlayer;               //!< maximal number of players
    5148    std::vector<IPaddress*>      proxies;                 //!< all registered proxies
    5249
Note: See TracChangeset for help on using the changeset viewer.