mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-13 16:06:08 +00:00
RuntimeCommon: Make use of bitfield initializers where applicable
Continues and finishes the migration towards initializing all bitfield members where applicable
This commit is contained in:
@@ -18,17 +18,10 @@ s32 CActorLights::sFrameSchedulerCount = 0;
|
||||
CActorLights::CActorLights(u32 areaUpdateFramePeriod, const zeus::CVector3f& actorPosBias, int maxDynamicLights,
|
||||
int maxAreaLights, bool ambientChannelOverflow, bool layer2, bool disableWorldLights,
|
||||
float positionUpdateThreshold)
|
||||
: x298_24_dirty(true)
|
||||
, x298_25_castShadows(true)
|
||||
, x298_26_hasAreaLights(false)
|
||||
, x298_27_findShadowLight(false)
|
||||
, x298_28_inArea(!disableWorldLights && maxAreaLights > 0)
|
||||
: x298_28_inArea(!disableWorldLights && maxAreaLights > 0)
|
||||
, x298_29_ambienceGenerated(ambientChannelOverflow)
|
||||
, x298_30_layer2(layer2)
|
||||
, x298_31_disableWorldLights(disableWorldLights)
|
||||
, x299_24_inBrightLight(true)
|
||||
, x299_25_useBrightLightLag(false)
|
||||
, x299_26_ambientOnly(false)
|
||||
, x2a8_areaUpdateFramePeriod(areaUpdateFramePeriod)
|
||||
, x2ac_actorPosBias(actorPosBias)
|
||||
, x2b8_maxAreaLights(maxAreaLights)
|
||||
|
||||
Reference in New Issue
Block a user