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:
@@ -54,18 +54,12 @@ protected:
|
||||
float x128_forceMagnitude;
|
||||
ETriggerFlags x12c_flags;
|
||||
zeus::CAABox x130_bounds;
|
||||
|
||||
union {
|
||||
struct {
|
||||
bool x148_24_detectCamera : 1;
|
||||
bool x148_25_camSubmerged : 1;
|
||||
bool x148_26_deactivateOnEntered : 1;
|
||||
bool x148_27_deactivateOnExited : 1;
|
||||
bool x148_28_playerTriggerProc : 1;
|
||||
bool x148_29_didPhazonDamage : 1;
|
||||
};
|
||||
u8 dummy = 0;
|
||||
};
|
||||
bool x148_24_detectCamera : 1;
|
||||
bool x148_25_camSubmerged : 1;
|
||||
bool x148_26_deactivateOnEntered : 1;
|
||||
bool x148_27_deactivateOnExited : 1;
|
||||
bool x148_28_playerTriggerProc : 1;
|
||||
bool x148_29_didPhazonDamage : 1;
|
||||
|
||||
public:
|
||||
CScriptTrigger(TUniqueId, std::string_view name, const CEntityInfo& info, const zeus::CVector3f& pos,
|
||||
|
||||
Reference in New Issue
Block a user