Re: [AD] get_milliseconds function |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
tim_win32_get_milliseconds was not added in the high nor low performance driver list.
Doing so solves the problem.
I got it working (as told in your a.cc thread ).
From: gullradriel@xxxxxxxxxx
To: alleg-developers@xxxxxxxxxx
Date: Mon, 28 May 2007 07:31:19 +0000
Subject: Re: [AD] get_milliseconds function
Compiled fine, but when testing extimer said that 0 ms were consumed.
I am searching why.
> Date: Sat, 26 May 2007 21:10:31 -0400
> From: cgamesplay@xxxxxxxxxx
> To: alleg-developers@xxxxxxxxxxxxxxxxxxxxxxxxxxxx
> Subject: [AD] get_milliseconds function
>
> Because it is so trivial (on Linux and Windows), I've written a
> get_milliseconds function for Allegro, which returns the number of
> milliseconds elapsed since some arbitrary time. It actually brings
> Allegro timers into this century in terms of popular timing methods,
> with millisecond accuracy. I've written ports for Windows and Linux..
> the other drivers are simply set to NULL (which causes the function to
> return 0).
>
> *I have NOT compiled the patch on Windows!* I need someone to compile
> it on Windows and run extimer to verify that the changes work.
>
> --
> Regards,
> Ryan Patterson <mailto:cgamesplay@xxxxxxxxxx>
Essayez Live.com, votre nouvelle page d'accueil ! Personnalisez-la en quelques clics pour retrouver tout ce qui vous intéresse au même endroit. au même endroit.
Essayez Live.com, votre nouvelle page d'accueil ! Personnalisez-la en quelques clics pour retrouver tout ce qui vous intéresse au même endroit. au même endroit.