2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-08 21:07:42 +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

@@ -17,14 +17,8 @@ class CScriptCameraPitchVolume : public CActor {
zeus::CRelAngle x128_downPitch;
zeus::CVector3f x12c_scale;
float x138_maxInterpDistance;
union {
struct {
bool x13c_24_entered : 1;
bool x13c_25_occupied : 1;
};
u32 _dummy = 0;
};
bool x13c_24_entered : 1;
bool x13c_25_occupied : 1;
public:
CScriptCameraPitchVolume(TUniqueId, bool, std::string_view, const CEntityInfo&, const zeus::CVector3f&,