mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-10 02:27:42 +00:00
Runtime/World: Replace bitfield unions with constructor initializers
This commit is contained in:
@@ -18,16 +18,10 @@ class CScriptActorRotate : public CEntity {
|
||||
float x40_maxTime;
|
||||
float x44_currentTime = 0.f;
|
||||
std::map<TUniqueId, zeus::CTransform> x48_actors;
|
||||
|
||||
union {
|
||||
struct {
|
||||
bool x58_24_updateRotation : 1;
|
||||
bool x58_25_skipSpiderBallWaypoints : 1;
|
||||
bool x58_26_updateActors : 1;
|
||||
bool x58_27_updateOnCreation : 1;
|
||||
};
|
||||
u32 dummy = 0;
|
||||
};
|
||||
bool x58_24_updateRotation : 1;
|
||||
bool x58_25_skipSpiderBallWaypoints : 1;
|
||||
bool x58_26_updateActors : 1;
|
||||
bool x58_27_updateOnCreation : 1;
|
||||
|
||||
void UpdateActors(bool, CStateManager&);
|
||||
void UpdateSpiderBallWaypoints(CStateManager&);
|
||||
|
||||
Reference in New Issue
Block a user