diff options
author | Treeki <treeki@gmail.com> | 2012-10-19 03:03:11 +0200 |
---|---|---|
committer | Treeki <treeki@gmail.com> | 2012-10-19 03:03:11 +0200 |
commit | e46b9fd64bfe675085d8117b4f7842fdf7d09bbb (patch) | |
tree | 1246ef27650f51507460c24447c21afd480e40de /include | |
parent | 9640a0b9ea3e031c86187f10e53553a8cc9b5213 (diff) | |
download | kamek-e46b9fd64bfe675085d8117b4f7842fdf7d09bbb.tar.gz kamek-e46b9fd64bfe675085d8117b4f7842fdf7d09bbb.zip |
fixed sounds
Diffstat (limited to 'include')
-rwxr-xr-x | include/game.h | 15 |
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
|