From 55896e7584f00a4e04653971d6c655dbde01bf51 Mon Sep 17 00:00:00 2001 From: Kari Salminen Date: Tue, 21 Aug 2007 09:12:00 +0000 Subject: Added note of clarification on enum AgiSoundType's different values. svn-id: r28684 --- engines/agi/sound.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/engines/agi/sound.h b/engines/agi/sound.h index 9ef4ebd20b..e075e9820e 100644 --- a/engines/agi/sound.h +++ b/engines/agi/sound.h @@ -209,9 +209,13 @@ struct IIgsChannelInfo { bool end; ///< Has the playing ended? }; + /** + * AGI sound resource types. + * It's probably coincidence that all the values here are powers of two + * as they're simply the different used values in AGI sound resources' + * starts (The first 16-bit little endian word, to be precise). + */ enum AgiSoundType { - // FIXME: Fingolfin wonders: Why are bitmasks used here, when those - // types seem to be mutually exclusive? AGI_SOUND_SAMPLE = 0x0001, AGI_SOUND_MIDI = 0x0002, AGI_SOUND_4CHN = 0x0008 -- cgit v1.2.3