chiark / gitweb /
GTK and Windows appear to handle timers very differently:
authorSimon Tatham <anakin@pobox.com>
Mon, 3 May 2004 09:43:08 +0000 (09:43 +0000)
committerSimon Tatham <anakin@pobox.com>
Mon, 3 May 2004 09:43:08 +0000 (09:43 +0000)
commitccbf3ca6f1950fb1e39df40b2d44fe99ab9de0d1
treecb04a0da087247f6e7d846c15c8157a9c012e192
parent2d1d54b96ba5b7edf4765230ddf00436eb924a52
GTK and Windows appear to handle timers very differently:
specifically, the elapsed time between calls varies much more with
GTK than it does under Windows. Therefore, I now take my own time
readings on every timer call, and this appears to have made the
animations run at closer to the same speed between platforms. Having
done that, I decided some of them were at the _wrong_ speed, and
fiddled with each game's timings as well.

[originally from svn r4189]
cube.c
fifteen.c
gtk.c
net.c
sixteen.c
windows.c