mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-08 21:07:42 +00:00
TCastToPtr adjustments
This commit is contained in:
34
Runtime/World/CScriptTargetingPoint.hpp
Normal file
34
Runtime/World/CScriptTargetingPoint.hpp
Normal file
@@ -0,0 +1,34 @@
|
||||
#ifndef __URDE_CSCRIPTTARGETINGPOINT_HPP__
|
||||
#define __URDE_CSCRIPTTARGETINGPOINT_HPP__
|
||||
|
||||
#include "World/CActor.hpp"
|
||||
|
||||
namespace urde
|
||||
{
|
||||
class CScriptTargetingPoint : public CActor
|
||||
{
|
||||
private:
|
||||
union
|
||||
{
|
||||
struct
|
||||
{
|
||||
bool xe8_e4_ : 1;
|
||||
};
|
||||
u8 xe8_dummy = 0;
|
||||
};
|
||||
TUniqueId xea_;
|
||||
float xec_time = 0.f;
|
||||
|
||||
public:
|
||||
CScriptTargetingPoint(TUniqueId, const std::string&, const CEntityInfo&, const zeus::CTransform&, bool);
|
||||
|
||||
void Accept(IVisitor& visitor);
|
||||
void AcceptScriptMsg(EScriptObjectMessage, TUniqueId, CStateManager &);
|
||||
void Think(float, CStateManager &);
|
||||
void Render(const CStateManager &) const {}
|
||||
|
||||
bool GetLocked() const;
|
||||
};
|
||||
}
|
||||
|
||||
#endif // __URDE_CSCRIPTTARGETINGPOINT_HPP__
|
||||
Reference in New Issue
Block a user