Changeset 7793 in orxonox.OLD for branches/network
- Timestamp:
- May 24, 2006, 12:22:20 PM (19 years ago)
- Location:
- branches/network/src/lib
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/network/src/lib/coord/p_node.cc
r7446 r7793 1093 1093 if ( std::find( id.begin(), id.end(), relCoordinate_handle ) != id.end() ) 1094 1094 { 1095 if ( getLeafClassID() == CL_SPACE_SHIP ) 1096 { 1097 PRINTF(0)("SET COOR\n"); 1098 relCoordinate_write.debug(); 1099 } 1095 1100 setRelCoor( relCoordinate_write ); 1096 1101 } … … 1098 1103 if ( std::find( id.begin(), id.end(), relDirection_handle ) != id.end() ) 1099 1104 { 1105 if ( getLeafClassID() == CL_SPACE_SHIP ) 1106 { 1107 PRINTF(0)("SET DIR\n"); 1108 relDirection_write.debug(); 1109 } 1100 1110 setRelDir( relDirection_write ); 1101 1111 } -
branches/network/src/lib/network/synchronizeable.cc
r7767 r7793 136 136 while ( it != sentStates[userId].end() && (*it)->stateId != fromStateId ) 137 137 it++; 138 139 // if ( getLeafClassID() == CL_SPACE_SHIP ) 140 // { 141 // PRINTF(0)("getStateDiff:SpaceShip from: %d stateId: %d\n", (it == sentStates[userId].end())?-1:fromStateId, stateId); 142 // } 138 143 139 144 if ( it == sentStates[userId].end() ) … … 257 262 while ( it != recvStates[userId].end() && (*it)->stateId != fromStateId ) 258 263 it++; 264 265 // if ( getLeafClassID() == CL_SPACE_SHIP ) 266 // { 267 // PRINTF(0)("setStateDiff:SpaceShip from: %d stateId: %d\n", (it == recvStates[userId].end())?-1:fromStateId, stateId); 268 // } 259 269 260 270 if ( it == recvStates[userId].end() ) -
branches/network/src/lib/network/synchronizeable_var/synchronizeable_vector.cc
r7614 r7793 79 79 int res; 80 80 int n = 0; 81 82 Vector oldVec = *vPtrOut; 81 83 82 84 res = Converter::byteArrayToFloat( buf + n, &x ); … … 93 95 94 96 *vPtrOut = Vector( x, y, z ); 97 98 setHasChanged( !(*vPtrOut == oldVec) ); 95 99 96 100 assert( n == 3*FLOATSIZE );
Note: See TracChangeset
for help on using the changeset viewer.