wavelength 1.0.0
Loading...
Searching...
No Matches
songdecryptscreen.h
Go to the documentation of this file.
1#pragma once
2
3#include "met/freqscreen.h"
5#include "rnd/rndmatanim.h"
6#include "script/dataarray.h"
7
17public:
24 ~SongDecryptScreen() override = default;
25
33 explicit SongDecryptScreen(DataArray *pData);
34
43 static UIScreen *New(DataArray *pData) {
44 return new SongDecryptScreen(pData);
45 }
46
55 void Poll(float fTime) override;
56
65 void Exit(UIScreen *pNextScreen, float fTime) override;
66
75 void Enter(UIScreen *pPrevScreen, float fTime) override;
76
84 void SetSong(const char *pszSong);
85
86private:
87 const char *mSong;
88 RndMatAnim *mPicAnim;
89 ViewAnimPlayer mAnimPlayer;
90 int mDecryptPlayed;
91};
Reference-counted array of script data nodes.
Definition dataarray.h:20
FreqScreen(DataArray *pData)
Construct a screen from its script description.
Animation of a material's colours, alpha, and texture stages by keys.
Definition rndmatanim.h:19
void Exit(UIScreen *pNextScreen, float fTime) override
Stop the view and start the exit.
void SetSong(const char *pszSong)
Choose the song, and the picture the s_g_bonus_pic panel loads.
SongDecryptScreen(DataArray *pData)
Construct the screen from its script description, with no song.
void Poll(float fTime) override
Play the decrypt sound once the reveal reaches the second texture key of the first stage of its keys,...
static UIScreen * New(DataArray *pData)
Create a screen from its script description.
Definition songdecryptscreen.h:43
~SongDecryptScreen() override=default
Destroy the object.
void Enter(UIScreen *pPrevScreen, float fTime) override
Label the picture with the type of the song, and start the view.
UIScreen(DataArray *pData)
Construct a screen from its script description.
Player of the entry animation of a view, which loops the cursor sound while a cursor of the animation...
Definition viewanimplayer.h:12