mirror of https://github.com/PrimeDecomp/prime.git
29 lines
897 B
C++
29 lines
897 B
C++
#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,
|
|
bool deactivateOnEnter, bool deactivateOnExit);
|
|
~CScriptCameraHintTrigger();
|
|
|
|
void Accept(IVisitor& visitor);
|
|
void Think(float dt, CStateManager& mgr);
|
|
void Touch(CActor& other, CStateManager& mgr);
|
|
rstl::optional_object< CAABox > GetTouchBounds() const;
|
|
};
|
|
|
|
#endif // _CSCRIPTCAMERAHINTTRIGGER
|