resonance 1.0.1
Loading...
Searching...
No Matches
metmultistatsscreen.h
Go to the documentation of this file.
1#pragma once
2
3#include <vector>
4
5#include "math/color.h"
6#include "met/metscreen.h"
7
8namespace Rnd {
9class Mat;
10class Mesh;
11class Text;
12} // namespace Rnd
13
31public:
43 MetMultiStatsScreen(MetRenderer *pRenderer, int nPriority);
44
50
62 static MetMultiStatsScreen *New(MetRenderer *pRenderer, int nPriority);
63
78 virtual void EnterAndShow();
79
86 virtual void OnExitFinished();
87
99 virtual void ResolveContainerViews();
100
101private:
102 Rnd::Text *mSongText; // +0x8c, the song name
103 Rnd::Text *mDifficultyText; // +0x90, the difficulty
104 std::vector<Rnd::Text *> mScoreTexts; // +0x94, the score texts
105 std::vector<Rnd::Text *> mNameTexts; // +0xa0, the name texts
106 std::vector<Rnd::Mat *> mPictureMaterials; // +0xac, the persona picture materials
107 std::vector<Rnd::Mesh *> mPlayerMeshes; // +0xb8, the tinted meshes
108 std::vector<int> mPlayerOrder; // +0xc4, the player indices by descending score
109 std::vector<Color> mPlayerColors; // +0xd0, the player colours
110};
virtual void EnterAndShow()
Fill the song, the difficulty, and the player rows, then enter.
MetMultiStatsScreen(MetRenderer *pRenderer, int nPriority)
Construct the screen.
static MetMultiStatsScreen * New(MetRenderer *pRenderer, int nPriority)
Build the screen on the heap.
virtual void OnExitFinished()
Slot 36, overridden empty.
virtual void ResolveContainerViews()
Resolve the container views, the headings, and the four player rows.
virtual ~MetMultiStatsScreen()
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.
Surface description a Rnd::Mesh draws with.
Definition mat.h:36
Indexed triangle mesh with one material.
Definition mesh.h:46
Run of text drawn as a quad per glyph.
Definition text.h:57
The rendering engine.
Definition animhelper.h:3