diff options
Diffstat (limited to 'engines/sci/sfx/music.h')
-rw-r--r-- | engines/sci/sfx/music.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/engines/sci/sfx/music.h b/engines/sci/sfx/music.h index 574dc15e6f..ff2c27e8d3 100644 --- a/engines/sci/sfx/music.h +++ b/engines/sci/sfx/music.h @@ -86,7 +86,12 @@ struct MusicEntry { typedef Common::Array<MusicEntry *> MusicList; -class SciMusic : public Common::Serializable { +class SciMusic +#ifndef USE_OLD_MUSIC_FUNCTIONS + : public Common::Serializable +#endif +{ + public: SciMusic(SciVersion soundVersion); ~SciMusic(); @@ -136,7 +141,9 @@ public: void reconstructSounds(int savegame_version); +#ifndef USE_OLD_MUSIC_FUNCTIONS virtual void saveLoadWithSerializer(Common::Serializer &ser); +#endif protected: byte findAudEntry(uint16 nAud, byte&oVolume, uint32& oOffset, uint32&oSize); |