mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-16 12:57:01 +00:00
Runtime/MP1/World: Replace bitfield unions with constructor initializers
This commit is contained in:
@@ -75,19 +75,14 @@ class CMetroidBeta : public CPatterned {
|
||||
float x834_ = 0.f;
|
||||
CRandom16 x838_ = CRandom16(1469);
|
||||
float x83c_;
|
||||
union {
|
||||
struct {
|
||||
bool x840_24_ : 1;
|
||||
bool x840_25_ : 1;
|
||||
bool x840_26_ : 1;
|
||||
bool x840_27_ : 1;
|
||||
bool x840_28_ : 1;
|
||||
bool x840_29_ : 1;
|
||||
bool x840_30_ : 1;
|
||||
bool x840_31_ : 1;
|
||||
};
|
||||
u32 _dummy = 0;
|
||||
};
|
||||
bool x840_24_ : 1;
|
||||
bool x840_25_ : 1;
|
||||
bool x840_26_ : 1;
|
||||
bool x840_27_ : 1;
|
||||
bool x840_28_ : 1;
|
||||
bool x840_29_ : 1;
|
||||
bool x840_30_ : 1;
|
||||
bool x840_31_ : 1;
|
||||
|
||||
void CreateCollisionActorManager(CStateManager& mgr);
|
||||
void AddSphereJoints(SSphereJointInfo* sphereJoints, s32 count, std::vector<CJointCollisionDescription>& joints);
|
||||
|
||||
Reference in New Issue
Block a user