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:
@@ -12,17 +12,12 @@ private:
|
||||
float x38_initialLifetime;
|
||||
float x3c_playbackRate;
|
||||
float x40_lifetime;
|
||||
union {
|
||||
struct {
|
||||
bool x44_24_looping : 1;
|
||||
bool x44_25_isPassive : 1;
|
||||
bool x44_26_fadeOut : 1;
|
||||
bool x44_27_timedLoop : 1;
|
||||
bool x44_28_playing : 1;
|
||||
bool x44_29_ : 1;
|
||||
};
|
||||
u8 _dummy = 0;
|
||||
};
|
||||
bool x44_24_looping : 1;
|
||||
bool x44_25_isPassive : 1;
|
||||
bool x44_26_fadeOut : 1;
|
||||
bool x44_27_timedLoop : 1;
|
||||
bool x44_28_playing : 1;
|
||||
bool x44_29_ : 1;
|
||||
|
||||
public:
|
||||
CScriptActorKeyframe(TUniqueId uid, std::string_view name, const CEntityInfo& info, s32 animId, bool looping,
|
||||
|
||||
Reference in New Issue
Block a user