Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 5, 2007, 4:40:46 PM (18 years ago)
Author:
scheusso
Message:

corrected errors

File:
1 edited

Legend:

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

    r401 r405  
    7373   */
    7474  bool Client::sendMouse(double x, double y){
    75     ENetEvent event;
    7675    // generate packet and add it to the queue
    7776    if(!client_connection.addPacket(pck_gen.mousem(x, y)))
     
    8786   */
    8887  bool Client::sendKeyboard(char key_code){
    89     ENetEvent event;
    9088    // generate packet and add it to queue
    9189    if(!client_connection.addPacket(pck_gen.keystrike(key_code)))
     
    115113   */
    116114  bool Client::addKeyboard(char key_code){
    117     ENetEvent event;
    118115    // generate packet and add it to queue
    119116    if(client_connection.addPacket(pck_gen.keystrike(key_code)))
     
    149146  }
    150147 
    151   void Client::processGamestate( GameState *data){
     148  void Client::processGamestate( GameStateCompressed *data){
    152149    gamestate.loadSnapshot( *data );
    153150    return;
Note: See TracChangeset for help on using the changeset viewer.