Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 4600 in orxonox.OLD for orxonox/trunk


Ignore:
Timestamp:
Jun 11, 2005, 3:28:57 AM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: better output

Location:
orxonox/trunk/src/story_entities
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/story_entities/campaign.cc

    r4599 r4600  
    7171void Campaign::loadParams(const TiXmlElement* root)
    7272{
    73   TiXmlElement* element;
    74   const char* string;
    75 
    76   LoadParam<Campaign>(root, "identifier", this, &Campaign::setStoryID);
    77 
    78   LoadParam<Campaign>(root, "WorldList", this, &Campaign::loadWorldListParams);
     73  static_cast<BaseObject*>(this)->loadParams(root);
     74
     75  LoadParam<Campaign>(root, "identifier", this, &Campaign::setStoryID)
     76      .describe("A Unique Identifier for this Campaign");
     77
     78  LoadParam<Campaign>(root, "WorldList", this, &Campaign::loadWorldListParams)
     79      .describe("A List of Worlds to be loaded in this Campaign");
    7980}
    8081
  • orxonox/trunk/src/story_entities/world.cc

    r4597 r4600  
    222222  int id;
    223223
    224   PRINTF0("Creating a World\n");
     224  PRINTF(4)("Creating a World\n");
    225225
    226226  LoadParam<World>(root, "identifier", this, &World::setStoryID)
Note: See TracChangeset for help on using the changeset viewer.