Changeset 9357 in orxonox.OLD for branches/proxy/src/lib/collision_reaction
- Timestamp:
- Jul 20, 2006, 2:33:37 PM (19 years ago)
- Location:
- branches/proxy/src/lib/collision_reaction
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/proxy/src/lib/collision_reaction/collision.cc
r8190 r9357 19 19 #include "debug.h" 20 20 21 using namespace std; 21 22 22 23 23 -
branches/proxy/src/lib/collision_reaction/collision_event.cc
r8190 r9357 19 19 #include "debug.h" 20 20 21 using namespace std; 21 22 22 23 23 -
branches/proxy/src/lib/collision_reaction/collision_handle.cc
r9235 r9357 29 29 #include "debug.h" 30 30 31 using namespace std; 31 32 32 33 33 … … 204 204 205 205 // collision reaction calculations (for every collision there will be a reaction) 206 vector<Collision*>::iterator it = this->collisionList.begin();206 std::vector<Collision*>::iterator it = this->collisionList.begin(); 207 207 for(; it < this->collisionList.end(); it++) { 208 208 if( !(*it)->isDispatched()) … … 227 227 bool CollisionHandle::filterCollisionEvent(CollisionEvent* collisionEvent) 228 228 { 229 vector<long>::iterator it = this->targetList.begin();229 std::vector<long>::iterator it = this->targetList.begin(); 230 230 for(; it < this->targetList.end(); it++) 231 231 { … … 276 276 bool CollisionHandle::filterCollision(Collision* collision) 277 277 { 278 vector<long>::iterator it = this->targetList.begin();278 std::vector<long>::iterator it = this->targetList.begin(); 279 279 for(; it < this->targetList.end(); it++) 280 280 { -
branches/proxy/src/lib/collision_reaction/collision_reaction.cc
r8190 r9357 19 19 20 20 21 using namespace std; 21 22 22 23 23 -
branches/proxy/src/lib/collision_reaction/cr_engine.cc
r8490 r9357 27 27 #include "debug.h" 28 28 29 using namespace std; 29 30 30 31 31 … … 61 61 this->reset(); 62 62 63 vector<Collision*>::iterator it1 = this->collisionsUnused.begin();63 std::vector<Collision*>::iterator it1 = this->collisionsUnused.begin(); 64 64 for(; it1 < this->collisionsUnused.end(); it1++) 65 65 delete *it1; 66 vector<CollisionEvent*>::iterator it2 = this->collisionEventsUnused.begin();66 std::vector<CollisionEvent*>::iterator it2 = this->collisionEventsUnused.begin(); 67 67 for(; it2 < this->collisionEventsUnused.end(); it2++) 68 68 delete *it2; … … 92 92 // first clear all CollisionHandles 93 93 94 vector<CollisionHandle*>::iterator it = this->collisionHandles.begin();94 std::vector<CollisionHandle*>::iterator it = this->collisionHandles.begin(); 95 95 for(; it < this->collisionHandles.end(); it++) 96 96 { … … 159 159 void CREngine::flushCollisions() 160 160 { 161 vector<Collision*>::iterator it1 = this->collisionsUsed.begin();161 std::vector<Collision*>::iterator it1 = this->collisionsUsed.begin(); 162 162 for(; it1 < this->collisionsUsed.end(); it1++) 163 163 this->collisionsUnused.push_back(*it1); 164 164 165 vector<CollisionEvent*>::iterator it2 = this->collisionEventsUsed.begin();165 std::vector<CollisionEvent*>::iterator it2 = this->collisionEventsUsed.begin(); 166 166 for(; it2 < this->collisionEventsUsed.end(); it2++) 167 167 this->collisionEventsUnused.push_back(*it2); -
branches/proxy/src/lib/collision_reaction/cr_object_damage.cc
r9235 r9357 26 26 #include "debug.h" 27 27 28 using namespace std; 28 29 29 30 30 -
branches/proxy/src/lib/collision_reaction/cr_physics_full_walk.cc
r9235 r9357 33 33 #include "cr_defs.h" 34 34 35 using namespace std; 35 36 36 37 37 -
branches/proxy/src/lib/collision_reaction/cr_physics_ground_walk.cc
r9235 r9357 33 33 #include "cr_defs.h" 34 34 35 using namespace std; 35 36 36 37 37
Note: See TracChangeset
for help on using the changeset viewer.