mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-10 16:27:43 +00:00
Runtime/MP1: Replace bitfield unions with constructor initializers
This commit is contained in:
@@ -6,12 +6,20 @@
|
||||
|
||||
namespace urde {
|
||||
|
||||
CSlideShow::CSlideShow() : CIOWin("SlideShow"), x5c_slideA(*this), x90_slideB(*this) {
|
||||
x130_ = g_tweakSlideShow->GetX54();
|
||||
x134_24_ = true;
|
||||
x134_30_ = true;
|
||||
x135_24_ = true;
|
||||
|
||||
CSlideShow::CSlideShow()
|
||||
: CIOWin("SlideShow")
|
||||
, x5c_slideA(*this)
|
||||
, x90_slideB(*this)
|
||||
, x130_(g_tweakSlideShow->GetX54())
|
||||
, x134_24_(true)
|
||||
, x134_25_(false)
|
||||
, x134_26_(false)
|
||||
, x134_27_(false)
|
||||
, x134_28_disableInput(false)
|
||||
, x134_29_(false)
|
||||
, x134_30_(true)
|
||||
, x134_31_(false)
|
||||
, x135_24_(true) {
|
||||
const SObjectTag* font = g_ResFactory->GetResourceIdByName(g_tweakSlideShow->GetFont());
|
||||
if (font) {
|
||||
CGuiTextProperties propsA(false, true, EJustification::Center, EVerticalJustification::Bottom);
|
||||
|
||||
Reference in New Issue
Block a user