Changeset 2111 for code/branches/objecthierarchy/src/network
- Timestamp:
- Nov 2, 2008, 12:38:26 PM (16 years ago)
- Location:
- code/branches/objecthierarchy/src/network
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/objecthierarchy/src/network/ClientConnection.cc
r2070 r2111 72 72 bool ClientConnection::waitEstablished(int milisec) { 73 73 for(int i=0; i<=milisec && !established; i++) 74 msleep(1);74 orxonox::msleep(1); 75 75 76 76 return established; … … 184 184 case ENET_EVENT_TYPE_NONE: 185 185 //receiverThread_->yield(); 186 msleep(1);186 orxonox::msleep(1); 187 187 break; 188 188 } -
code/branches/objecthierarchy/src/network/ConnectionManager.cc
r2070 r2111 227 227 case ENET_EVENT_TYPE_NONE: 228 228 //receiverThread_->yield(); 229 msleep(1);229 orxonox::msleep(1); 230 230 break; 231 231 } -
code/branches/objecthierarchy/src/network/packet/Gamestate.cc
r2070 r2111 244 244 //copy and modify header 245 245 #ifndef NDEBUG 246 HEADER->crc32 = calcCRC(data_+sizeof(GamestateHeader), HEADER->datasize);246 HEADER->crc32 = orxonox::calcCRC(data_+sizeof(GamestateHeader), HEADER->datasize); 247 247 #endif 248 248 *GAMESTATE_HEADER(ndata) = *HEADER; … … 281 281 } 282 282 #ifndef NDEBUG 283 assert(HEADER->crc32== calcCRC(ndata+sizeof(GamestateHeader), HEADER->datasize));283 assert(HEADER->crc32==orxonox::calcCRC(ndata+sizeof(GamestateHeader), HEADER->datasize)); 284 284 #endif 285 285
Note: See TracChangeset
for help on using the changeset viewer.