Changeset 5971 in orxonox.OLD
- Timestamp:
- Dec 7, 2005, 4:31:51 PM (19 years ago)
- Location:
- branches/network/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/network/src/orxonox.cc
r5968 r5971 278 278 PRINT(3)("> Initializing networking\n"); 279 279 280 NetworkManager::getInstance();281 282 280 if( this->clientName != NULL) // we are a client 283 281 NetworkManager::getInstance()->establishConnection(this->clientName, port); -
branches/network/src/story_entities/world.cc
r5968 r5971 325 325 this->spawn(dynamic_cast<WorldEntity*>(created)); 326 326 printf("Created a %s: %s\n", created->getClassName(), created->getName()); 327 NetworkManager::getInstance()->connectSynchronizeable(*(Synchronizeable*)this->localPlayer);328 327 } 329 328 … … 662 661 // Get remote input 663 662 // Update synchronizables 664 NetworkManager::getInstance()->synchronize(); 663 /* NetworkManager::getInstance()->synchronize();*/ 665 664 } 666 665
Note: See TracChangeset
for help on using the changeset viewer.