|
Last change
on this file since 380 was
379,
checked in by rgrieder, 18 years ago
|
- converted loader library to be compilable as a DLL
- added loader_platform.h and loader_prereq.h to do that
|
|
File size:
426 bytes
|
| Line | |
|---|
| 1 | |
|---|
| 2 | #include "loader_platform.h" |
|---|
| 3 | #include "xml/xmlParser.h" |
|---|
| 4 | |
|---|
| 5 | #ifndef __MODULE_LIGHT__ |
|---|
| 6 | #define __MODULE_LIGHT__ |
|---|
| 7 | |
|---|
| 8 | namespace light |
|---|
| 9 | { |
|---|
| 10 | class _LoaderExport Light |
|---|
| 11 | { |
|---|
| 12 | public: |
|---|
| 13 | Light(); |
|---|
| 14 | Light(XMLNode xml); |
|---|
| 15 | ~Light(); |
|---|
| 16 | void loadParams(XMLNode xml); |
|---|
| 17 | |
|---|
| 18 | private: |
|---|
| 19 | float diffuseColor_r_; |
|---|
| 20 | float diffuseColor_g_; |
|---|
| 21 | float diffuseColor_b_; |
|---|
| 22 | |
|---|
| 23 | int coord_x_; |
|---|
| 24 | int coord_y_; |
|---|
| 25 | int coord_z_; |
|---|
| 26 | }; |
|---|
| 27 | } |
|---|
| 28 | |
|---|
| 29 | #endif |
|---|
Note: See
TracBrowser
for help on using the repository browser.