2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-09 09:47:43 +00:00

Runtime/World: Replace bitfield unions with constructor initializers

This commit is contained in:
2020-04-11 01:50:10 -04:00
parent 22880abb7e
commit bb7e94f304
69 changed files with 583 additions and 657 deletions

View File

@@ -69,13 +69,13 @@ CWallCrawlerSwarm::CWallCrawlerSwarm(TUniqueId uid, bool active, std::string_vie
, x548_numBoids(numBoids)
, x54c_maxCreatedBoids(maxCreatedBoids)
, x554_maxLaunches(maxLaunches)
, x558_flavor(flavor) {
, x558_flavor(flavor)
, x560_24_enableLighting(true)
, x560_25_useSoftwareLight(true)
, x560_26_modelAssetDirty(false) {
x168_partitionedBoidLists.resize(125);
x55c_launchSfx = CSfxManager::TranslateSFXID(launchSfx != -1 ? u16(launchSfx) : u16(0xffff));
x55e_scatterSfx = CSfxManager::TranslateSFXID(scatterSfx != -1 ? u16(scatterSfx) : u16(0xffff));
x560_24_enableLighting = true;
x560_25_useSoftwareLight = true;
x560_26_modelAssetDirty = false;
CAnimRes attractAnimRes(animRes);
attractAnimRes.SetCanLoop(true);
attractAnimRes.SetDefaultAnim(attractAnim != -1 ? attractAnim : 0);