Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

Last change on this file since 379 was 379, checked in by rgrieder, 16 years ago
  • converted loader library to be compilable as a DLL
    • added loader_platform.h and loader_prereq.h to do that
File size: 806 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 worldNode;
28                XMLNode scriptNode;
29                XMLNode cameraNode;
30                XMLNode lightNode;
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.