Changeset 673 for code/branches/FICN/src/loader
- Timestamp:
- Dec 22, 2007, 10:15:06 PM (17 years ago)
- Location:
- code/branches/FICN/src/loader
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/FICN/src/loader/LevelLoader.h
r660 r673 5 5 * @author Nicolas Perrenoud <nicolape@ee.ethz.ch> 6 6 */ 7 8 #ifndef _LevelLoader_H__ 9 #define _LevelLoader_H__ 7 10 8 11 #include <string> … … 15 18 //#include "xml/xmlParser.h" 16 19 17 #ifndef __MODULE_LEVELLOADER__18 #define __MODULE_LEVELLOADER__19 20 using namespace std;21 20 22 21 namespace loader … … 26 25 public: 27 26 // Constructors, loads the level file and some information data 28 LevelLoader(st ring file,string dir="levels");27 LevelLoader(std::string file, std::string dir="levels"); 29 28 // Destructor 30 29 ~LevelLoader(); … … 33 32 34 33 // Getters 35 inline st ring name() {return name_; };36 inline st ring description() {return description_; };37 inline st ring image() {return image_; };34 inline std::string name() {return name_; }; 35 inline std::string description() {return description_; }; 36 inline std::string image() {return image_; }; 38 37 private: 39 38 //! Level information … … 56 55 TiXmlElement* rootElement; 57 56 58 59 57 }; 60 58 } 61 #endif 59 60 #endif /* _LevelLoader_H__ */ -
code/branches/FICN/src/loader/loader_platform.h
r553 r673 27 27 28 28 29 #ifndef LOADER_PLATFORM_H30 #define LOADER_PLATFORM_H29 #ifndef _LoaderPlatform_H__ 30 #define _LoaderPlatform_H__ 31 31 32 32 … … 44 44 45 45 46 #endif /* LOADER_PLATFORM_H*/46 #endif /* _LoaderPlatform_H__ */
Note: See TracChangeset
for help on using the changeset viewer.