diff options
author | Eugene Sandulenko | 2004-04-28 23:54:40 +0000 |
---|---|---|
committer | Eugene Sandulenko | 2004-04-28 23:54:40 +0000 |
commit | 4c889000f2dd40f32286bb5637fdbcd869b5cee6 (patch) | |
tree | 9f1adfac0a95a5d51c6da8c8b47c13864cec7524 /saga/sndres.h | |
parent | c3171841aa53d201cdfb62f3630bfa6df53e8937 (diff) | |
download | scummvm-rg350-4c889000f2dd40f32286bb5637fdbcd869b5cee6.tar.gz scummvm-rg350-4c889000f2dd40f32286bb5637fdbcd869b5cee6.tar.bz2 scummvm-rg350-4c889000f2dd40f32286bb5637fdbcd869b5cee6.zip |
Objectizing sound.cpp
svn-id: r13667
Diffstat (limited to 'saga/sndres.h')
-rw-r--r-- | saga/sndres.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/saga/sndres.h b/saga/sndres.h index f241af4151..8b3a06fefa 100644 --- a/saga/sndres.h +++ b/saga/sndres.h @@ -23,7 +23,7 @@ /* Description: - Sound resource management module - private header + Sound resource class header Notes: */ @@ -31,6 +31,9 @@ #ifndef SAGA_SNDRES_H_ #define SAGA_SNDRES_H_ +#include "rscfile_mod.h" +#include "game_mod.h" + namespace Saga { #define R_VOC_TIME_BASE 256000000L @@ -65,7 +68,7 @@ struct R_VOC_BLOCK1 { class SndRes { public: - SndRes(void); + SndRes(SagaEngine *vm); int loadSound(ulong sound_rn); int playVoice(ulong voice_rn); @@ -83,6 +86,8 @@ class SndRes { R_RSCFILE_CONTEXT *_voice_ctxt; R_GAME_SOUNDINFO _snd_info; + + SagaEngine *_vm; }; } // End of namespace Saga |