Changeset 2419 for code/branches/presentation
- Timestamp:
- Dec 12, 2008, 11:47:11 AM (16 years ago)
- Location:
- code/branches/presentation/src/network
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation/src/network/TrafficControl.cc
r2418 r2419 263 263 //end of sorting 264 264 //now the cutting, work the same obj out in processobjectlist and copiedlist, compression rate muss noch festgelegt werden. 265 // printList(list, clientID); 265 266 cut(list, targetSize); 266 267 -
code/branches/presentation/src/network/packet/Gamestate.cc
r2417 r2419 361 361 362 362 //copy in the zeros 363 for(it=dataMap_.begin(); it!=dataMap_.end(); it++){363 for(it=dataMap_.begin(); it!=dataMap_.end();){ 364 364 oldobjectheader = (synchronisableHeader*)origdata; 365 365 newobjectheader = (synchronisableHeader*)newdata; … … 371 371 memcpy(newdata, origdata, objectsize); 372 372 assert(newobjectheader->dataAvailable==true); 373 ++it; 373 374 }else{ 374 375 *newobjectheader = *oldobjectheader; … … 382 383 } 383 384 ((GamestateHeader*)gdata)->datasize = destsize; 385 assert(destsize==HEADER->datasize); 384 386 assert(destsize!=0); 385 387 return gs; -
code/branches/presentation/src/network/synchronisable/Synchronisable.cc
r2417 r2419 354 354 //assert( (mode ^ objectMode_) != 0); 355 355 if(syncList.empty()){ 356 assert(0); 356 357 COUT(4) << "Synchronisable::updateData syncList is empty" << std::endl; 357 358 return false; -
code/branches/presentation/src/network/synchronisable/Synchronisable.h
r2415 r2419 64 64 namespace priority{ 65 65 enum prio{ 66 very_high = - 30,66 very_high = -100, 67 67 high = -15, 68 68 normal = 0, 69 69 low = 15, 70 very_low = 3070 very_low = 100 71 71 }; 72 72 }
Note: See TracChangeset
for help on using the changeset viewer.