diff --git a/Runtime/CIOWin.hpp b/Runtime/CIOWin.hpp index 76ade1b17..cd9312c53 100644 --- a/Runtime/CIOWin.hpp +++ b/Runtime/CIOWin.hpp @@ -4,6 +4,8 @@ #include #include +#include "RetroTypes.hpp" + namespace urde { class CArchitectureMessage; diff --git a/Runtime/MP1/CFrontEndUI.cpp b/Runtime/MP1/CFrontEndUI.cpp index 2e7165e67..14fc82374 100644 --- a/Runtime/MP1/CFrontEndUI.cpp +++ b/Runtime/MP1/CFrontEndUI.cpp @@ -5,9 +5,11 @@ namespace urde namespace MP1 { -CFrontEndUI::CFrontEndUI(CArchitectureQueue& queue) -: CIOWin("CFrontEnd") -{} +CFrontEndUI::CFrontEndUI() +: CIOWin("FrontEndUI") +{ +} + void CFrontEndUI::OnSliderSelectionChange(CGuiSliderGroup* grp, float) {} void CFrontEndUI::OnCheckBoxSelectionChange(CGuiTableGroup* grp) diff --git a/Runtime/MP1/CFrontEndUI.hpp b/Runtime/MP1/CFrontEndUI.hpp index 14a789c7d..21807de8f 100644 --- a/Runtime/MP1/CFrontEndUI.hpp +++ b/Runtime/MP1/CFrontEndUI.hpp @@ -8,6 +8,7 @@ namespace urde { class CGuiSliderGroup; class CGuiTableGroup; +class CMoviePlayer; struct SObjectTag; namespace MP1 @@ -15,6 +16,8 @@ namespace MP1 class CFrontEndUI : public CIOWin { + u32 x14_ = 0; + u32 x18_; public: enum class EMenuMovie { @@ -23,7 +26,7 @@ public: { }; - CFrontEndUI(CArchitectureQueue& queue); + CFrontEndUI(); void OnSliderSelectionChange(CGuiSliderGroup* grp, float); void OnCheckBoxSelectionChange(CGuiTableGroup* grp); void OnOptionSubMenuCancel(CGuiTableGroup* grp); diff --git a/Runtime/MP1/CMainFlow.cpp b/Runtime/MP1/CMainFlow.cpp index 38d76f0e0..4dc9a2bb7 100644 --- a/Runtime/MP1/CMainFlow.cpp +++ b/Runtime/MP1/CMainFlow.cpp @@ -47,7 +47,7 @@ void CMainFlow::SetGameState(EClientFlowStates state, CArchitectureQueue& queue) */ g_main->LoadAudio(); g_main->RegisterResourceTweaks(); - queue.Push(std::move(MakeMsg::CreateCreateIOWin(EArchMsgTarget::IOWinManager, 12, 11, new CFrontEndUI(queue)))); + queue.Push(std::move(MakeMsg::CreateCreateIOWin(EArchMsgTarget::IOWinManager, 12, 11, new CFrontEndUI()))); break; } case EClientFlowStates::GameLoad: