[Inform] Sound


Mon, 27 Nov 1995 17:20:21 +0100

The SZM 0.2 says,
In Version 5 and later, a game should have bit 7 of `Flags 2' set in its
story file if it wants to use sound effects. The interpreter should then
clear this bit if it cannot oblige.

Just when, and indeed how, should I set this bit? Do I do something like
`0->16=0->16 & 7;' in the Initialise routine? Or is that totally wrong?

Also, when should I "finish with" a sound? Just after starting it, or does
this stop it immediately? Should I instead finish with it at a point where I
know for certain it has stopped "naturally"?

Should I `@sound_effect 1 #r$Routine;' or `@sound_effect 1 0 0 #r$Routine;'?

-- 
Jools Arnold                                          jools@arnod.demon.co.uk