mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-08 19:44:55 +00:00
Various loader implementations
This commit is contained in:
36
Runtime/World/CScriptEMPulse.hpp
Normal file
36
Runtime/World/CScriptEMPulse.hpp
Normal file
@@ -0,0 +1,36 @@
|
||||
#ifndef __URDE_CSCRIPTEMPULSE_HPP__
|
||||
#define __URDE_CSCRIPTEMPULSE_HPP__
|
||||
|
||||
#include "CActor.hpp"
|
||||
|
||||
namespace urde
|
||||
{
|
||||
class CGenDescription;
|
||||
class CElementGen;
|
||||
class CScriptEMPulse : public CActor
|
||||
{
|
||||
float xe8_duration;
|
||||
float xec_finalRadius;
|
||||
float xf0_currentRadius;
|
||||
float xf4_initialRadius;
|
||||
float xf8_interferenceDur;
|
||||
float xfc_;
|
||||
float x100_interferenceMag;
|
||||
float x104_;
|
||||
TCachedToken<CGenDescription> x108_particleDesc;
|
||||
std::unique_ptr<CElementGen> x114_particleGen;
|
||||
zeus::CAABox CalculateBoundingBox() const;
|
||||
public:
|
||||
CScriptEMPulse(TUniqueId, std::string_view, const CEntityInfo&, const zeus::CTransform&, bool, float, float, float,
|
||||
float, float, float, float, CAssetId);
|
||||
|
||||
void Accept(IVisitor&);
|
||||
void Think(float, CStateManager&);
|
||||
void AcceptScriptMsg(EScriptObjectMessage, TUniqueId, CStateManager&);
|
||||
void AddToRenderer(const zeus::CFrustum&, CStateManager&) const;
|
||||
void CalculateRenderBounds();
|
||||
std::experimental::optional<zeus::CAABox> GetTouchBounds() const;
|
||||
void Touch(CActor&, CStateManager&);
|
||||
};
|
||||
}
|
||||
#endif // __URDE_CSCRIPTEMPULSE_HPP__
|
||||
Reference in New Issue
Block a user