mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 03:47:43 +00:00
Various area streaming fixes, implement missing object loaders
This commit is contained in:
27
Runtime/World/CScriptBallTrigger.hpp
Normal file
27
Runtime/World/CScriptBallTrigger.hpp
Normal file
@@ -0,0 +1,27 @@
|
||||
#ifndef __URDE_CSCRIPTBALLTRIGGER_HPP__
|
||||
#define __URDE_CSCRIPTBALLTRIGGER_HPP__
|
||||
|
||||
#include "CScriptTrigger.hpp"
|
||||
|
||||
namespace urde
|
||||
{
|
||||
class CScriptBallTrigger : public CScriptTrigger
|
||||
{
|
||||
float x150_force;
|
||||
float x154_minAngle;
|
||||
float x158_maxDistance;
|
||||
zeus::CVector3f x15c_forceAngle = zeus::CVector3f::skZero;
|
||||
bool x168_24_canApplyForce : 1;
|
||||
bool x168_25_stopPlayer : 1;
|
||||
public:
|
||||
CScriptBallTrigger(TUniqueId, std::string_view, const CEntityInfo&, const zeus::CVector3f&,
|
||||
const zeus::CVector3f&, bool, float, float, float, const zeus::CVector3f&, bool);
|
||||
|
||||
void Accept(IVisitor&);
|
||||
void AcceptScriptMsg(EScriptObjectMessage, TUniqueId, CStateManager&);
|
||||
void Think(float, CStateManager& mgr);
|
||||
void InhabitantAdded(CActor&, CStateManager&);
|
||||
void InhabitantExited(CActor&, CStateManager&);
|
||||
};
|
||||
}
|
||||
#endif // __URDE_CSCRIPTBALLTRIGGER_HPP
|
||||
Reference in New Issue
Block a user