resonance 1.0.1
Loading...
Searching...
No Matches
metmultiendscreen.h
Go to the documentation of this file.
1#pragma once
2
3#include <vector>
4
5#include "met/metscreen.h"
6
7class MetButtonList;
8
9namespace Rnd {
10class Button;
11} // namespace Rnd
12
38public:
47 MetMultiEndScreen(MetRenderer *pRenderer, int nPriority);
48
56
66 static MetMultiEndScreen *New(MetRenderer *pRenderer, int nPriority);
67
77 virtual void EnterAndShow();
78
89 virtual void HandleCommand(const MetScreenCommand *pCommand);
90
98 virtual void PlayLeaveSound(int nSelector);
99
107 virtual void PlayCycleLeftSound(int nSelector);
108
116 virtual void PlayCycleRightSound(int nSelector);
117
127 virtual void OnRepeatingSoundFinished(Rnd::Button *pButton);
128
140 virtual void OnExitFinished();
141
142private:
143 MetButtonList *mButtonList; // +0x8c
144 int mReserved; // +0x90, never written or read by the recovered routines.
145 // The constructor empties the five vectors and the destructor releases them. No recovered
146 // routine reads them, and int stands in for the unrecovered four-byte element. The names follow
147 // the vectors at the same offsets in MetMultiStatsScreen, the layout this class matches.
148 std::vector<int> mScoreTexts; // +0x94
149 std::vector<int> mNameTexts; // +0xa0
150 std::vector<int> mPictureMaterials; // +0xac
151 std::vector<int> mPlayerMeshes; // +0xb8
152 std::vector<int> mPlayerOrder; // +0xc4
153};
Ring of front-end buttons with one of them selected.
Definition metbuttonlist.h:34
MetMultiEndScreen(MetRenderer *pRenderer, int nPriority)
Construct the screen.
virtual void PlayCycleLeftSound(int nSelector)
Play nothing.
virtual void HandleCommand(const MetScreenCommand *pCommand)
Move along the button ring, or act on the selection.
virtual void EnterAndShow()
Rebuild the two buttons, set the multi_game_over title and the no_back_title layout,...
virtual void PlayLeaveSound(int nSelector)
Play nothing.
virtual void OnRepeatingSoundFinished(Rnd::Button *pButton)
Exit the multiplayer stats, title, and help screens and start this screen's exit.
virtual ~MetMultiEndScreen()
Delete the button list and release the five vectors.
virtual void OnExitFinished()
Leave for the load screen or the stage select once the exit has finished.
static MetMultiEndScreen * New(MetRenderer *pRenderer, int nPriority)
Build the screen on the heap.
virtual void PlayCycleRightSound(int nSelector)
Play nothing.
Front-end renderer that owns the screen stack and drives every MetScreen.
Definition metrenderer.h:68
MetScreen(MetRenderer *pRenderer, int nPriority, const HxStr &name, const HxStr &directory, const HxStr &file)
Construct a screen and start its container load.
Selectable widget, as one mesh and one text run plus a palette for each.
Definition button.h:39
The rendering engine.
Definition animhelper.h:3
One navigation command delivered to a screen.
Definition metscreen.h:46