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
8
namespace
Rnd
{
9
class
Mat
;
10
class
Mesh
;
11
class
Text
;
12
}
// namespace Rnd
13
30
class
MetMultiStatsScreen
:
public
MetScreen
{
31
public
:
43
MetMultiStatsScreen
(
MetRenderer
*pRenderer,
int
nPriority);
44
49
virtual
~MetMultiStatsScreen
();
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
101
private
:
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
};
MetMultiStatsScreen::EnterAndShow
virtual void EnterAndShow()
Fill the song, the difficulty, and the player rows, then enter.
MetMultiStatsScreen::MetMultiStatsScreen
MetMultiStatsScreen(MetRenderer *pRenderer, int nPriority)
Construct the screen.
MetMultiStatsScreen::New
static MetMultiStatsScreen * New(MetRenderer *pRenderer, int nPriority)
Build the screen on the heap.
MetMultiStatsScreen::OnExitFinished
virtual void OnExitFinished()
Slot 36, overridden empty.
MetMultiStatsScreen::ResolveContainerViews
virtual void ResolveContainerViews()
Resolve the container views, the headings, and the four player rows.
MetMultiStatsScreen::~MetMultiStatsScreen
virtual ~MetMultiStatsScreen()
MetRenderer
Front-end renderer that owns the screen stack and drives every MetScreen.
Definition
metrenderer.h:68
MetScreen::MetScreen
MetScreen(MetRenderer *pRenderer, int nPriority, const HxStr &name, const HxStr &directory, const HxStr &file)
Construct a screen and start its container load.
Rnd::Mat
Surface description a Rnd::Mesh draws with.
Definition
mat.h:36
Rnd::Mesh
Indexed triangle mesh with one material.
Definition
mesh.h:46
Rnd::Text
Run of text drawn as a quad per glyph.
Definition
text.h:57
color.h
metscreen.h
Rnd
The rendering engine.
Definition
animhelper.h:3
src
met
metmultistatsscreen.h
Generated by
1.15.0