Changeset 9537 in orxonox.OLD for branches/proxy/src/lib
- Timestamp:
- Jul 27, 2006, 11:28:45 PM (18 years ago)
- Location:
- branches/proxy/src/lib/network
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/proxy/src/lib/network/Makefile.am
r9494 r9537 27 27 \ 28 28 proxy/network_settings.cc \ 29 proxy/proxy_control.cc \ 29 30 \ 30 31 monitor/connection_monitor.cc \ … … 76 77 udp_broadcast.h \ 77 78 \ 78 proxy/network_settings.cc \ 79 proxy/network_settings.h \ 80 proxy/proxy_control.h \ 79 81 \ 80 82 monitor/connection_monitor.h \ -
branches/proxy/src/lib/network/network_game_manager.cc
r9530 r9537 97 97 NetworkGameRules & rules = *(dynamic_cast<NetworkGameRules*>(State::getGameRules())); 98 98 99 int team = rules.getTeamForNewUser();100 ClassID playableClassId = rules.getPlayableClassId( userId, team );101 std::string playableModel = rules.getPlayableModelFileName( userId, team, playableClassId );102 std::string playableTexture = rules.getPlayableModelFileName( userId, team, playableClassId );103 float playableScale = rules.getPlayableScale( userId, team, playableClassId );99 int team = rules.getTeamForNewUser(); 100 ClassID playableClassId = rules.getPlayableClassId( userId, team ); 101 std::string playableModel = rules.getPlayableModelFileName( userId, team, playableClassId ); 102 std::string playableTexture = rules.getPlayableModelFileName( userId, team, playableClassId ); 103 float playableScale = rules.getPlayableScale( userId, team, playableClassId ); 104 104 105 105 BaseObject * bo = Factory::fabricate( playableClassId ); -
branches/proxy/src/lib/network/network_stream.cc
r9534 r9537 645 645 this->networkMonitor->addNode(&it->second); 646 646 647 this->handleNewClient( it->second.userId ); 648 649 if ( PlayerStats::getStats( it->second.userId ) && it->second.handshake->getPreferedNickName() != "" ) 650 { 651 PlayerStats::getStats( it->second.userId )->setNickName( it->second.handshake->getPreferedNickName() ); 652 } 647 // work with the ProxyControl to init the new client 648 649 650 // this->handleNewClient( it->second.userId ); 651 652 // if ( PlayerStats::getStats( it->second.userId ) && it->second.handshake->getPreferedNickName() != "" ) 653 // { 654 // PlayerStats::getStats( it->second.userId )->setNickName( it->second.handshake->getPreferedNickName() ); 655 // } 653 656 } 654 657
Note: See TracChangeset
for help on using the changeset viewer.