mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-06 00:55:50 +00:00
486d15b19e
moved esm4light to it's own file
39 lines
598 B
C++
39 lines
598 B
C++
|
|
#ifndef COMPONENTS_SCENEUTIL_LIGHTCOMMON
|
|
#define COMPONENTS_SCENEUTIL_LIGHTCOMMON
|
|
#include <string_view>
|
|
#include <variant>
|
|
|
|
#include <osg/Vec4>
|
|
|
|
namespace ESM4
|
|
{
|
|
struct Light;
|
|
}
|
|
|
|
namespace ESM
|
|
{
|
|
struct Light;
|
|
}
|
|
|
|
namespace SceneUtil
|
|
{
|
|
struct LightCommon
|
|
{
|
|
explicit LightCommon(const ESM::Light& light);
|
|
explicit LightCommon(const ESM4::Light& light);
|
|
|
|
bool mFlicker;
|
|
bool mFlickerSlow;
|
|
bool mNegative;
|
|
bool mPulse;
|
|
bool mPulseSlow;
|
|
bool mOffDefault;
|
|
|
|
osg::Vec4 mColor;
|
|
float mRadius;
|
|
};
|
|
|
|
}
|
|
#endif
|