Changeset 1014 for code/branches/network/src
- Timestamp:
- Apr 10, 2008, 2:50:12 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/network/src/network/GameStateManager.cc
r1013 r1014 245 245 GameStateCompressed *GameStateManager::compress_(GameState *a) { 246 246 COUT(5) << "G.St.Man: compressing gamestate" << std::endl; 247 COUT(4) << "G.St.Man: a: id: " << a->id << " base_id: " << a->base_id << " size: " << a->size << " diffed: " << a->diffed << std::endl; 247 248 int size = a->size; 248 249 uLongf buffer = (uLongf)((a->size + 12)*1.01)+1; … … 273 274 compressedGamestate->base_id = a->base_id; 274 275 COUT(5) << "G.St.Man: saved compressed data in GameStateCompressed:" << std::endl; 275 COUT(4) << "G.St.Man: compressedGamestate: id: " << compressedGamestate->id << " base_id: " << compressedGamestate->base_id << " normsize: " << compressedGamestate->normsize << " compsize: " << compressedGamestate->compsize << " diffed: " << compressedGamestate->diffed << std::endl;276 276 return compressedGamestate; 277 277 }
Note: See TracChangeset
for help on using the changeset viewer.