Mail Archives: djgpp/1997/04/18/14:49:48
admcs AT megsinet DOT net (Paul Schmidt) wrote:
>Is it possible to have a counting timer, like how many seconds (fix 1, i.e.
>28.4 secs) and is there functions to start pause and stop a timer after you
>create it?
>Paul Schmidt
>ADM Computer Services
>admcs AT megsinet DOT net
see my allegro add-on, "atimer". should be available at:
x2ftp.oulu.fi/pub/msdos/programming/djgppv2/atimer.zip
or something similar. It allows the creation of unlimited timer
objects, while only using up one allegro timer resource, and also is a
neat wrapper. One slight bug though, you need to call stop() before
you can call read(). Also, i'm not totally 100% sure it works, but it
seems to... :-)
- Calvin -
- Raw text -