Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/FICN/src/loader/LightManager.h @ 358

Last change on this file since 358 was 346, checked in by rgrieder, 17 years ago
  • adjusted the entire source to compile under windows visual studio too:
  • added some ugly conversions
  • changed some illegal code pieces (gcc however accepted it)
  • added a few files from reto's framework to evade linker errors (no more dynamic linking)
  • inserted some 'return true' to justify the return type
  • excluded the levelLoader in the orxonox.cc (couldn't make it work, parsing error)
  • wrote about 5 code #branches to compensate for missing usleep() under windows
File size: 405 bytes
Line 
1#include <vector>
2
3#include "xml/xmlParser.h"
4#include "Light.h"
5
6#ifndef __MODULE_LIGHTMANAGER__
7#define __MODULE_LIGHTMANAGER__
8
9namespace light
10{
11        class LightManager
12        {     
13        public:
14                LightManager();
15                ~LightManager();
16                void loadParams(XMLNode xml);           
17                               
18        private:
19                float ambient_r_;
20                float ambient_g_;
21                float ambient_b_;
22    std::vector<Light> elements_;
23        };
24}
25
26#endif
Note: See TracBrowser for help on using the repository browser.