Mail Archives: djgpp/1997/01/20/02:16:04
Howdy! I've created a simple C++ class to wrap up the allegro timer routines
quite nicely. They have been uploaded to x2ftp.oulu.fi but I don't know if
they'll appear there for how long or if they're there yet, anyways. The
class is quite useful, I think you'll find, only one thing to watch out for
that I didn't mention in the docs. You need to call stop() before read() or
you won't get the right values. Sorry about this bug, I should have
implemented the stop() function in read() but I didn't have time to test
everything until I started to have problems too :) There are a few nice
features too, like no limit to the number of timers you create (no matter
how many classes you create, only one allegro timer resource will be used).
They function like the old TC++ Timer class.
P.S.: I posted this once already, but WinVN (ugh) puked on me so I don't
know if it got out or not. Anyways here's hoping this works :)
- Calvin -
- Raw text -