2022-10-21 19:23:06 +03:00
|
|
|
#ifndef _CSCRIPTCAMERAHINTTRIGGER
|
|
|
|
|
#define _CSCRIPTCAMERAHINTTRIGGER
|
|
|
|
|
|
|
|
|
|
#include "MetroidPrime/CActor.hpp"
|
|
|
|
|
|
|
|
|
|
#include "Collision/COBBox.hpp"
|
|
|
|
|
|
|
|
|
|
class CScriptCameraHintTrigger : public CActor {
|
|
|
|
|
COBBox xe8_obb;
|
|
|
|
|
CVector3f x124_scale;
|
|
|
|
|
bool x130_24_deactivateOnEnter : 1;
|
|
|
|
|
bool x130_25_deactivateOnExit : 1;
|
|
|
|
|
bool x130_26_playerInside : 1;
|
|
|
|
|
bool x130_27_playerWasInside : 1;
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
CScriptCameraHintTrigger(TUniqueId uid, bool active, const rstl::string& name,
|
|
|
|
|
const CEntityInfo& info, const CVector3f& scale, const CTransform4f& xf,
|
2026-03-19 20:55:56 -06:00
|
|
|
bool deactivateOnEnter, const bool deactivateOnExit);
|
2022-10-21 19:23:06 +03:00
|
|
|
~CScriptCameraHintTrigger();
|
|
|
|
|
|
2023-02-06 12:01:01 -05:00
|
|
|
void Accept(IVisitor& visitor) override;
|
|
|
|
|
void Think(float dt, CStateManager& mgr) override;
|
|
|
|
|
void Touch(CActor& other, CStateManager& mgr) override;
|
|
|
|
|
rstl::optional_object< CAABox > GetTouchBounds() const override;
|
2022-10-21 19:23:06 +03:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
#endif // _CSCRIPTCAMERAHINTTRIGGER
|