resonance 1.0.1
Loading...
Searching...
No Matches
metdemostagesel.h
Go to the documentation of this file.
1#pragma once
2
3#ifdef VIDEO_STANDARD_PAL
4#include "met/metbuttonlist.h"
5#include "met/metscreen.h"
7#include "rnd/mesh.h"
8#include "rnd/text.h"
9
30class MetDEMOStageSel : public MetScreen {
31public:
41 MetDEMOStageSel(MetRenderer *pRenderer, int nPriority);
42
48 virtual ~MetDEMOStageSel();
49
60 static MetDEMOStageSel *New(MetRenderer *pRenderer, int nPriority);
61
75 virtual void EnterAndShow();
76
85 virtual void BeginExit();
86
103 virtual void HandleCommand(const MetScreenCommand *pCommand);
104
110 virtual void PlayCycleLeftSound(int) {
111 }
112
118 virtual void PlayCycleRightSound(int) {
119 }
120
131 virtual void UpdateIdle(float flTime);
132
139 virtual void OnRepeatingSoundFinished(Rnd::Button *pButton);
140
146 virtual void OnEnterFinished();
147
156 virtual void OnExitFinished();
157
166 virtual void ResolveContainerViews();
167
168private:
174 void ShowSelectedSong();
175
176 TexturePairRecord *mLogoPair; // +0x8c `gSongLogo1.tex` and `gSongLogo2.tex`
177 TexturePairRecord *mLabelPair; // +0x90 `gSongLabel1.tex` and `gSongLabel2.tex`
178 // Set by ShowSelectedSong() and cleared by slot 26 once both textures show. +0x94
179 int mLoadPending;
180 MetButtonList *mStageList; // +0x98 The tutorial button and the song buttons.
181 Rnd::Text *mGenreText; // +0x9c `ss_genre_bpm.txt`
182 Rnd::Mesh *mTvLogoMesh; // +0xa0 `sstv_logo right.mesh`
183 Rnd::Mesh *mTvLabelMesh; // +0xa4 `sstv_label_right.mesh`
184 Rnd::Text *mBioText; // +0xa8 `ss_bio.txt`
185 Rnd::Text *mLabelText; // +0xac `ss_label.txt`
186};
187#endif
Base of every front-end screen.
Definition metscreen.h:212