Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Sep 9, 2008, 8:28:24 PM (16 years ago)
Author:
landauf
Message:
  • removed #include "core/CoreIncludes.h" from Gamestate.h and put it into the .cc files
  • removed a warning in Client.cc
File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/network/Client.cc

    r1751 r1752  
    5050{
    5151//   SetConsoleCommandShortcut(Client, chat);
    52  
    53  
     52
     53
    5454  /**
    5555  * Constructor for the Client class
     
    9292      closeConnection();
    9393  }
    94  
     94
    9595  /**
    9696  * Establish the Connection to the Server
     
    121121    return client_connection.addPacket(packet);
    122122  }
    123  
     123
    124124  bool Client::processChat(packet::Chat *message, unsigned int clientID){
    125125    return message->process();
    126126  }
    127  
     127
    128128  /*bool Client::sendChat(packet::Chat *chat){
    129129    chat->process();
     
    131131    return p->send();
    132132  }*/
    133  
     133
    134134
    135135  /**
     
    173173    if(gameStateID==GAMESTATEID_INITIAL)
    174174      if(gameStateFailure_){
    175         packet::Acknowledgement *ack = new packet::Acknowledgement(GAMESTATEID_INITIAL, 0);
     175        packet::Acknowledgement *ack = new packet::Acknowledgement((unsigned int)GAMESTATEID_INITIAL, 0);
    176176        if(!ack->send())
    177177          COUT(3) << "could not (negatively) ack gamestate" << std::endl;
    178         else 
     178        else
    179179          COUT(4) << "negatively acked a gamestate" << std::endl;
    180180        }
Note: See TracChangeset for help on using the changeset viewer.