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 <string>
|
||||||
#include <memory>
|
#include <memory>
|
||||||
|
|
||||||
|
#include "RetroTypes.hpp"
|
||||||
|
|
||||||
namespace urde
|
namespace urde
|
||||||
{
|
{
|
||||||
class CArchitectureMessage;
|
class CArchitectureMessage;
|
||||||
|
|
|
@ -5,9 +5,11 @@ namespace urde
|
||||||
namespace MP1
|
namespace MP1
|
||||||
{
|
{
|
||||||
|
|
||||||
CFrontEndUI::CFrontEndUI(CArchitectureQueue& queue)
|
CFrontEndUI::CFrontEndUI()
|
||||||
: CIOWin("CFrontEnd")
|
: CIOWin("FrontEndUI")
|
||||||
{}
|
{
|
||||||
|
}
|
||||||
|
|
||||||
void CFrontEndUI::OnSliderSelectionChange(CGuiSliderGroup* grp, float)
|
void CFrontEndUI::OnSliderSelectionChange(CGuiSliderGroup* grp, float)
|
||||||
{}
|
{}
|
||||||
void CFrontEndUI::OnCheckBoxSelectionChange(CGuiTableGroup* grp)
|
void CFrontEndUI::OnCheckBoxSelectionChange(CGuiTableGroup* grp)
|
||||||
|
|
|
@ -8,6 +8,7 @@ namespace urde
|
||||||
{
|
{
|
||||||
class CGuiSliderGroup;
|
class CGuiSliderGroup;
|
||||||
class CGuiTableGroup;
|
class CGuiTableGroup;
|
||||||
|
class CMoviePlayer;
|
||||||
struct SObjectTag;
|
struct SObjectTag;
|
||||||
|
|
||||||
namespace MP1
|
namespace MP1
|
||||||
|
@ -15,6 +16,8 @@ namespace MP1
|
||||||
|
|
||||||
class CFrontEndUI : public CIOWin
|
class CFrontEndUI : public CIOWin
|
||||||
{
|
{
|
||||||
|
u32 x14_ = 0;
|
||||||
|
u32 x18_;
|
||||||
public:
|
public:
|
||||||
enum class EMenuMovie
|
enum class EMenuMovie
|
||||||
{
|
{
|
||||||
|
@ -23,7 +26,7 @@ public:
|
||||||
{
|
{
|
||||||
};
|
};
|
||||||
|
|
||||||
CFrontEndUI(CArchitectureQueue& queue);
|
CFrontEndUI();
|
||||||
void OnSliderSelectionChange(CGuiSliderGroup* grp, float);
|
void OnSliderSelectionChange(CGuiSliderGroup* grp, float);
|
||||||
void OnCheckBoxSelectionChange(CGuiTableGroup* grp);
|
void OnCheckBoxSelectionChange(CGuiTableGroup* grp);
|
||||||
void OnOptionSubMenuCancel(CGuiTableGroup* grp);
|
void OnOptionSubMenuCancel(CGuiTableGroup* grp);
|
||||||
|
|
|
@ -47,7 +47,7 @@ void CMainFlow::SetGameState(EClientFlowStates state, CArchitectureQueue& queue)
|
||||||
*/
|
*/
|
||||||
g_main->LoadAudio();
|
g_main->LoadAudio();
|
||||||
g_main->RegisterResourceTweaks();
|
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;
|
break;
|
||||||
}
|
}
|
||||||
case EClientFlowStates::GameLoad:
|
case EClientFlowStates::GameLoad:
|
||||||
|
|
Loading…
Reference in New Issue