mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-10 03:47:42 +00:00
RuntimeCommonB: Make use of bitfield initializers where applicable
Given that we now target C++20, we can make use of bitfield initializers where applicable.
This commit is contained in:
@@ -23,8 +23,8 @@ class CBurstFire {
|
||||
float x8_timeToNextShot = 0.f;
|
||||
s32 xc_firstBurstIdx = 0;
|
||||
s32 x10_firstBurstCounter;
|
||||
bool x14_24_shouldFire : 1;
|
||||
bool x14_25_avoidAccuracy : 1;
|
||||
bool x14_24_shouldFire : 1 = false;
|
||||
bool x14_25_avoidAccuracy : 1 = false;
|
||||
|
||||
const SBurst* x18_curBursts = nullptr;
|
||||
rstl::reserved_vector<const SBurst*, 16> x1c_burstDefs;
|
||||
|
||||
Reference in New Issue
Block a user