Changeset 6661 in orxonox.OLD for branches/network/src/lib
- Timestamp:
- Jan 23, 2006, 3:50:35 PM (19 years ago)
- Location:
- branches/network/src/lib/network
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/network/src/lib/network/handshake.cc
r6341 r6661 34 34 this->setOwner(0); 35 35 36 this->setSynchronized(true); 36 37 PRINTF(5)("Handshake created clientId = %d\n", clientId); 37 38 } -
branches/network/src/lib/network/network_game_manager.cc
r6660 r6661 46 46 */ 47 47 NetworkGameManager::NetworkGameManager() 48 : Synchronizeable() 48 49 { 49 50 PRINTF(0)("START\n"); … … 55 56 56 57 hasRequestedWorld = false; 58 this->setSynchronized(true); 57 59 } 58 60 -
branches/network/src/lib/network/network_stream.cc
r6660 r6661 126 126 // and one for handshake to reject client maxCon+1 127 127 this->networkGameManager->setUniqueID( this->maxConnections + 2 ); 128 this->connectSynchronizeable( *(this->networkGameManager) );128 //this->connectSynchronizeable( *(this->networkGameManager) ); 129 129 this->setMaxConnections( 10 ); 130 130 } … … 199 199 this->networkGameManager = NetworkGameManager::getInstance(); 200 200 this->networkGameManager->setUniqueID( handshakes[i]->getNetworkGameManagerId() ); 201 this->connectSynchronizeable( *(this->networkGameManager) );201 //this->connectSynchronizeable( *(this->networkGameManager) ); 202 202 } 203 203 else … … 369 369 PRINTF(0)("New Client: %d\n", clientId); 370 370 371 this->connectSynchronizeable(*handshakes[clientId]);371 //this->connectSynchronizeable(*handshakes[clientId]); 372 372 } 373 373 … … 439 439 for (SynchronizeableList::iterator it = synchronizeables.begin(); it!=synchronizeables.end(); it++) 440 440 { 441 if( (*it)->beSynchronized() == true)441 //if( (*it)->beSynchronized() == true) 442 442 PRINT(0)(" Synchronizeable of class: %s::%s, with unique ID: %i, Synchronize: %i\n", (*it)->getClassName(), (*it)->getName(), 443 443 (*it)->getUniqueID(), (*it)->beSynchronized());
Note: See TracChangeset
for help on using the changeset viewer.