projects
/
supertux.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
manually add dependency from lexer.cpp to parser.hpp
[supertux.git]
/
src
/
scripting
/
sound.hpp
1
#ifndef __SOUND_H__
2
#define __SOUND_H__
3
4
namespace Scripting
5
{
6
7
/**
8
* This class allows manipulating the sound output of the game
9
*/
10
class Sound
11
{
12
public:
13
void play_music(const std::string& musicfile);
14
/**
15
* Play a sound effect. The name should be without path or .wav extension
16
*/
17
void play(const std::string& soundfile);
18
19
#ifndef SCRIPTING_API
20
Sound();
21
~Sound();
22
#endif
23
};
24
25
}
26
27
#endif
28