Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/FICN/src/loader/Light.h @ 353

Last change on this file since 353 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: 382 bytes
Line 
1
2#include "xml/xmlParser.h"
3
4#ifndef __MODULE_LIGHT__
5#define __MODULE_LIGHT__
6
7namespace light
8{
9        class Light
10        {
11        public:     
12                Light();
13                Light(XMLNode xml);
14                ~Light();
15                void loadParams(XMLNode xml);
16       
17        private:
18                float diffuseColor_r_;
19                float diffuseColor_g_;
20                float diffuseColor_b_;
21
22                int coord_x_;
23                int coord_y_;
24                int coord_z_;
25        };
26}
27
28#endif
Note: See TracBrowser for help on using the repository browser.