metaforce/Runtime/World/CScriptBallTrigger.hpp

25 lines
768 B
C++
Raw Normal View History

2018-10-07 03:42:33 +00:00
#pragma once
#include "CScriptTrigger.hpp"
2018-12-08 05:30:43 +00:00
namespace urde {
class CScriptBallTrigger : public CScriptTrigger {
float x150_force;
float x154_minAngle;
float x158_maxDistance;
zeus::CVector3f x15c_forceAngle = zeus::skZero3f;
2018-12-08 05:30:43 +00:00
bool x168_24_canApplyForce : 1;
bool x168_25_stopPlayer : 1;
public:
2018-12-08 05:30:43 +00:00
CScriptBallTrigger(TUniqueId, std::string_view, const CEntityInfo&, const zeus::CVector3f&, const zeus::CVector3f&,
bool, float, float, float, const zeus::CVector3f&, bool);
2018-12-08 05:30:43 +00:00
void Accept(IVisitor&);
void AcceptScriptMsg(EScriptObjectMessage, TUniqueId, CStateManager&);
void Think(float, CStateManager& mgr);
void InhabitantAdded(CActor&, CStateManager&);
void InhabitantExited(CActor&, CStateManager&);
};
2018-12-08 05:30:43 +00:00
} // namespace urde