Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9406 in orxonox.OLD for trunk/src/lib/physics/physics_engine.cc


Ignore:
Timestamp:
Jul 24, 2006, 11:09:47 AM (18 years ago)
Author:
bensch
Message:

orxonox/trunk: merged the proxy back

merged with commandsvn merge -r9346:HEAD https://svn.orxonox.net/orxonox/branches/proxy .

no conflicts

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/physics/physics_engine.cc

    r7221 r9406  
    2323#include "util/loading/load_param.h"
    2424
    25 using namespace std;
     25
    2626
    2727
     
    162162Field* PhysicsEngine::getFieldByName(const std::string& fieldName) const
    163163{
    164   list<Field*>::const_iterator field;
     164  std::list<Field*>::const_iterator field;
    165165  for (field = this->fields.begin(); field != this->fields.end(); field++)
    166166    if (fieldName == (*field)->getName())
     
    199199PhysicsConnection* PhysicsEngine::getPhysicsConnectionByName(const std::string& physicsConnectionName) const
    200200{
    201   list<PhysicsConnection*>::const_iterator pc;
     201  std::list<PhysicsConnection*>::const_iterator pc;
    202202  for (pc = this->connections.begin(); pc != this->connections.end(); pc++)
    203203    if (physicsConnectionName == (*pc)->getName())
     
    218218  /* go through all the PhysicsInterface(s) and tick them,
    219219  meaning let the fields work */
    220   list<PhysicsConnection*>::iterator pc;
     220  std::list<PhysicsConnection*>::iterator pc;
    221221  for (pc = this->connections.begin(); pc != this->connections.end(); pc++)
    222222    (*pc)->apply();
     
    225225  if (this->interfaces != NULL || (this->interfaces = ClassList::getList(CL_PHYSICS_INTERFACE)) != NULL)
    226226  {
    227     list<BaseObject*>::const_iterator tickPhys;
     227    std::list<BaseObject*>::const_iterator tickPhys;
    228228    for (tickPhys = this->interfaces->begin(); tickPhys != this->interfaces->end(); tickPhys++)
    229229      dynamic_cast<PhysicsInterface*>(*tickPhys)->tickPhys(dt);
Note: See TracChangeset for help on using the changeset viewer.