Changeset 4600 in orxonox.OLD for orxonox/trunk
- Timestamp:
- Jun 11, 2005, 3:28:57 AM (19 years ago)
- Location:
- orxonox/trunk/src/story_entities
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/story_entities/campaign.cc
r4599 r4600 71 71 void Campaign::loadParams(const TiXmlElement* root) 72 72 { 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"); 79 80 } 80 81 -
orxonox/trunk/src/story_entities/world.cc
r4597 r4600 222 222 int id; 223 223 224 PRINTF 0("Creating a World\n");224 PRINTF(4)("Creating a World\n"); 225 225 226 226 LoadParam<World>(root, "identifier", this, &World::setStoryID)
Note: See TracChangeset
for help on using the changeset viewer.