Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

    r5555 r5652  
    7676
    7777  // Model Loading
    78   LoadParam<WorldEntity>(root, "model", this, &WorldEntity::loadModel, false, NULL, 1.0f)
    79       .describe("the fileName of the model, that should be loaded onto this world-entity. (must be relative to the data-dir)") ;
     78  LoadParamNEW(root, "model", this, WorldEntity, loadModel)
     79      .describe("the fileName of the model, that should be loaded onto this world-entity. (must be relative to the data-dir)")
     80      ->defaultValues(2, NULL, 1.0f);
    8081
    8182}
Note: See TracChangeset for help on using the changeset viewer.