Changeset 568 for code/branches/FICN/src/network
- Timestamp:
- Dec 17, 2007, 12:09:13 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/FICN/src/network/GameStateManager.cc
r514 r568 90 90 91 91 GameState *retval=new GameState; //return value 92 retval->id=id ;92 retval->id=id++; 93 93 // reserve a little memory and increase it later on 94 94 retval->data = (unsigned char*)malloc(1); … … 100 100 //get size of the synchronisable 101 101 tempsize=it->getSize(); 102 COUT(2) << "size of synchronisable: " << tempsize << std::endl; 102 103 // add place for data and 3 ints (length,classid,objectid) 103 104 totalsize+=tempsize+3*sizeof(int);
Note: See TracChangeset
for help on using the changeset viewer.