Etterna 0.74.4
Loading...
Searching...
No Matches
ScreenTestSound.h
1#ifndef SCREEN_TEST_SOUND_H
2#define SCREEN_TEST_SOUND_H
3
4#include "Etterna/Actor/Base/BitmapText.h"
5#include "RageUtil/Sound/RageSound.h"
6#include "Screen.h"
7
9const int nsounds = 5;
10
11class ScreenTestSound : public Screen
12{
13 public:
14 void Init() override;
15 ~ScreenTestSound() override;
16
17 bool Input(const InputEventPlus& input) override;
18
19 void Update(float f) override;
20 void UpdateText(int n);
21
22 struct Sound
23 {
24 RageSound s;
25 BitmapText txt;
26 };
27 Sound s[nsounds];
28 std::vector<RageSound*> m_sSoundCopies[nsounds];
29 BitmapText HEEEEEEEEELP;
30
31 int selected;
32};
33
34#endif
An actor that holds a Font and draws text to the screen.
Definition BitmapText.h:11
Holds a device input plus Game/Menu translations.
Definition InputEventPlus.h:9
Definition RageSound.h:130
Definition ScreenTestSound.h:12
void Init() override
This is called immediately after construction, to allow initializing after all derived classes exist.
Definition ScreenTestSound.cpp:12
Class that holds a screen-full of Actors.
Definition Screen.h:64
Definition ScreenTestSound.h:23