2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-09 03:47:43 +00:00

New code style refactor

This commit is contained in:
Jack Andersen
2018-12-07 19:30:43 -10:00
parent 41ae32be31
commit 636c82a568
1451 changed files with 171430 additions and 203303 deletions

View File

@@ -2,24 +2,20 @@
#include "CEntity.hpp"
namespace urde
{
class CScriptMemoryRelay : public CEntity
{
union
{
struct
{
bool x34_24_;
bool x34_25_skipSendActive;
bool x34_26_ignoreMessages;
};
u8 dummy = 0;
namespace urde {
class CScriptMemoryRelay : public CEntity {
union {
struct {
bool x34_24_;
bool x34_25_skipSendActive;
bool x34_26_ignoreMessages;
};
public:
CScriptMemoryRelay(TUniqueId, std::string_view name, const CEntityInfo&, bool, bool, bool);
void Accept(IVisitor& visitor);
void AcceptScriptMsg(EScriptObjectMessage msg, TUniqueId objId, CStateManager &stateMgr);
};
}
u8 dummy = 0;
};
public:
CScriptMemoryRelay(TUniqueId, std::string_view name, const CEntityInfo&, bool, bool, bool);
void Accept(IVisitor& visitor);
void AcceptScriptMsg(EScriptObjectMessage msg, TUniqueId objId, CStateManager& stateMgr);
};
} // namespace urde