Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5671 in orxonox.OLD for trunk/src/lib/physics


Ignore:
Timestamp:
Nov 21, 2005, 3:50:41 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: renamed class LoadParam to CLoadParam and Macro LoadParamNew to LoadParam

Location:
trunk/src/lib/physics
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/physics/fields/field.cc

    r5652 r5671  
    6060  static_cast<PNode*>(this)->loadParams(root);
    6161
    62   LoadParamNEW(root, "magnitude", this, Field, setMagnitude)
     62  LoadParam(root, "magnitude", this, Field, setMagnitude)
    6363      .describe("sets the magnitude of this Field")
    6464      ->defaultValues(1, 1);
    6565
    66   LoadParamNEW(root, "attenuation", this, Field, setAttenuation)
     66  LoadParam(root, "attenuation", this, Field, setAttenuation)
    6767      .describe("sets the attenuation of this Field.");
    6868
  • trunk/src/lib/physics/physics_connection.cc

    r5652 r5671  
    5252  static_cast<BaseObject*>(this)->loadParams(root);
    5353
    54   LoadParamNEW(root, "subject", this, PhysicsConnection, setSubject)
     54  LoadParam(root, "subject", this, PhysicsConnection, setSubject)
    5555      .describe("set the subject by a name");
    5656
    57   LoadParamNEW(root, "field", this, PhysicsConnection, setField)
     57  LoadParam(root, "field", this, PhysicsConnection, setField)
    5858      .describe("set the field by name");
    5959
Note: See TracChangeset for help on using the changeset viewer.