[Scummvm-cvs-logs] SF.net SVN: scummvm: [28684] scummvm/trunk/engines/agi/sound.h
buddha_ at users.sourceforge.net
buddha_ at users.sourceforge.net
Tue Aug 21 11:12:01 CEST 2007
Revision: 28684
http://scummvm.svn.sourceforge.net/scummvm/?rev=28684&view=rev
Author: buddha_
Date: 2007-08-21 02:12:00 -0700 (Tue, 21 Aug 2007)
Log Message:
-----------
Added note of clarification on enum AgiSoundType's different values.
Modified Paths:
--------------
scummvm/trunk/engines/agi/sound.h
Modified: scummvm/trunk/engines/agi/sound.h
===================================================================
--- scummvm/trunk/engines/agi/sound.h 2007-08-20 20:18:06 UTC (rev 28683)
+++ scummvm/trunk/engines/agi/sound.h 2007-08-21 09:12:00 UTC (rev 28684)
@@ -209,9 +209,13 @@
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
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list