2016-10-01 19:00:16 +00:00
|
|
|
#ifndef __URDE_CGAMELIGHT_HPP__
|
|
|
|
#define __URDE_CGAMELIGHT_HPP__
|
|
|
|
|
|
|
|
#include "CActor.hpp"
|
|
|
|
|
|
|
|
namespace urde
|
|
|
|
{
|
|
|
|
class CGameLight : public CActor
|
|
|
|
{
|
|
|
|
TUniqueId xe8_parentId;
|
|
|
|
CLight xec_light;
|
|
|
|
u32 x13c_;
|
|
|
|
u32 x140_;
|
2017-01-21 06:03:37 +00:00
|
|
|
float x144_lifeTime;
|
2016-10-01 19:00:16 +00:00
|
|
|
|
|
|
|
public:
|
|
|
|
CGameLight(TUniqueId, TAreaId, bool, const std::string&, const zeus::CTransform&, TUniqueId, const CLight&, u32,
|
|
|
|
u32, float);
|
|
|
|
|
2017-01-21 06:03:37 +00:00
|
|
|
void Accept(IVisitor &visitor);
|
2016-10-01 19:00:16 +00:00
|
|
|
void Think(float, CStateManager&);
|
|
|
|
void SetLightPriorityAndId();
|
|
|
|
void SetLight(const CLight&);
|
|
|
|
CLight GetLight() const;
|
|
|
|
TUniqueId GetParentId() const;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
#endif // __URDE_CGAMELIGHT_HPP__
|