Changeset 4259 in orxonox.OLD for orxonox/branches/levelLoader
- Timestamp:
- May 22, 2005, 2:58:20 AM (20 years ago)
- Location:
- orxonox/branches/levelLoader/src
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/levelLoader/src/glmenu/glmenu_imagescreen.cc
r4253 r4259 57 57 void GLMenuImageScreen::loadParams(const TiXmlElement* root) 58 58 { 59 LoadParam<GLMenuImageScreen>(root, "BackgroundImage", this, &GLMenuImageScreen::setBackgroundImage); 60 61 LoadParam<GLMenuImageScreen>(root, "BackgroundPS", this, &GLMenuImageScreen::setPosScale); 62 63 LoadParam<GLMenuImageScreen>(root, "BarImage", this, &GLMenuImageScreen::setBarImage); 64 65 LoadParam<GLMenuImageScreen>(root, "BarPS", this, &GLMenuImageScreen::setBarPosScale); 66 67 LoadParam<GLMenuImageScreen>(root, "ElementCount", this, &GLMenuImageScreen::setMaximum); 59 LoadParam<GLMenuImageScreen>(root, "BackgroundImage", this, &GLMenuImageScreen::setBackgroundImage) 60 .describe("sets the image to load onto the loadscreen"); 61 62 LoadParam<GLMenuImageScreen>(root, "BackgroundPS", this, &GLMenuImageScreen::setPosScale) 63 .describe("The Position and Scale of the Background Image in %(0-1.0). PosX, PosY, SizeX, SizeY"); 64 65 LoadParam<GLMenuImageScreen>(root, "BarImage", this, &GLMenuImageScreen::setBarImage) 66 .describe("sets the image of the LoadingBar"); 67 68 LoadParam<GLMenuImageScreen>(root, "BarPS", this, &GLMenuImageScreen::setBarPosScale) 69 .describe("The Position and Scale of the Loading Bar in %(0-1.0). PosX, PosY, SizeX, SizeY"); 70 71 LoadParam<GLMenuImageScreen>(root, "ElementCount", this, &GLMenuImageScreen::setMaximum) 72 .describe("The Count of elements to load into the bar (this is only a maximum value)"); 68 73 } 69 74 -
orxonox/branches/levelLoader/src/story_entities/world.cc
r4258 r4259 210 210 PRINTF0("Creating a World\n"); 211 211 212 LoadParam<World>(root, "identifier", this, &World::setStoryID).describe("Sets the StoryID of this world"); 213 LoadParam<World>(root, "nextid", this, &World::setNextStoryID).describe("Sets the ID of the next world"); 214 LoadParam<World>(root, "path", this, &World::setPath).describe("The Filename of this World (relative from the data-dir)"); 212 LoadParam<World>(root, "identifier", this, &World::setStoryID) 213 .describe("Sets the StoryID of this world"); 214 LoadParam<World>(root, "nextid", this, &World::setNextStoryID) 215 .describe("Sets the ID of the next world"); 216 LoadParam<World>(root, "path", this, &World::setPath) 217 .describe("The Filename of this World (relative from the data-dir)"); 215 218 216 219 -
orxonox/branches/levelLoader/src/util/loading/load_param.cc
r4256 r4259 209 209 void LoadClassDescription::printAll(void) 210 210 { 211 PRINT(3)("============================================================== \n");212 PRINT(3)(" Listing all the Loadable Options (loaded since Game started .\n\n");211 PRINT(3)("===============================================================\n"); 212 PRINT(3)(" Listing all the Loadable Options (loaded since Game started).\n\n"); 213 213 tIterator<LoadClassDescription>* classIT = LoadClassDescription::classList->getIterator(); 214 214 LoadClassDescription* enumClassDesc = classIT->nextElement(); … … 229 229 } 230 230 delete classIT; 231 232 } 231 PRINT(3)("===============================================================\n"); 232 } -
orxonox/branches/levelLoader/src/world_entities/skybox.cc
r4257 r4259 56 56 void SkyBox::loadParams(const TiXmlElement* root) 57 57 { 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"); 59 60 } 60 61 -
orxonox/branches/levelLoader/src/world_entities/world_entity.cc
r4257 r4259 42 42 { 43 43 // 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"); 45 46 46 47 // 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)") ; 48 50 } 49 51
Note: See TracChangeset
for help on using the changeset viewer.