Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/FICN/src/loader/LevelLoader.h @ 475

Last change on this file since 475 was 474, checked in by nicolape, 17 years ago
File size: 1.1 KB
Line 
1/**
2* Orxonox - www.orxonox.net
3* Level Loader class
4*
5* @author Nicolas Perrenoud <nicolape@ee.ethz.ch>
6*/
7
8#include <string>
9#include <iostream>
10
11#include "loader_platform.h"
12#include "tinyxml/tinyxml.h"
13
14//#include "xml/xmlParser.h"
15
16#ifndef __MODULE_LEVELLOADER__
17#define __MODULE_LEVELLOADER__
18
19using namespace std;
20
21namespace loader
22{
23        class _LoaderExport LevelLoader
24        {
25        private:
26                /*
27                // XML Nodes
28                XMLNode rootNode;
29                XMLNode loadingScreenNode;
30                XMLNode worldNode;
31                XMLNode audioNode;
32                XMLNode scriptsNode;
33                */
34                // Level information
35                std::string name_;
36                std::string description_;
37                std::string image_;
38               
39                std::string loadingBackgroundColor_;
40                std::string loadingBackgroundImage_;
41                std::string loadingBarImage_;
42                std::string loadingBarTop_;
43                std::string loadingBarLeft_;
44                std::string loadingBarWidth_;
45                std::string loadingBarHeight_;
46                       
47        public:
48
49                // Constructors
50                LevelLoader(string file, string dir="levels");
51                ~LevelLoader();
52               
53                void showLoadingScreen();
54               
55                // Getters
56                string name();
57                string description();
58                string image();         
59               
60                // Managers
61               
62                       
63        };     
64}
65#endif
Note: See TracBrowser for help on using the repository browser.