Last change
on this file since 356 was
346,
checked in by rgrieder, 18 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
|
Rev | Line | |
---|
[164] | 1 | #include <vector> |
---|
| 2 | |
---|
[341] | 3 | #include "xml/xmlParser.h" |
---|
[164] | 4 | #include "Light.h" |
---|
| 5 | |
---|
| 6 | #ifndef __MODULE_LIGHTMANAGER__ |
---|
| 7 | #define __MODULE_LIGHTMANAGER__ |
---|
| 8 | |
---|
| 9 | namespace light |
---|
| 10 | { |
---|
[346] | 11 | class LightManager |
---|
[164] | 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_; |
---|
[346] | 22 | std::vector<Light> elements_; |
---|
[164] | 23 | }; |
---|
| 24 | } |
---|
| 25 | |
---|
| 26 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.