CFrontEnd fixes

This commit is contained in:
Phillip Stephens 2016-08-05 16:48:53 -07:00
parent 204969965e
commit ec79bcd397
4 changed files with 12 additions and 5 deletions

View File

@ -4,6 +4,8 @@
#include <string>
#include <memory>
#include "RetroTypes.hpp"
namespace urde
{
class CArchitectureMessage;

View File

@ -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)

View File

@ -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);

View File

@ -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: