diff options
Diffstat (limited to 'include/game.h')
-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
|