2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-08 21:07:42 +00:00

TCastToPtr adjustments

This commit is contained in:
2017-01-18 14:30:02 -08:00
parent 3cc93ffd75
commit d1b55e23db
66 changed files with 197 additions and 87 deletions

View 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__