Dark Bit Factory & Gravity

PROGRAMMING => General coding questions => Topic started by: hellsangel on September 15, 2010

Title: uFmod 1.25
Post by: hellsangel on September 15, 2010
hello

I need the function getroworder from the last versions of uFmod, but I don't understand how works the new volume scale  ???
the values are no longer 0 to 64 (from original amiga volume min and max) but 0 to 25.
I tried to convert old volume to new one (scale /2.56) but that doesn't work.
how to use setvolume in the last version of uFmod with older values ?

thanks
Title: Re: uFmod 1.25
Post by: Rbz on September 16, 2010
Yes, scaling your volume values by 2.56 should be working, just remember that you need to pass integer values for "uFMOD_SetVolume" function.

Anyway I have compiled a new "ufmod.obj" for you with proper scale from 0 to 64 :)


Title: Re: uFmod 1.25
Post by: hellsangel on September 16, 2010
waou!
wonderful! many thanks Rbz !!!  :cheers:
you're the god of asm  :clap:

:goodpost:
Title: Re: uFmod 1.25
Post by: Rbz on September 17, 2010
I'm glad to help  :cheers: