[AD] General time-passed function

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


Hi,

This is a subject that's come up before -- people wanting a
general record of time passing.  The standard answer is that
they should install a timer handler, and increase their own
variable, I suppose.  However, if we make a dedicated function,
it could offer better accuracy than Allegro's timer callbacks.
Under Linux and possibly other Unixes you can get the time
pretty accurately, and this is true to ms resolution in Windows
too AFAIK.  Might this be worth adding?  It's a fairly easy
thing to do -- I can supply code for Linux and DOS box under
Windows (95/98 definitely).

George



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/