diff options
| author | Simon Tatham <anakin@pobox.com> | 2004-05-03 09:43:08 +0000 |
|---|---|---|
| committer | Simon Tatham <anakin@pobox.com> | 2004-05-03 09:43:08 +0000 |
| commit | ccbf3ca6f1950fb1e39df40b2d44fe99ab9de0d1 (patch) | |
| tree | cb04a0da087247f6e7d846c15c8157a9c012e192 /cube.c | |
| parent | 2d1d54b96ba5b7edf4765230ddf00436eb924a52 (diff) | |
| download | puzzles-ccbf3ca6f1950fb1e39df40b2d44fe99ab9de0d1.zip puzzles-ccbf3ca6f1950fb1e39df40b2d44fe99ab9de0d1.tar.gz puzzles-ccbf3ca6f1950fb1e39df40b2d44fe99ab9de0d1.tar.bz2 puzzles-ccbf3ca6f1950fb1e39df40b2d44fe99ab9de0d1.tar.xz | |
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]
Diffstat (limited to 'cube.c')
| -rw-r--r-- | cube.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -160,7 +160,7 @@ enum { enum { LEFT, RIGHT, UP, DOWN, UP_LEFT, UP_RIGHT, DOWN_LEFT, DOWN_RIGHT }; #define GRID_SCALE 48.0F -#define ROLLTIME 0.1F +#define ROLLTIME 0.13F #define SQ(x) ( (x) * (x) ) |