Changeset 9308 in orxonox.OLD for branches/proxy/src/lib/network/synchronizeable.cc
- Timestamp:
- Jul 17, 2006, 5:47:32 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/proxy/src/lib/network/synchronizeable.cc
r9272 r9308 105 105 delete *it2; 106 106 } 107 108 } 109 } 110 111 /** 112 * Sets the server flag to a given value 113 * @param isServer: the boolean value which the server flag is to set to 114 */ 115 // void Synchronizeable::setIsServer(bool isServer) 116 // { 117 // if( isServer ) 118 // this->state = this->state | STATE_SERVER; 119 // else 120 // this->state = this->state & (~STATE_SERVER); 121 // } 122 123 124 /** 125 * Determines if the server flag is set 126 * @return true, if the server flag is true, false else 127 */ 128 // bool Synchronizeable::isServer() 129 // { 130 // return (this->state & STATE_SERVER) >0; 131 // } 107 } 108 } 132 109 133 110 … … 181 158 while ( it != sentStates[userId].end() && (*it)->stateId != fromStateId ) 182 159 it++; 183 184 // if ( getLeafClassID() == CL_SPACE_SHIP )185 // {186 // PRINTF(0)("getStateDiff:SpaceShip from: %d stateId: %d\n", (it == sentStates[userId].end())?-1:fromStateId, stateId);187 // }188 160 189 161 if ( it == sentStates[userId].end() )
Note: See TracChangeset
for help on using the changeset viewer.