2016-12-10 02:35:20 +00:00
|
|
|
#ifndef __URDE_CSCRIPTPOINTOFINTEREST_HPP__
|
|
|
|
#define __URDE_CSCRIPTPOINTOFINTEREST_HPP__
|
|
|
|
|
|
|
|
#include "CActor.hpp"
|
|
|
|
|
|
|
|
namespace urde
|
|
|
|
{
|
|
|
|
class CScannableParameters;
|
|
|
|
class CScriptPointOfInterest : public CActor
|
|
|
|
{
|
|
|
|
private:
|
|
|
|
float xe8_pointSize;
|
|
|
|
public:
|
2017-11-13 06:19:18 +00:00
|
|
|
CScriptPointOfInterest(TUniqueId, std::string_view, const CEntityInfo, const zeus::CTransform&, bool,
|
2016-12-10 02:35:20 +00:00
|
|
|
const CScannableParameters&, float);
|
|
|
|
|
2017-01-15 03:07:01 +00:00
|
|
|
void Accept(IVisitor& visitor);
|
2016-12-10 02:35:20 +00:00
|
|
|
void Think(float, CStateManager &);
|
|
|
|
void AcceptScriptMsg(EScriptObjectMessage, TUniqueId, CStateManager &);
|
|
|
|
void AddToRenderer(const zeus::CFrustum &, const CStateManager &) const;
|
|
|
|
void Render(const CStateManager &) const;
|
|
|
|
void CalculateRenderBounds();
|
2018-04-30 03:12:41 +00:00
|
|
|
std::experimental::optional<zeus::CAABox> GetTouchBounds() const;
|
2016-12-10 02:35:20 +00:00
|
|
|
};
|
|
|
|
}
|
|
|
|
#endif // __URDE_CSCRIPTPOINTOFINTEREST_HPP__
|