Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5652 in orxonox.OLD for trunk/src/world_entities/skybox.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/skybox.cc

    r5511 r5652  
    5555  static_cast<WorldEntity*>(this)->loadParams(root);
    5656
    57   LoadParam<SkyBox>(root, "Materialset", this, &SkyBox::setTexture)
     57  LoadParamNEW(root, "Materialset", this, SkyBox, setTexture)
    5858      .describe("Sets the material on the SkyBox. The string must be the path relative to the data-dir, and without a trailing .jpg");
    5959
    60   LoadParam<SkyBox>(root, "Size", this, &SkyBox::setSize)
     60  LoadParamNEW(root, "Size", this, SkyBox, setSize)
    6161      .describe("Sets the Size of the SkyBox (normally this should be 90% of the maximal viewing Distance).");
    6262}
Note: See TracChangeset for help on using the changeset viewer.