[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 >
James Canete wrote:
> Looks like 10ms resolution, which I suppose is alright, especially when
> you take into account that that's the equivalent of a 100hz refresh rate.
Should be okay.
> It fixes the animation, but we waste a lot of time erasing and redrawing
> the sprite when it hasn't moved. Other programs might want to have that
> time. :)
Err, oops. I guess I didn't consider that we might be spinning in
place. This is easy enough to fix, though it does mean a few ugly lines
of code.
> So the timers are good for just animation, but are there any situations
> in the code where we'll need 1ms resolution?
Doubtful. Of course if you can find a better function we can use it.
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, 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, 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 <=
- [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
|
|