Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 17, 2007, 12:09:13 PM (17 years ago)
Author:
scheusso
Message:

added capability for presentation mode

File:
1 edited

Legend:

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

    r514 r568  
    9090
    9191  GameState *retval=new GameState; //return value
    92   retval->id=id;
     92  retval->id=id++;
    9393  // reserve a little memory and increase it later on
    9494  retval->data = (unsigned char*)malloc(1);
     
    100100    //get size of the synchronisable
    101101    tempsize=it->getSize();
     102    COUT(2) << "size of synchronisable: " << tempsize << std::endl;
    102103    // add place for data and 3 ints (length,classid,objectid)
    103104    totalsize+=tempsize+3*sizeof(int);
Note: See TracChangeset for help on using the changeset viewer.