projects
/
supertux.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
f3c77f7a7c43e684ff9d3a7638e5025d0a377f98
[supertux.git]
/
sound.cpp
1
#include <config.h>
2
3
#include <string>
4
#include <stdio.h>
5
#include "sound.h"
6
#include "resources.h"
7
#include "audio/sound_manager.h"
8
9
#define NOIMPL printf("%s not implemented.\n", __PRETTY_FUNCTION__);
10
11
namespace Scripting
12
{
13
14
Sound::Sound()
15
{}
16
17
Sound::~Sound()
18
{}
19
20
void
21
Sound::play_music(const std::string& )
22
{
23
NOIMPL;
24
}
25
26
void
27
Sound::play_sound(const std::string& name)
28
{
29
sound_manager->play_sound(name);
30
}
31
}