projects
/
supertux.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
oops forgot files again
[supertux.git]
/
src
/
scripting
/
sound.h
1
#ifndef __SOUND_H__
2
#define __SOUND_H__
3
4
namespace Scripting
5
{
6
7
class Sound
8
{
9
public:
10
void play_music(const std::string& musicfile);
11
/**
12
* Play a sound effect. The name should be without path or .wav extension
13
*/
14
void play_sound(const std::string& soundfile);
15
16
#ifndef SCRIPTING_API
17
Sound();
18
~Sound();
19
#endif
20
};
21
22
}
23
24
#endif
25