Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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


Ignore:
Timestamp:
Nov 20, 2005, 6:32:39 PM (18 years ago)
Author:
bensch
Message:

orxonox/trunk: new LoadParam procedure with all NON-cycling load-options, and it works perfectly (on first sight :))

now going to make the same for cycling LoadOptions

File:
1 edited

Legend:

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

    r5217 r5652  
    9393void PhysicsEngine::loadParams(const TiXmlElement* root)
    9494{
    95   LoadParam<PhysicsEngine>(root, "Fields", this, &PhysicsEngine::loadFields)
     95  LoadParamXML(root, "Fields", this, PhysicsEngine, loadFields)
    9696      .describe("loads a list of fields");
    9797
    98   LoadParam<PhysicsEngine>(root, "Connections", this, &PhysicsEngine::loadConnections)
     98  LoadParamXML(root, "Connections", this, PhysicsEngine, loadConnections)
    9999      .describe("loads a list of fields");
    100100}
Note: See TracChangeset for help on using the changeset viewer.