2023-02-07 10:30:57 +00:00
|
|
|
#ifndef OPENW_MWCLASS_LIGHT4
|
|
|
|
#define OPENW_MWCLASS_LIGHT4
|
2023-04-10 00:42:27 +00:00
|
|
|
|
2023-02-07 10:30:57 +00:00
|
|
|
#include "../mwworld/registeredclass.hpp"
|
|
|
|
|
2023-04-10 00:42:27 +00:00
|
|
|
#include "esm4base.hpp"
|
|
|
|
|
2023-02-07 10:30:57 +00:00
|
|
|
namespace MWClass
|
|
|
|
{
|
2023-04-10 00:42:27 +00:00
|
|
|
class ESM4Light : public MWWorld::RegisteredClass<ESM4Light, ESM4Base<ESM4::Light>>
|
2023-02-07 10:30:57 +00:00
|
|
|
{
|
2023-04-10 00:42:27 +00:00
|
|
|
friend MWWorld::RegisteredClass<ESM4Light, ESM4Base<ESM4::Light>>;
|
2023-02-07 10:30:57 +00:00
|
|
|
|
|
|
|
ESM4Light();
|
|
|
|
|
|
|
|
public:
|
|
|
|
void insertObjectRendering(const MWWorld::Ptr& ptr, const std::string& model,
|
|
|
|
MWRender::RenderingInterface& renderingInterface) const override;
|
|
|
|
///< Add reference into a cell for rendering
|
|
|
|
};
|
|
|
|
}
|
|
|
|
#endif
|