resonance 1.0.1
Loading...
Searching...
No Matches
metsoloendremixscreen.h
Go to the documentation of this file.
1#pragma once
2
3#include "met/metremixsaver.h"
4#include "met/metscreen.h"
6
7namespace Rnd {
8class Mat;
9class Tex;
10class Text;
11} // namespace Rnd
12
48public:
57 MetSoloEndRemixScreen(MetRenderer *pRenderer, int nPriority);
58
64
76 static MetSoloEndRemixScreen *New(MetRenderer *pRenderer, int nPriority);
77
88 virtual void EnterAndShow();
89
99 virtual void OnPanelActivated();
100
111 virtual void UpdateIdle(float flTime);
112
123 virtual void OnExitFinished();
124
136 virtual void ResolveContainerViews();
137
148 virtual void OnSaveFinished(int bCompleted);
149
158 virtual void OnHelpRequested();
159
171 virtual void SetOwnerScreenShowing(int bShowing);
172
173private:
184 void ReturnToTitle();
185
200 void ShowResults();
201
202 // ResolveContainerViews() fills +0x90 through +0xb4, and the constructor writes none of them.
203 Rnd::Text *mBpmText; // +0x90 "ers_bpm.txt"
204 Rnd::Text *mGenreText; // +0x94 "ers_genre.txt"
205 Rnd::Text *mTitleText; // +0x98 "ers_title.txt"
206 Rnd::Text *mArtistText; // +0x9c "ers_artist.txt"
207 Rnd::Text *mDateText; // +0xa0 "ers_date.txt"
208 Rnd::Text *mFreqNameText; // +0xa4 "ers_freqname_remix.txt"
209 Rnd::Mat *mFaceMat; // +0xa8 "ers_face.mat"
210 Rnd::Tex *mBurnTex; // +0xac The first persona burn texture.
211 Rnd::Mat *mLogoMat; // +0xb0 "ers_logo.mat"
212 Rnd::Mat *mPhotoMat; // +0xb4 "ers_photo.mat"
213 // Set once this screen has exited the stack for the help screen or a declined save. Slot 3
214 // sets it, slot 4 stores the negation of its argument in it, and slots 2 and 36 branch on it.
215 // The constructor never writes it. A screen whose slot 36 runs before either setter therefore
216 // reads an indeterminate value.
217 int mScreenExited; // +0xb8
218 // The two texture pairs the screen flips between, built from the song logo and the song label
219 // pairs in that order.
220 TexturePairRecord mLogoTextures; // +0xbc
221 TexturePairRecord mLabelTextures; // +0xec
222};
Mix-in for a screen that writes a remix to a memory card.
Definition metremixsaver.h:26
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.
virtual void EnterAndShow()
Show the screen, or first save the global settings when the front end asks for it.
virtual void UpdateIdle(float flTime)
Advance both texture pairs and show each one's current texture.
virtual void OnHelpRequested()
Record that the departure sequence has been requested and start the exit animation.
MetSoloEndRemixScreen(MetRenderer *pRenderer, int nPriority)
Construct the screen.
virtual void ResolveContainerViews()
Resolve the container objects this screen drives.
static MetSoloEndRemixScreen * New(MetRenderer *pRenderer, int nPriority)
Allocate and construct the screen.
virtual void OnSaveFinished(int bCompleted)
Depart the screen, or run the departure sequence when one is already pending.
virtual void SetOwnerScreenShowing(int bShowing)
Show or exit this screen and record which of the two happened.
virtual ~MetSoloEndRemixScreen()
virtual void OnExitFinished()
Run the departure sequence once, unless a save is still pending.
virtual void OnPanelActivated()
Make the save screen the active panel.
Surface description a Rnd::Mesh draws with.
Definition mat.h:36
Texture, as a bitmap path plus the load state of its mip levels.
Definition tex.h:43
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