From: frenchc AT cadvision DOT com (Calvin French) Newsgroups: comp.os.msdos.djgpp Subject: Re: Timers in Allegro Date: Tue, 15 Apr 1997 10:58:12 GMT Organization: CADVision Development Corp. Lines: 24 Message-ID: <5j16l0$lha@elmo.cadvision.com> References: <19970414205856798 DOT AAA152 AT ns1 DOT megsinet DOT net> NNTP-Posting-Host: ts5ip175.cadvision.com To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk 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 -