projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
- Change ScriptInterpreter to a gameobject, so we can now have several script
[supertux.git]
/
src
/
scripting
/
sound.cpp
diff --git
a/src/scripting/sound.cpp
b/src/scripting/sound.cpp
index
a0589c7
..
f3c77f7
100644
(file)
--- a/
src/scripting/sound.cpp
+++ b/
src/scripting/sound.cpp
@@
-3,6
+3,8
@@
#include <string>
#include <stdio.h>
#include "sound.h"
#include <string>
#include <stdio.h>
#include "sound.h"
+#include "resources.h"
+#include "audio/sound_manager.h"
#define NOIMPL printf("%s not implemented.\n", __PRETTY_FUNCTION__);
#define NOIMPL printf("%s not implemented.\n", __PRETTY_FUNCTION__);
@@
-22,8
+24,8
@@
namespace Scripting
}
void
}
void
- Sound::play_sound(const std::string& )
+ Sound::play_sound(const std::string&
name
)
{
{
-
NOIMPL
;
+
sound_manager->play_sound(name)
;
}
}
}
}