2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-08 22:27:43 +00:00

Runtime/World: Replace bitfield unions with constructor initializers

This commit is contained in:
2020-04-11 01:50:10 -04:00
parent 22880abb7e
commit bb7e94f304
69 changed files with 583 additions and 657 deletions

View File

@@ -24,14 +24,9 @@ class CScriptMazeNode : public CActor {
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;
};
bool x13c_24_ : 1;
bool x13c_25_ : 1;
bool x13c_26_ : 1;
public:
CScriptMazeNode(TUniqueId, std::string_view, const CEntityInfo&, const zeus::CTransform&, bool, s32, s32, s32,