Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

    r5511 r5652  
    104104  static_cast<WorldEntity*>(this)->loadParams(root);
    105105
    106   LoadParam<Terrain>(root, "vegetation", this, &Terrain::loadVegetation)
     106  LoadParamNEW(root, "vegetation", this, Terrain, loadVegetation)
    107107      .describe("the fileName of the vegetation, that should be loaded onto this terrain. (must be relative to the data-dir)") ;
    108108
Note: See TracChangeset for help on using the changeset viewer.