Changeset 9357 in orxonox.OLD for branches/proxy/src/lib/physics
- Timestamp:
- Jul 20, 2006, 2:33:37 PM (18 years ago)
- Location:
- branches/proxy/src/lib/physics
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/proxy/src/lib/physics/fields/field.cc
r7199 r9357 22 22 #include "util/loading/factory.h" 23 23 #include "util/loading/load_param.h" 24 using namespace std; 24 25 25 26 26 /** -
branches/proxy/src/lib/physics/fields/gravity.cc
r7193 r9357 21 21 #include "util/loading/factory.h" 22 22 23 using namespace std; 23 24 24 25 25 CREATE_FACTORY(Gravity, CL_FIELD_GRAVITY); -
branches/proxy/src/lib/physics/fields/point_gravity.cc
r5357 r9357 18 18 #include "point_gravity.h" 19 19 20 using namespace std; 20 21 21 22 22 -
branches/proxy/src/lib/physics/fields/twirl.cc
r5357 r9357 18 18 #include "twirl.h" 19 19 20 using namespace std; 20 21 21 22 22 -
branches/proxy/src/lib/physics/physics_connection.cc
r7221 r9357 27 27 #include "util/loading/load_param.h" 28 28 29 using namespace std; 29 30 30 31 31 CREATE_FACTORY(PhysicsConnection, CL_PHYSICS_CONNECTION); -
branches/proxy/src/lib/physics/physics_engine.cc
r7221 r9357 23 23 #include "util/loading/load_param.h" 24 24 25 using namespace std; 25 26 26 27 27 … … 162 162 Field* PhysicsEngine::getFieldByName(const std::string& fieldName) const 163 163 { 164 list<Field*>::const_iterator field;164 std::list<Field*>::const_iterator field; 165 165 for (field = this->fields.begin(); field != this->fields.end(); field++) 166 166 if (fieldName == (*field)->getName()) … … 199 199 PhysicsConnection* PhysicsEngine::getPhysicsConnectionByName(const std::string& physicsConnectionName) const 200 200 { 201 list<PhysicsConnection*>::const_iterator pc;201 std::list<PhysicsConnection*>::const_iterator pc; 202 202 for (pc = this->connections.begin(); pc != this->connections.end(); pc++) 203 203 if (physicsConnectionName == (*pc)->getName()) … … 218 218 /* go through all the PhysicsInterface(s) and tick them, 219 219 meaning let the fields work */ 220 list<PhysicsConnection*>::iterator pc;220 std::list<PhysicsConnection*>::iterator pc; 221 221 for (pc = this->connections.begin(); pc != this->connections.end(); pc++) 222 222 (*pc)->apply(); … … 225 225 if (this->interfaces != NULL || (this->interfaces = ClassList::getList(CL_PHYSICS_INTERFACE)) != NULL) 226 226 { 227 list<BaseObject*>::const_iterator tickPhys;227 std::list<BaseObject*>::const_iterator tickPhys; 228 228 for (tickPhys = this->interfaces->begin(); tickPhys != this->interfaces->end(); tickPhys++) 229 229 dynamic_cast<PhysicsInterface*>(*tickPhys)->tickPhys(dt); -
branches/proxy/src/lib/physics/physics_interface.cc
r8350 r9357 29 29 #include "stdincl.h" 30 30 31 using namespace std; 31 32 32 33 33
Note: See TracChangeset
for help on using the changeset viewer.