Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Feb 13, 2009, 6:41:08 PM (16 years ago)
Author:
scheusso
Message:

finally got rid of these structs in our network datastream
this means we should now be able to play with gcc and msvc compiled versions together

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/presentation/src/network/GamestateClient.cc

    r2485 r2655  
    7777    int id = GAMESTATEID_INITIAL;
    7878    packet::Gamestate *processed = processGamestate(tempGamestate_);
    79 //    assert(processed);
     79    assert(processed);
    8080   
    8181    //now call the queued callbacks
     
    8383   
    8484    if (!processed){
    85       sendAck(0);
     85//      sendAck(0);
    8686      return false;
    8787    }
     
    9191    last_diff_ = processed->getID();
    9292    id = processed->getID();
    93     sendAck(id);
     93//     sendAck(id);
    9494    return true;
    9595  }
     
    160160      packet::Gamestate *base = gamestateMap_[gs->getBaseID()];
    161161      if(!base){
     162COUT(0) << "could not find base gamestate id: " << gs->getBaseID() << endl;
    162163        delete gs;
    163164        return 0;
     
    172173      return gs;
    173174    else
     175COUT(0) << "could not spread gamestate" << endl;
    174176      return NULL;
    175177  }
Note: See TracChangeset for help on using the changeset viewer.