Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 606


Ignore:
Timestamp:
Dec 17, 2007, 11:08:50 PM (17 years ago)
Author:
dumenim
Message:

sdf

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/FICN/src/network/Server.cc

    r605 r606  
    125125  void Server::updateGamestate(){
    126126    gamestates->update();
    127     std::cout << "updated gamestate, sending it" << std::endl;
     127    //std::cout << "updated gamestate, sending it" << std::endl;
    128128    sendGameState();
    129     std::cout << "sent gamestate" << std::endl;
     129    //std::cout << "sent gamestate" << std::endl;
    130130  }
    131131 
     
    134134   */
    135135  bool Server::sendGameState(){
    136     for(ClientInformation *temp = clients; temp!=0; temp=temp->next()){
     136    /*for(ClientInformation *temp = clients->next(); temp!=0; temp=temp->next()){
    137137      connection->addPacket(packet_gen.gstate(&(gamestates->popGameState(temp->getID()))),temp->getID());
     138      std::cout << "added gamestate" << std::endl;
    138139    }
     140    return connection->sendPackets();*/
    139141    return true;
    140142  }
Note: See TracChangeset for help on using the changeset viewer.