Last change
on this file since 414 was
379,
checked in by rgrieder, 17 years ago
|
- converted loader library to be compilable as a DLL
- added loader_platform.h and loader_prereq.h to do that
|
File size:
449 bytes
|
Rev | Line | |
---|
[164] | 1 | #include <vector> |
---|
| 2 | |
---|
[379] | 3 | #include "loader_platform.h" |
---|
[341] | 4 | #include "xml/xmlParser.h" |
---|
[164] | 5 | #include "Light.h" |
---|
| 6 | |
---|
| 7 | #ifndef __MODULE_LIGHTMANAGER__ |
---|
| 8 | #define __MODULE_LIGHTMANAGER__ |
---|
| 9 | |
---|
| 10 | namespace light |
---|
| 11 | { |
---|
[379] | 12 | class _LoaderExport LightManager |
---|
[164] | 13 | { |
---|
| 14 | public: |
---|
| 15 | LightManager(); |
---|
| 16 | ~LightManager(); |
---|
| 17 | void loadParams(XMLNode xml); |
---|
| 18 | |
---|
| 19 | private: |
---|
| 20 | float ambient_r_; |
---|
| 21 | float ambient_g_; |
---|
| 22 | float ambient_b_; |
---|
[346] | 23 | std::vector<Light> elements_; |
---|
[164] | 24 | }; |
---|
| 25 | } |
---|
| 26 | |
---|
| 27 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.