mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-10 07: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:
@@ -50,10 +50,6 @@ constexpr std::array<u16, 2> SelectionSfxs{
|
||||
CHudVisorBeamMenu::CHudVisorBeamMenu(CGuiFrame& baseHud, EHudVisorBeamMenu type,
|
||||
const rstl::reserved_vector<bool, 4>& enables)
|
||||
: x0_baseHud(baseHud), x4_type(type) {
|
||||
x14_24_visibleDebug = true;
|
||||
x14_25_visibleGame = true;
|
||||
x14_26_dirty = true;
|
||||
|
||||
x7c_animDur = g_tweakGui->GetBeamVisorMenuAnimTime();
|
||||
x80_24_swapBeamControls = g_GameState->GameOptions().GetSwapBeamControls();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user