Changeset 7749 in orxonox.OLD for branches/network/src
- Timestamp:
- May 21, 2006, 11:57:44 AM (19 years ago)
- Location:
- branches/network/src
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/network/src/lib/network/network_log.cc
r7748 r7749 207 207 if ( SDLNet_TCP_Send( *it, buf, strlen( buf) ) < strlen( buf ) ) 208 208 { 209 SDLNet_TCP_Close( *it ); 209 210 std::list<TCPsocket>::iterator delIt = it; 210 211 it++; -
branches/network/src/lib/network/network_manager.cc
r7680 r7749 28 28 #include "shared_network_data.h" 29 29 #include "network_stream.h" 30 #include "preferences.h" 31 #include "network_log.h" 30 32 31 33 … … 53 55 this->sharedNetworkData = SharedNetworkData::getInstance(); 54 56 this->elapsedTime = 0.0f; 57 58 59 int port = Preferences::getInstance()->getInt( "network", "telnetport", 0 ); 60 61 if ( port > 0 ) 62 NetworkLog::getInstance()->listen( port ); 55 63 56 64 PRINTF(0)("NetworkManager created\n"); … … 73 81 this->netStreamList = ClassList::getList(CL_SYNCHRONIZEABLE); 74 82 PRINTF(0)("NetworkManager initzalized\n"); 83 75 84 } 76 85 -
branches/network/src/lib/network/synchronizeable.cc
r7731 r7749 326 326 void Synchronizeable::registerVar( SynchronizeableVar * var ) 327 327 { 328 PRINTF(0)("ADDING var: %s (%s)\n", var->getName().c_str(), this->getName() );329 328 syncVarList.push_back( var ); 330 329 } … … 338 337 int Synchronizeable::registerVarId( SynchronizeableVar * var ) 339 338 { 340 PRINTF(0)("ADDING var: %s (%s)\n", var->getName().c_str(), this->getName() );341 339 syncVarList.push_back( var ); 342 340 var->setWatched( true ); -
branches/network/src/orxonox.cc
r7374 r7749 84 84 REGISTER_ARG_ARG( _, music_volume, "audio", "Music-Volume", "Sets music volume", "vol" ); 85 85 REGISTER_ARG_ARG( _, effects_volume, "audio", "Effects-Volume", "Sets effects volume", "vol" ); 86 87 REGISTER_ARG_ARG( t, telnetport, "network","telnetport", "Port to use for network debug output", "port" ); 86 88 87 89 /**
Note: See TracChangeset
for help on using the changeset viewer.