Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5652 in orxonox.OLD for trunk/src/world_entities/weapons/aim.cc


Ignore:
Timestamp:
Nov 20, 2005, 6:32:39 PM (19 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/world_entities/weapons/aim.cc

    r5557 r5652  
    7070  static_cast<PNode*>(this)->loadParams(root);
    7171
    72   LoadParam<Aim>(root, "texture", this, &Aim::setTexture)
     72  LoadParamNEW(root, "texture", this, Aim, setTexture)
    7373      .describe("the texture-file to load onto the Aim");
    7474
    75   LoadParam<Aim>(root, "size", this, &Aim::setSize)
     75  LoadParamNEW(root, "size", this, Aim, setSize)
    7676      .describe("the size of the Aim in Pixels");
    7777
    78   LoadParam<Aim>(root, "rotation-speed", this, &Aim::setRotationSpeed)
     78  LoadParamNEW(root, "rotation-speed", this, Aim, setRotationSpeed)
    7979      .describe("the Speed with which the Aim should rotate");
    8080}
Note: See TracChangeset for help on using the changeset viewer.