summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTreeki <treeki@gmail.com>2012-10-19 03:03:11 +0200
committerTreeki <treeki@gmail.com>2012-10-19 03:03:11 +0200
commite46b9fd64bfe675085d8117b4f7842fdf7d09bbb (patch)
tree1246ef27650f51507460c24447c21afd480e40de /include
parent9640a0b9ea3e031c86187f10e53553a8cc9b5213 (diff)
downloadkamek-e46b9fd64bfe675085d8117b4f7842fdf7d09bbb.tar.gz
kamek-e46b9fd64bfe675085d8117b4f7842fdf7d09bbb.zip
fixed sounds
Diffstat (limited to 'include')
-rwxr-xr-xinclude/game.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/include/game.h b/include/game.h
index 0a843c2..63a076c 100755
--- a/include/game.h
+++ b/include/game.h
@@ -3367,5 +3367,20 @@ bool FreeEffects(int efNum);
bool FreeBreff(int efNum);
bool FreeBreft(int efNum);
+
+namespace nw4r {
+ namespace snd {
+ class SoundHandle {
+ private:
+ void *data;
+ public:
+ SoundHandle() { data = 0; }
+ ~SoundHandle() { DetachSound(); }
+
+ void DetachSound();
+ };
+ }
+}
+
#endif