Changeset 1638 for code/branches/gui/src/network
- Timestamp:
- Jul 20, 2008, 7:49:26 PM (16 years ago)
- Location:
- code/branches/gui
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/gui
-
Property
svn:mergeinfo
set to
/code/branches/input merged eligible
-
Property
svn:mergeinfo
set to
-
code/branches/gui/src/network/Client.cc
r1534 r1638 227 227 void Client::processClassid(classid *clid){ 228 228 orxonox::Identifier *id; 229 id= ID(std::string(clid->message));229 id=GetIdentifier(std::string(clid->message)); 230 230 if(id!=NULL) 231 231 id->setNetworkID(clid->clid); 232 232 COUT(4) << "Client: received and set network id: " << clid->clid << "; classname: " << clid->message << std::endl; 233 COUT(4) << "id(classid)->getName " << ID((unsigned int)clid->clid)->getName() << std::endl;233 COUT(4) << "id(classid)->getName " << GetIdentifier((unsigned int)clid->clid)->getName() << std::endl; 234 234 delete clid; 235 235 return; -
code/branches/gui/src/network/ClientConnection.cc
r1534 r1638 42 42 #include <iostream> 43 43 // boost.thread library for multithreading support 44 #include <boost/thread/thread.hpp> 44 45 #include <boost/bind.hpp> 45 46 -
code/branches/gui/src/network/ClientConnection.h
r1534 r1638 45 45 #include <string> 46 46 #include <enet/enet.h> 47 #include <boost/thread/thread.hpp> 47 #include <boost/thread/recursive_mutex.hpp> 48 #include "PacketBuffer.h" 48 49 49 #include "PacketBuffer.h" 50 namespace boost { class thread; } 50 51 51 52 namespace network -
code/branches/gui/src/network/ConnectionManager.cc
r1534 r1638 40 40 #include <iostream> 41 41 // boost.thread library for multithreading support 42 #include <boost/thread/thread.hpp> 42 43 #include <boost/bind.hpp> 43 44 -
code/branches/gui/src/network/ConnectionManager.h
r1505 r1638 47 47 // enet library for networking support 48 48 #include <enet/enet.h> 49 #include <boost/thread/thread.hpp>50 49 #include <boost/thread/recursive_mutex.hpp> 51 50 52 51 #include "PacketBuffer.h" 53 52 #include "PacketManager.h" 53 54 namespace boost { class thread; } 54 55 55 56 namespace std -
code/branches/gui/src/network/GameStateClient.cc
r1625 r1638 177 177 ///sigsegv may happen here again for some reason 178 178 ///sigsegv is receved after the COUT(4) above 179 orxonox::Identifier* id = ID((unsigned int)sync.classID);179 orxonox::Identifier* id = GetIdentifier((unsigned int)sync.classID); 180 180 if(!id){ 181 181 COUT(3) << "We could not identify a new object; classid: " << sync.classID << " uint: " << (unsigned int)sync.classID << " objectID: " << sync.objectID << " size: " << sync.length << std::endl; -
code/branches/gui/src/network/GameStateManager.cc
r1534 r1638 44 44 #include <iostream> 45 45 #include <zlib.h> 46 #include < assert.h>46 #include <cassert> 47 47 48 48 #include "core/CoreIncludes.h" … … 278 278 COUT(4) << "loadsnapshot: creating new object " << std::endl; 279 279 //COUT(4) << "loadSnapshot:\tclassid: " << sync.classID << ", name: " << ID((unsigned int) sync.classID)->getName() << std::endl; 280 orxonox::Identifier* id = ID((unsigned int)sync.classID);280 orxonox::Identifier* id = GetIdentifier((unsigned int)sync.classID); 281 281 if(!id){ 282 282 COUT(4) << "We could not identify a new object; classid: " << sync.classID << std::endl; -
code/branches/gui/src/network/Server.cc
r1556 r1638 42 42 43 43 #include <iostream> 44 #include <cassert> 44 45 45 46 … … 370 371 if(!client) 371 372 return false; 372 orxonox::Identifier* id = ID("SpaceShip");373 orxonox::Identifier* id = GetIdentifier("SpaceShip"); 373 374 if(!id){ 374 375 COUT(4) << "We could not create the SpaceShip for client: " << client->getID() << std::endl;
Note: See TracChangeset
for help on using the changeset viewer.