Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

Last change on this file since 474 was 474, checked in by nicolape, 17 years ago
File size: 1.1 KB
RevLine 
[164]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
[474]11#include "loader_platform.h"
12#include "tinyxml/tinyxml.h"
13
[471]14//#include "xml/xmlParser.h"
[164]15
16#ifndef __MODULE_LEVELLOADER__
17#define __MODULE_LEVELLOADER__
18
19using namespace std;
20
21namespace loader
22{
[379]23        class _LoaderExport LevelLoader
[164]24        {
25        private:
[471]26                /*
[164]27                // XML Nodes
[379]28                XMLNode rootNode;
[469]29                XMLNode loadingScreenNode;
[164]30                XMLNode worldNode;
[469]31                XMLNode audioNode;
32                XMLNode scriptsNode;
[471]33                */
[164]34                // Level information
[470]35                std::string name_;
36                std::string description_;
37                std::string image_;
[474]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_;
[164]46                       
47        public:
48
49                // Constructors
50                LevelLoader(string file, string dir="levels");
51                ~LevelLoader();
52               
[470]53                void showLoadingScreen();
[164]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.