mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 17: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:
@@ -191,11 +191,7 @@ int CDummyWorld::IGetAreaCount() const { return x18_areas.size(); }
|
||||
CWorld::CWorld(IObjectStore& objStore, IFactory& resFactory, CAssetId mlvlId)
|
||||
: x8_mlvlId(mlvlId)
|
||||
, x60_objectStore(objStore)
|
||||
, x64_resFactory(resFactory)
|
||||
, x70_24_currentAreaNeedsAllocation(true)
|
||||
, x70_25_loadPaused(false)
|
||||
, x70_26_skyboxActive(false)
|
||||
, x70_27_skyboxVisible(false) {
|
||||
, x64_resFactory(resFactory) {
|
||||
SObjectTag tag{FOURCC('MLVL'), mlvlId};
|
||||
x44_bufSz = resFactory.ResourceSize(tag);
|
||||
x40_loadBuf.reset(new u8[x44_bufSz]);
|
||||
|
||||
Reference in New Issue
Block a user