aboutsummaryrefslogtreecommitdiff
path: root/net.c
diff options
context:
space:
mode:
authorSimon Tatham <anakin@pobox.com>2004-05-03 09:43:08 +0000
committerSimon Tatham <anakin@pobox.com>2004-05-03 09:43:08 +0000
commitccbf3ca6f1950fb1e39df40b2d44fe99ab9de0d1 (patch)
treecb04a0da087247f6e7d846c15c8157a9c012e192 /net.c
parent2d1d54b96ba5b7edf4765230ddf00436eb924a52 (diff)
downloadpuzzles-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 'net.c')
-rw-r--r--net.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net.c b/net.c
index 8b74e7b..b3b0a39 100644
--- a/net.c
+++ b/net.c
@@ -56,8 +56,8 @@ const int game_can_configure = TRUE;
#define TILE_BORDER 1
#define WINDOW_OFFSET 16
-#define ROTATE_TIME 0.1F
-#define FLASH_FRAME 0.05F
+#define ROTATE_TIME 0.13F
+#define FLASH_FRAME 0.07F
enum {
COL_BACKGROUND,