mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-15 04:06:09 +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:
@@ -23,8 +23,6 @@ constexpr std::array IconTranslateRanges{
|
||||
|
||||
CHudThreatInterface::CHudThreatInterface(CGuiFrame& selHud, EHudType hudType, float threatDist)
|
||||
: x4_hudType(hudType), x10_threatDist(threatDist) {
|
||||
x54_24_visibleDebug = true;
|
||||
x54_25_visibleGame = true;
|
||||
x58_basewidget_threatstuff = selHud.FindWidget("basewidget_threatstuff");
|
||||
x5c_basewidget_threaticon = selHud.FindWidget("basewidget_threaticon");
|
||||
x60_model_threatarrowup = static_cast<CGuiModel*>(selHud.FindWidget("model_threatarrowup"));
|
||||
|
||||
Reference in New Issue
Block a user