mirror of https://github.com/AxioDL/metaforce.git
CFrontEnd fixes
This commit is contained in:
parent
204969965e
commit
ec79bcd397
|
@ -4,6 +4,8 @@
|
|||
#include <string>
|
||||
#include <memory>
|
||||
|
||||
#include "RetroTypes.hpp"
|
||||
|
||||
namespace urde
|
||||
{
|
||||
class CArchitectureMessage;
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue