diff options
Diffstat (limited to 'engines/saga/sndres.h')
-rw-r--r-- | engines/saga/sndres.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/engines/saga/sndres.h b/engines/saga/sndres.h index d5507ebc55..e4bae1b143 100644 --- a/engines/saga/sndres.h +++ b/engines/saga/sndres.h @@ -33,6 +33,11 @@ namespace Saga { +struct FxTable { + int16 res; + int16 vol; +}; + class SndRes { public: @@ -44,11 +49,9 @@ public: int getVoiceLength(uint32 resourceId); void setVoiceBank(int serial); - FxTable *_fxTable; - int _fxTableLen; + Common::Array<FxTable> _fxTable; - int16 *_fxTableIDs; - int _fxTableIDsLen; + Common::Array<int16> _fxTableIDs; private: bool load(ResourceContext *context, uint32 resourceId, SoundBuffer &buffer, bool onlyHeader); |