On Sun, Feb 11, 2001 at 05:31:27PM +0100, Lars Skovlund wrote:
> (Sound SOUND_SET_MUTE 0)      this will turn on sound
> (Sound SOUND_SET_MUTE 1)      this will mute all channels
> (Sound SOUND_GET_MUTE)                returns the current mute state
> 
> The latter call is not implemented.

Okay, the internals were there already, but anyhow.  I have GET_MUTE
implemented now, but I have a question -- do we return the current state
only if there are no parameters, or do we do it all the time?

ie, does set_mute 0 return 0 and set_mute 1 return 1?

I noticed that it doesn't seem to make any difference, at least not in
sq3 and hoyle -- the change in sound state doesn't seem to toggle,
unlike in "real" SCI.  Perhaps there's something else going on before
that -- maybe the soudn init needs to set something to begin with..

For example, sq3 seems to think the sound volume is 0 (and on), while
hoyle thinkgs teh sound volume is -1 (and off).  Nothing I do can change
what it thikgs the mute status is (maybe it's not updating the menus?)
but the volume slider otherwise works.



 - Pizza
-- 
Solomon Peachy                                    pizzaATfucktheusers.org
I ain't broke, but I'm badly bent.                           ICQ# 1318344
Patience comes to those who wait.
    ...It's not "Beanbag Love", it's a "Transanimate Relationship"...

Reply via email to