Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

Last change on this file since 469 was 469, checked in by nicolape, 16 years ago

Disabled some stuff on loader

File size: 814 bytes
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 "xml/xmlParser.h"
13
14#ifndef __MODULE_LEVELLOADER__
15#define __MODULE_LEVELLOADER__
16
17using namespace std;
18
19namespace loader
20{
21        class _LoaderExport LevelLoader
22        {
23        private:
24               
25                // XML Nodes
26                XMLNode rootNode;
27                XMLNode loadingScreenNode;
28                XMLNode worldNode;
29                XMLNode audioNode;
30                XMLNode scriptsNode;
31               
32                // Level information
33                string name_;
34                string description_;
35                string image_;
36                       
37        public:
38
39                // Constructors
40                LevelLoader(string file, string dir="levels");
41                ~LevelLoader();
42               
43                void loadingScreen();
44               
45                // Getters
46                string name();
47                string description();
48                string image();         
49               
50                // Managers
51               
52                       
53        };     
54}
55#endif
Note: See TracBrowser for help on using the repository browser.