From e46b9fd64bfe675085d8117b4f7842fdf7d09bbb Mon Sep 17 00:00:00 2001 From: Treeki Date: Fri, 19 Oct 2012 03:03:11 +0200 Subject: fixed sounds --- include/game.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'include') 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 -- cgit v1.2.3