Hi Phil, Actually, that's not strange at all. In programming all arrays begin with 0 and begin counting up from there. As it happens my audio class does use a sound array to index all the sound effects, 0 through 149, and all I have to do to stop a certain sound is call the Audio::SoundStop function and pass it the value for the specific sound handle I want to stop. However, I'm not quite certain why the torch is failing to stop as it works with every other sound in the game just fine.
On 7/6/10, Phil Vlasak <p...@pcsgames.net> wrote: > Hi Thomas, > One thing that was strange in programming our DOS games was that numbers > start at 0 instead of 1 so that if you had a list of 10 items they were > numbered 0 through 9. > One suggestion about the continuing looping torch is that it might be set > with a 0 handle instead of 1. > In the GMA engine the 0 handle is always the background song. > Hope this helps. > Phil > > > --- > Gamers mailing list __ Gamers@audyssey.org > If you want to leave the list, send E-mail to > gamers-unsubscr...@audyssey.org. > You can make changes or update your subscription via the web, at > http://audyssey.org/mailman/listinfo/gamers_audyssey.org. > All messages are archived and can be searched and read at > http://www.mail-archive.com/gam...@audyssey.org. > If you have any questions or concerns regarding the management of the list, > please send E-mail to gamers-ow...@audyssey.org. > --- Gamers mailing list __ Gamers@audyssey.org If you want to leave the list, send E-mail to gamers-unsubscr...@audyssey.org. You can make changes or update your subscription via the web, at http://audyssey.org/mailman/listinfo/gamers_audyssey.org. All messages are archived and can be searched and read at http://www.mail-archive.com/gam...@audyssey.org. If you have any questions or concerns regarding the management of the list, please send E-mail to gamers-ow...@audyssey.org.