2018-10-07 03:42:33 +00:00
|
|
|
#pragma once
|
2016-12-10 02:35:20 +00:00
|
|
|
|
|
|
|
#include "CActor.hpp"
|
|
|
|
|
2018-12-08 05:30:43 +00:00
|
|
|
namespace urde {
|
2016-12-10 02:35:20 +00:00
|
|
|
class CScannableParameters;
|
2018-12-08 05:30:43 +00:00
|
|
|
class CScriptPointOfInterest : public CActor {
|
2016-12-10 02:35:20 +00:00
|
|
|
private:
|
2018-12-08 05:30:43 +00:00
|
|
|
float xe8_pointSize;
|
|
|
|
|
2016-12-10 02:35:20 +00:00
|
|
|
public:
|
2018-12-08 05:30:43 +00:00
|
|
|
CScriptPointOfInterest(TUniqueId, std::string_view, const CEntityInfo, const zeus::CTransform&, bool,
|
|
|
|
const CScannableParameters&, float);
|
2016-12-10 02:35:20 +00:00
|
|
|
|
2018-12-08 05:30:43 +00:00
|
|
|
void Accept(IVisitor& visitor);
|
|
|
|
void Think(float, CStateManager&);
|
|
|
|
void AcceptScriptMsg(EScriptObjectMessage, TUniqueId, CStateManager&);
|
|
|
|
void AddToRenderer(const zeus::CFrustum&, const CStateManager&) const;
|
|
|
|
void Render(const CStateManager&) const;
|
|
|
|
void CalculateRenderBounds();
|
2019-01-29 08:28:35 +00:00
|
|
|
rstl::optional<zeus::CAABox> GetTouchBounds() const;
|
2016-12-10 02:35:20 +00:00
|
|
|
};
|
2018-12-08 05:30:43 +00:00
|
|
|
} // namespace urde
|