Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Sep 8, 2008, 2:48:48 AM (17 years ago)
Author:
landauf
Message:

removed 3 warnings:

  • Host.cc was twice in CMakeLists.txt
  • virtual destructors for Host and GamestateHandler
  • returning false instead of NULL in Gamestate.cc
File:
1 edited

Legend:

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

    r1735 r1740  
    7070    GamestateManager();
    7171    ~GamestateManager();
    72    
     72
    7373    bool add(packet::Gamestate *gs, int clientID);
    7474    bool processGamestates();
     
    7777
    7878    bool getSnapshot();
    79    
     79
    8080    bool ack(int gamestateID, int clientID);
    8181    void removeClient(ClientInformation *client);
     
    8383    void cleanup(); // "garbage handler"
    8484    bool processGamestate(packet::Gamestate *gs);
    85    
     85
    8686    std::map<int, packet::Gamestate*> gamestateMap; //map gsID to gamestate*
    8787    std::map<int, int> gamestateUsed; // save the number of clients, that use the specific gamestate
Note: See TracChangeset for help on using the changeset viewer.