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

View File

@@ -26,15 +26,7 @@ CScriptPlayerActor::CScriptPlayerActor(TUniqueId uid, std::string_view name, con
, x2e8_suitRes(animRes)
, x304_beam(beam)
, x350_flags(flags)
, x354_24_setBoundingBox(setBoundingBox)
, x354_25_deferOnlineModelData(false)
, x354_26_deferOfflineModelData(false)
, x354_27_beamModelLoading(false)
, x354_28_suitModelLoading(false)
, x354_29_loading(true)
, x354_30_enableLoading(true)
, x354_31_deferOnlineLoad(false)
, x355_24_areaTrackingLoad(false) {
, x354_24_setBoundingBox(setBoundingBox) {
CMaterialList exclude = GetMaterialFilter().GetExcludeList();
CMaterialList include = GetMaterialFilter().GetIncludeList();
include.Add(EMaterialTypes::Player);