2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-08 23:47:42 +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,41 +2,37 @@
#include "CActor.hpp"
namespace urde
{
class CScriptMazeNode : public CActor
{
static u32 sMazeSeeds[300];
s32 xe8_;
s32 xec_;
s32 xf0_;
TUniqueId xf4_ = kInvalidUniqueId;
float xf8_ = 0.f;
TUniqueId xfc_ = kInvalidUniqueId;
zeus::CVector3f x100_;
TUniqueId x10c_ = kInvalidUniqueId;
zeus::CVector3f x110_;
TUniqueId x11c_ = kInvalidUniqueId;
zeus::CVector3f x120_;
s32 x130_ = 0;
s32 x134_ = 0;
s32 x138_ = 0;
union
{
struct
{
bool x13c_24_ : 1;
bool x13c_25_ : 1;
bool x13c_26_ : 1;
};
u8 dummy = 0;
namespace urde {
class CScriptMazeNode : public CActor {
static u32 sMazeSeeds[300];
s32 xe8_;
s32 xec_;
s32 xf0_;
TUniqueId xf4_ = kInvalidUniqueId;
float xf8_ = 0.f;
TUniqueId xfc_ = kInvalidUniqueId;
zeus::CVector3f x100_;
TUniqueId x10c_ = kInvalidUniqueId;
zeus::CVector3f x110_;
TUniqueId x11c_ = kInvalidUniqueId;
zeus::CVector3f x120_;
s32 x130_ = 0;
s32 x134_ = 0;
s32 x138_ = 0;
union {
struct {
bool x13c_24_ : 1;
bool x13c_25_ : 1;
bool x13c_26_ : 1;
};
u8 dummy = 0;
};
public:
CScriptMazeNode(TUniqueId, std::string_view, const CEntityInfo&, const zeus::CTransform&, bool, s32, s32, s32,
const zeus::CVector3f&, const zeus::CVector3f&, const zeus::CVector3f&);
CScriptMazeNode(TUniqueId, std::string_view, const CEntityInfo&, const zeus::CTransform&, bool, s32, s32, s32,
const zeus::CVector3f&, const zeus::CVector3f&, const zeus::CVector3f&);
void Accept(IVisitor &visitor);
static void LoadMazeSeeds();
void Accept(IVisitor& visitor);
static void LoadMazeSeeds();
};
}
} // namespace urde