2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-09 09:47:43 +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:
Lioncash
2020-04-20 00:57:50 -04:00
parent 2103c38f54
commit 554893ef85
184 changed files with 587 additions and 1117 deletions

View File

@@ -28,14 +28,6 @@ CScriptDebris::CScriptDebris(TUniqueId uid, std::string_view name, const CEntity
, x27c_restitution(restitution)
, x280_scaleType(scaleType)
, x281_24_randomAngImpulse(randomAngImpulse)
, x281_25_particle1GlobalTranslation(false)
, x281_26_deferDeleteTillParticle1Done(false)
, x281_27_particle2GlobalTranslation(false)
, x281_28_deferDeleteTillParticle2Done(false)
, x281_29_particle3Active(false)
, x281_30_debrisExtended(false)
, x281_31_dieOnProjectile(false)
, x282_24_noBounce(false)
, x2b0_scale(mData.GetScale())
, x2e0_speedAvg(2.f) {
if (scaleType == EScaleType::NoScale)