Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Sep 9, 2008, 4:31:34 PM (16 years ago)
Author:
scheusso
Message:

merged network branch back into trunk

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/network/Host.h

    r1740 r1751  
    5454    virtual ~Host();
    5555    static Host *instance_;
     56    bool isServer_;     
    5657
    5758  public:
     
    6465    static void setClientID(unsigned int id){ instance_->clientID_ = id; }
    6566    static void setShipID(unsigned int id){ instance_->shipID_ = id; }
     67    static bool isServer(){ return instance_->isServer_; }             
    6668  private:
    6769    unsigned int clientID_;
Note: See TracChangeset for help on using the changeset viewer.