mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-10 22:27:42 +00:00
Runtime/MP1: Replace bitfield unions with constructor initializers
This commit is contained in:
@@ -14,7 +14,10 @@
|
||||
namespace urde::MP1 {
|
||||
|
||||
CLogBookScreen::CLogBookScreen(const CStateManager& mgr, CGuiFrame& frame, const CStringTable& pauseStrg)
|
||||
: CPauseScreenBase(mgr, frame, pauseStrg, true) {
|
||||
: CPauseScreenBase(mgr, frame, pauseStrg, true)
|
||||
, x260_24_loaded(false)
|
||||
, x260_25_inTextScroll(false)
|
||||
, x260_26_exitTextScroll(false) {
|
||||
x19c_scanCompletes.resize(5);
|
||||
x200_viewScans.resize(5);
|
||||
x258_artifactDoll = std::make_unique<CArtifactDoll>();
|
||||
@@ -177,7 +180,6 @@ bool CLogBookScreen::IsScanCategoryReady(CSaveWorld::EScanCategory category) con
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
void CLogBookScreen::UpdateBodyText() {
|
||||
if (x10_mode != EMode::TextScroll) {
|
||||
x174_textpane_body->TextSupport().SetText(u"");
|
||||
|
||||
Reference in New Issue
Block a user