Changeset 715 for code/branches/FICN/src/loader
- Timestamp:
- Dec 28, 2007, 11:33:10 PM (17 years ago)
- Location:
- code/branches/FICN/src/loader
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/FICN/src/loader/LevelLoader.cc
r708 r715 42 42 { 43 43 44 LevelLoader::LevelLoader( orxonox::String file, orxonox::String path)44 LevelLoader::LevelLoader(std::string file, std::string path) 45 45 { 46 46 valid_ = false; … … 155 155 156 156 tElem = tNode->ToElement(); 157 orxonox::String elemVal = tElem->Value();157 std::string elemVal = tElem->Value(); 158 158 if (elemVal == "ogg") 159 159 { -
code/branches/FICN/src/loader/LevelLoader.h
r708 r715 9 9 #define _LevelLoader_H__ 10 10 11 #include <string> 12 11 13 #include "LoaderPrereqs.h" 12 13 #include "misc/String.h"14 14 #include "tinyxml/tinyxml.h" 15 15 … … 23 23 public: 24 24 // Constructors, loads the level file and some information data 25 LevelLoader( orxonox::String file, orxonox::String dir = "levels");25 LevelLoader(std::string file, std::string dir = "levels"); 26 26 // Destructor 27 27 virtual ~LevelLoader(); … … 30 30 31 31 // Getters 32 inline orxonox::String name() {return name_; };33 inline orxonox::String description() {return description_; };34 inline orxonox::String image() {return image_; };32 inline std::string name() {return name_; }; 33 inline std::string description() {return description_; }; 34 inline std::string image() {return image_; }; 35 35 private: 36 36 //! Level information 37 orxonox::String name_;38 orxonox::String description_;39 orxonox::String image_;40 orxonox::String loadingBackgroundColor_;41 orxonox::String loadingBackgroundImage_;42 orxonox::String loadingBarImage_;43 orxonox::String loadingBarTop_;44 orxonox::String loadingBarLeft_;45 orxonox::String loadingBarWidth_;46 orxonox::String loadingBarHeight_;37 std::string name_; 38 std::string description_; 39 std::string image_; 40 std::string loadingBackgroundColor_; 41 std::string loadingBackgroundImage_; 42 std::string loadingBarImage_; 43 std::string loadingBarTop_; 44 std::string loadingBarLeft_; 45 std::string loadingBarWidth_; 46 std::string loadingBarHeight_; 47 47 48 48 //! Set to true if it was possible to load the level file
Note: See TracChangeset
for help on using the changeset viewer.