Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 22, 2005, 2:58:20 AM (20 years ago)
Author:
bensch
Message:

orxonox/branches/levelLoader: nicer comments

Location:
orxonox/branches/levelLoader/src/world_entities
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • orxonox/branches/levelLoader/src/world_entities/skybox.cc

    r4257 r4259  
    5656void SkyBox::loadParams(const TiXmlElement* root)
    5757{
    58   LoadParam<SkyBox>(root, "Materialset", this, &SkyBox::setTexture).describe("Sets the material on the SkyBox. The string must be the path relative to the data-dir, and without a trailing .jpg");
     58  LoadParam<SkyBox>(root, "Materialset", this, &SkyBox::setTexture)
     59    .describe("Sets the material on the SkyBox. The string must be the path relative to the data-dir, and without a trailing .jpg");
    5960}
    6061
  • orxonox/branches/levelLoader/src/world_entities/world_entity.cc

    r4257 r4259  
    4242{
    4343  // name setup
    44   LoadParam<WorldEntity>(root, "name", this, &WorldEntity::setName).describe("the name of the Object at hand");
     44  LoadParam<WorldEntity>(root, "name", this, &WorldEntity::setName)
     45    .describe("the name of the Object at hand");
    4546
    4647  // Model Loading     
    47   LoadParam<WorldEntity>(root, "model", this, &WorldEntity::loadModel).describe("the fileName of the model, that should be loaded onto this world-entity. (must be relative to the data-dir)") ;
     48  LoadParam<WorldEntity>(root, "model", this, &WorldEntity::loadModel)
     49    .describe("the fileName of the model, that should be loaded onto this world-entity. (must be relative to the data-dir)") ;
    4850}
    4951
Note: See TracChangeset for help on using the changeset viewer.