- Timestamp:
- May 28, 2008, 10:56:49 PM (16 years ago)
- Location:
- code/branches/network/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/network/src/network/Client.cc
r1440 r1464 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 234 delete clid; 234 235 return; -
code/branches/network/src/network/GameStateClient.cc
r1446 r1464 176 176 orxonox::Identifier* id = ID((unsigned int)sync.classID); 177 177 if(!id){ 178 COUT(3) << "We could not identify a new object; classid: " << sync.classID << " objectID: " << sync.objectID << " size: " << sync.length << std::endl;178 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; 179 179 return false; // most probably the gamestate is corrupted 180 180 } -
code/branches/network/src/orxonox/objects/WorldEntity.cc
r1448 r1464 139 139 registerVar( (void*) &(this->getOrientation().z), sizeof(this->getOrientation().z), network::DATA, 0x3); 140 140 // register velocity_ 141 /*registerVar( (void*) &(this->getVelocity().x), sizeof(this->getVelocity().x), network::DATA, 0x3);141 registerVar( (void*) &(this->getVelocity().x), sizeof(this->getVelocity().x), network::DATA, 0x3); 142 142 registerVar( (void*) &(this->getVelocity().y), sizeof(this->getVelocity().y), network::DATA, 0x3); 143 143 registerVar( (void*) &(this->getVelocity().z), sizeof(this->getVelocity().z), network::DATA, 0x3); … … 146 146 registerVar( (void*) &(this->getRotationAxis().x), sizeof(this->getRotationAxis().x), network::DATA, 0x3); 147 147 registerVar( (void*) &(this->getRotationAxis().y), sizeof(this->getRotationAxis().y), network::DATA, 0x3); 148 registerVar( (void*) &(this->getRotationAxis().z), sizeof(this->getRotationAxis().z), network::DATA, 0x3); */148 registerVar( (void*) &(this->getRotationAxis().z), sizeof(this->getRotationAxis().z), network::DATA, 0x3); 149 149 // register scale of node 150 150 registerVar( (void*) &(this->getScale().x), sizeof(this->getScale().x), network::DATA, 0x3);
Note: See TracChangeset
for help on using the changeset viewer.