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