Changeset 470 for code/branches/FICN
- Timestamp:
- Dec 12, 2007, 2:30:29 PM (17 years ago)
- Location:
- code/branches/FICN
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/FICN/bin/levels/sample.oxw
r469 r470 1 <?xml version="1.0"?> 1 2 <orxonoxworld name="Orxonox sample level" image="textures/menu/moonstation_512x512.jpg"> 2 3 <description> -
code/branches/FICN/src/loader/LevelLoader.cc
r469 r470 19 19 20 20 // Assing general level infos to class variables 21 //this->name_ = (std::string)rootNode.getAttribute("name").getText(); 22 //this->image_ = (std::string)rootNode.getAttribute("image").getText(); 23 //this->description_ = (std::string)rootNode.getChildNode("description").getText(); 21 22 this->name_ = rootNode.getAttribute("name"); 23 this->image_ = rootNode.getAttribute("image"); 24 this->description_ = rootNode.getChildNode("description").getText(); 24 25 25 //this->loadingScreen();26 loadingScreenNode = rootNode.getChildNode("loading"); 26 27 28 if (!loadingScreenNode.isEmpty()) 29 { 30 this->showLoadingScreen(); 31 } 32 33 /* 27 34 // Assign sub-nodes 28 35 if (rootNode.nChildNode("LightManager")==1) 29 36 { 30 37 // Init Luightmanager... 31 } 38 }*/ 32 39 33 40 /* … … 63 70 } 64 71 65 void LevelLoader:: loadingScreen()72 void LevelLoader::showLoadingScreen() 66 73 { 67 74 cout << "\n\n\nThis is Orxonox\nthe hottest 3D action shooter ever to exist\n\n\n"; -
code/branches/FICN/src/loader/LevelLoader.h
r469 r470 31 31 32 32 // Level information 33 st ring name_;34 st ring description_;35 st ring image_;33 std::string name_; 34 std::string description_; 35 std::string image_; 36 36 37 37 public: … … 41 41 ~LevelLoader(); 42 42 43 void loadingScreen();43 void showLoadingScreen(); 44 44 45 45 // Getters
Note: See TracChangeset
for help on using the changeset viewer.