resonance 1.0.1
Loading...
Searching...
No Matches
metmultiendremixscreen.h
Go to the documentation of this file.
1#pragma once
2
3#include <vector>
4
5#include "met/metscreen.h"
7
8namespace Rnd {
9class Mat;
10class Mesh;
11class Text;
12} // namespace Rnd
13
34public:
43 MetMultiEndRemixScreen(MetRenderer *pRenderer, int nPriority);
44
50
60 static MetMultiEndRemixScreen *New(MetRenderer *pRenderer, int nPriority);
61
72 virtual void EnterAndShow();
73
83 virtual void UpdateIdle(float flTime);
84
91 virtual void OnExitFinished();
92
103 virtual void ResolveContainerViews();
104
105private:
106 // ResolveContainerViews() fills +0x8c through +0xb4, and the constructor writes none of the
107 // four pointers.
108 Rnd::Text *mBpmText; // +0x8c "erm_bpm.txt"
109 Rnd::Text *mGenreText; // +0x90 "erm_genre.txt"
110 Rnd::Mat *mLogoMat; // +0x94 "erm_logo.mat"
111 Rnd::Mat *mPhotoMat; // +0x98 "erm_photo.mat"
112 std::vector<Rnd::Text *> mNameTexts; // +0x9c "erm_name_0<n>.txt"
113 std::vector<Rnd::Mat *> mPlayerMats; // +0xa8 "erm_player<n>.mat"
114 std::vector<Rnd::Mesh *> mFreqMeshes; // +0xb4 "erm_freq_0<n>.mesh"
115 TexturePairRecord mLogoTextures; // +0xc0
116 TexturePairRecord mLabelTextures; // +0xf0
117};
virtual void UpdateIdle(float flTime)
Advance both texture pairs and show each current texture on its material's first stage.
virtual void ResolveContainerViews()
Resolve the container's views, label the remix panel, and find the tempo and genre texts,...
virtual ~MetMultiEndRemixScreen()
virtual void EnterAndShow()
Load the level's logo and label, show its genre and tempo, fill the four player slots from MetFrontEn...
MetMultiEndRemixScreen(MetRenderer *pRenderer, int nPriority)
Construct the screen.
static MetMultiEndRemixScreen * New(MetRenderer *pRenderer, int nPriority)
Build the screen on the heap.
virtual void OnExitFinished()
Empty in this class.
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
Pair of textures a screen alternates between, one shown while the other loads.
Definition texturepairrecord.h:30
The rendering engine.
Definition animhelper.h:3