Changeset 5652 in orxonox.OLD for trunk/src/story_entities
- Timestamp:
- Nov 20, 2005, 6:32:39 PM (19 years ago)
- Location:
- trunk/src/story_entities
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/story_entities/campaign.cc
r5651 r5652 75 75 static_cast<BaseObject*>(this)->loadParams(root); 76 76 77 //LoadParam<Campaign>(root, "identifier", this, &Campaign::setStoryID)78 77 LoadParamNEW(root, "identifier", this, Campaign, setStoryID) 79 78 .describe("A Unique Identifier for this Campaign"); 80 79 81 // LoadParam<Campaign>(root, "WorldList", this, &Campaign::loadWorldListParams)82 80 LoadParamXML(root, "WorldList", this, Campaign, loadWorldListParams) 83 81 .describe("A List of Worlds to be loaded in this Campaign"); -
trunk/src/story_entities/world.cc
r5556 r5652 186 186 PRINTF(4)("Creating a World\n"); 187 187 188 LoadParam <World>(root, "identifier", this, &World::setStoryID)188 LoadParamNEW(root, "identifier", this, World, setStoryID) 189 189 .describe("Sets the StoryID of this world"); 190 190 191 LoadParam <World>(root, "nextid", this, &World::setNextStoryID)191 LoadParamNEW(root, "nextid", this, World, setNextStoryID) 192 192 .describe("Sets the ID of the next world"); 193 193 194 LoadParam <World>(root, "path", this, &World::setPath)194 LoadParamNEW(root, "path", this, World, setPath) 195 195 .describe("The Filename of this World (relative from the data-dir)"); 196 196 } … … 339 339 ////////////////////////////// 340 340 341 LoadParam <LightManager>(root, "LightManager", LightManager::getInstance(), &LightManager::loadParams);342 343 LoadParam <ParticleEngine>(root, "ParticleEngine", ParticleEngine::getInstance(), &ParticleEngine::loadParams);344 LoadParam <PhysicsEngine>(root, "PhysicsEngine", PhysicsEngine::getInstance(), &PhysicsEngine::loadParams);341 LoadParamXML(root, "LightManager", LightManager::getInstance(), LightManager, loadParams); 342 343 LoadParamXML(root, "ParticleEngine", ParticleEngine::getInstance(), ParticleEngine, loadParams); 344 LoadParamXML(root, "PhysicsEngine", PhysicsEngine::getInstance(), PhysicsEngine, loadParams); 345 345 346 346 // find Track
Note: See TracChangeset
for help on using the changeset viewer.