Changeset 2710 for code/trunk/src/network/packet
- Timestamp:
- Feb 28, 2009, 7:46:37 PM (16 years ago)
- Location:
- code/trunk
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk
- Property svn:ignore deleted
- Property svn:mergeinfo changed
-
code/trunk/src/network/packet/Acknowledgement.cc
r2662 r2710 64 64 65 65 bool Acknowledgement::process(){ 66 COUT( 0) << "processing ACK with ID: " << getAckID() << endl;66 COUT(6) << "processing ACK with ID: " << getAckID() << endl; 67 67 bool b = GamestateHandler::ackGamestate(getAckID(), clientID_); 68 68 delete this; -
code/trunk/src/network/packet/CMakeLists.txt
r2131 r2710 1 SET(SRC_FILES1 ADD_SOURCE_FILES(NETWORK_SRC_FILES 2 2 Packet.cc 3 3 Chat.cc … … 8 8 DeleteObjects.cc 9 9 ) 10 11 ADD_SOURCE_FILES(SRC_FILES) -
code/trunk/src/network/packet/Gamestate.cc
r2662 r2710 110 110 for(it = ObjectList<Synchronisable>::begin(); it; ++it){ 111 111 112 tempsize=it->getSize(id, mode); 112 113 #ifndef NDEBUG 113 tempsize=it->getSize(id, mode);114 114 if(currentsize+tempsize > size){ 115 115 assert(0); // if we don't use multithreading this part shouldn't be neccessary … … 184 184 { 185 185 bool b = s->updateData(mem, mode); 186 // if(!b) 187 // COUT(0) << "data could not be updated" << endl; 186 188 assert(b); 187 189 } -
code/trunk/src/network/packet/Packet.cc
r2662 r2710 167 167 assert(ClientInformation::findClient(&peer->address)->getID() != (unsigned int)-2 || !Host::isServer()); 168 168 unsigned int clientID = ClientInformation::findClient(&peer->address)->getID(); 169 Packet *p ;169 Packet *p = 0; 170 170 COUT(5) << "packet type: " << *(ENUM::Type *)&data[_PACKETID] << std::endl; 171 171 switch( *(ENUM::Type *)(data + _PACKETID) ) -
code/trunk/src/network/packet/Packet.h
r2171 r2710 34 34 #include <enet/enet.h> 35 35 #include <boost/thread/recursive_mutex.hpp> 36 37 #include "util/Integers.h"38 36 39 37 namespace orxonox {
Note: See TracChangeset
for help on using the changeset viewer.