metaforce/Runtime/MP1/CFrontEndUI.hpp

60 lines
1.7 KiB
C++
Raw Normal View History

2016-02-13 09:02:47 +00:00
#ifndef __PSHAG_CFRONTENDUI_HPP__
#define __PSHAG_CFRONTENDUI_HPP__
2015-08-27 00:23:46 +00:00
#include "CIOWin.hpp"
#include "CGameDebug.hpp"
2016-02-13 09:02:47 +00:00
namespace pshag
2015-08-27 00:23:46 +00:00
{
class CGuiSliderGroup;
class CGuiTableGroup;
2015-08-31 03:44:42 +00:00
struct SObjectTag;
2015-08-27 00:23:46 +00:00
namespace MP1
{
class CFrontEndUI : public CIOWin
{
public:
2015-11-21 01:16:07 +00:00
enum class EMenuMovie
2015-08-27 00:23:46 +00:00
{
};
2015-11-21 01:16:07 +00:00
enum class EScreen
2015-08-27 00:23:46 +00:00
{
};
CFrontEndUI(CArchitectureQueue& queue);
void OnSliderSelectionChange(CGuiSliderGroup* grp, float);
void OnCheckBoxSelectionChange(CGuiTableGroup* grp);
void OnOptionSubMenuCancel(CGuiTableGroup* grp);
void OnOptionsMenuCancel(CGuiTableGroup* grp);
void OnNewGameMenuCancel(CGuiTableGroup* grp);
void OnFileMenuCancel(CGuiTableGroup* grp);
void OnGenericMenuSelectionChange(CGuiTableGroup* grp, int, int);
void OnOptionsMenuAdvance(CGuiTableGroup* grp);
void OnNewGameMenuAdvance(CGuiTableGroup* grp);
void OnFileMenuAdvance(CGuiTableGroup* grp);
void OnMainMenuAdvance(CGuiTableGroup* grp);
const char* GetAttractMovieFileName(int idx);
const char* GetNextAttractMovieFileName(int idx);
void SetCurrentMovie(EMenuMovie movie);
void StopAttractMovie();
void StartAttractMovie(int idx);
void UpdateMenuHighlights(CGuiTableGroup* grp);
void CompleteStateTransition();
bool CanBuild(const SObjectTag& tag);
void StartStateTransition(EScreen screen);
void HandleDebugMenuReturnValue(CGameDebug::EReturnValue val, CArchitectureQueue& queue);
void Draw() const;
void UpdateMovies(float dt);
void Update(float dt, CArchitectureQueue& queue);
EMessageReturn OnMessage(const CArchitectureMessage& msg, CArchitectureQueue& queue);
void StartGame();
void InitializeFrame();
};
}
}
2016-02-13 09:02:47 +00:00
#endif // __PSHAG_CFRONTENDUI_HPP__