[Freeciv-Dev] Re: (PR#8073) win32: unit moves aren't smooth
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
<URL: http://rt.freeciv.org/Ticket/Display.html?id=8073 >
Jason Short wrote:
> <URL: http://rt.freeciv.org/Ticket/Display.html?id=8073 >
>
> James Canete wrote:
>
>
>>After a little research, I find that mingw has no support for
>>gettimeofday(), which is required for millisecond resolution for freeciv
>>timers.
>
>
> Ouch. If you can figure out what replacement functions to use instead
> (there must be one!) we can add an appropriate configure check and
> change timer.c.
I believe ftime() should work.
Also, if neither function is present we should not fall back to time().
We should just fail. 1-second resolution isn't enough for a lot of
the work we have to do. For instance I guess the old win32 animation
code didn't work either, but nobody noticed since it happened so
quickly. When units actually have real animations this just won't be
acceptable. And every platform should have an alternative function with
at least millisecond resolution.
jason
- [Freeciv-Dev] Re: (PR#8073) win32: unit moves aren't smooth, Jason Short, 2004/03/15
- [Freeciv-Dev] Re: (PR#8073) win32: unit moves aren't smooth,
Jason Short <=
- [Freeciv-Dev] Re: (PR#8073) win32: unit moves aren't smooth, Jason Short, 2004/03/15
- [Freeciv-Dev] Re: (PR#8073) win32: unit moves aren't smooth, Jason Short, 2004/03/15
- [Freeciv-Dev] (PR#8073) win32: unit moves aren't smooth, James Canete, 2004/03/15
- [Freeciv-Dev] Re: (PR#8073) win32: unit moves aren't smooth, Jason Short, 2004/03/15
- [Freeciv-Dev] Re: (PR#8073) win32: unit moves aren't smooth, rwetmore@xxxxxxxxxxxx, 2004/03/15
- [Freeciv-Dev] Re: (PR#8073) win32: unit moves aren't smooth, Jason Short, 2004/03/15
- [Freeciv-Dev] Re: (PR#8073) win32: unit moves aren't smooth, Vasco Alexandre da Silva Costa, 2004/03/16
|
|