Etterna
0.74.4
Loading...
Searching...
No Matches
src
Etterna
Screen
Others
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
9
const
int
nsounds = 5;
10
11
class
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
BitmapText
An actor that holds a Font and draws text to the screen.
Definition
BitmapText.h:11
InputEventPlus
Holds a device input plus Game/Menu translations.
Definition
InputEventPlus.h:9
RageSound
Definition
RageSound.h:130
ScreenTestSound
Definition
ScreenTestSound.h:12
ScreenTestSound::Init
void Init() override
This is called immediately after construction, to allow initializing after all derived classes exist.
Definition
ScreenTestSound.cpp:12
Screen
Class that holds a screen-full of Actors.
Definition
Screen.h:64
ScreenTestSound::Sound
Definition
ScreenTestSound.h:23
Generated by
1.9.8