Last change
on this file since 444 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
|
Line | |
---|
1 | #include <vector> |
---|
2 | |
---|
3 | #include "loader_platform.h" |
---|
4 | #include "xml/xmlParser.h" |
---|
5 | #include "Light.h" |
---|
6 | |
---|
7 | #ifndef __MODULE_LIGHTMANAGER__ |
---|
8 | #define __MODULE_LIGHTMANAGER__ |
---|
9 | |
---|
10 | namespace light |
---|
11 | { |
---|
12 | class _LoaderExport LightManager |
---|
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_; |
---|
23 | std::vector<Light> elements_; |
---|
24 | }; |
---|
25 | } |
---|
26 | |
---|
27 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.