Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 17, 2007, 2:39:01 PM (17 years ago)
Author:
scheusso
Message:

some small changes and debug output

Location:
code/branches/FICN/src/network
Files:
2 edited

Legend:

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

    r571 r573  
    9292  retval->id=id++;
    9393  // reserve a little memory and increase it later on
     94  COUT(2) << "mallocing" << std::endl;
    9495  retval->data = (unsigned char*)malloc(1);
     96  COUT(2) << "malloced" << std::endl;
    9597
    9698  // offset of memory functions
  • code/branches/FICN/src/network/Synchronisable.cc

    r571 r573  
    115115  int n=0;
    116116  for(i=syncList.begin(); n<datasize && i!=syncList.end(); ++i){
    117     //COUT(2) << "size of variable: " << i->size << std::endl;
     117    COUT(2) << "size of variable: " << i->size << std::endl;
    118118    //COUT(2) << "size of variable: " << i->size << std::endl;
    119119    //(std::memcpy(retVal.data+n, (const void*)(&(i->size)), sizeof(int));
Note: See TracChangeset for help on using the changeset viewer.