Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Oct 14, 2008, 12:20:14 AM (16 years ago)
Author:
landauf
Message:

removed WorldEntity, SpaceShip and several other objects
removed SpaceShip-related hacks in network and other places

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/objecthierarchy/src/network/Server.h

    r1907 r1916  
    5252{
    5353  const int CLIENTID_SERVER = 0;
    54  
     54
    5555  /**
    5656  * This class is the root class of the network module for a server.
     
    6464    Server(int port, const char *bindAddress);
    6565    ~Server();
    66    
     66
    6767    void open();
    6868    void close();
     
    7777    unsigned int shipID(){return 0;}
    7878    unsigned int playerID(){return 0;}
    79    
     79
    8080    bool addClient(ENetEvent *event);
    8181    bool createClient(int clientID);
    82     bool createShip(ClientInformation *client);
    8382    bool disconnectClient(ENetEvent *event);
    8483    void disconnectClient(int clientID);
     
    8887    bool sendObjectDeletes();
    8988    virtual bool chat(std::string message);
    90    
     89
    9190    //void processChat( chat *data, int clientId);
    9291    ConnectionManager *connection;
    9392    GamestateManager *gamestates_;
    9493
    95    
     94
    9695    float timeSinceLastUpdate_;
    9796  };
Note: See TracChangeset for help on using the changeset viewer.