diff options
author | Bruno Coudoin <bcoudoin@src.gnome.org> | 2008-04-20 12:04:59 (GMT) |
---|---|---|
committer | Bruno Coudoin <bcoudoin@src.gnome.org> | 2008-04-20 12:04:59 (GMT) |
commit | ecdafb6342026e0b63a752e0c2b4ef34a256ae23 (patch) | |
tree | aa225f815a0ba4334752ae6ff5f1342814bb586e | |
parent | 92d8a837f1ce6af702b80980475270e4466f7669 (diff) |
fixed random offset bug in which it was possible to have the ball placed
* src/billard-activity/billard.c: (minigolf_create_item): fixed random
offset bug in which it was possible to have the ball placed on the
top line which was triggering the border touch sounds endlessly.
removed unused flags.
svn path=/trunk/; revision=3382
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | boards/flags/cu.png | bin | 1191 -> 0 bytes | |||
-rw-r--r-- | boards/flags/cz.png | bin | 513 -> 0 bytes | |||
-rw-r--r-- | boards/flags/ee.png | bin | 407 -> 0 bytes | |||
-rw-r--r-- | boards/flags/gr.png | bin | 469 -> 0 bytes | |||
-rw-r--r-- | boards/flags/is.png | bin | 477 -> 0 bytes | |||
-rw-r--r-- | boards/flags/jp.png | bin | 499 -> 0 bytes | |||
-rw-r--r-- | boards/flags/si.png | bin | 467 -> 0 bytes | |||
-rw-r--r-- | boards/flags/uy.png | bin | 1274 -> 0 bytes | |||
-rw-r--r-- | boards/flags/yu.png | bin | 610 -> 0 bytes | |||
-rw-r--r-- | src/boards/machpuzzle.c | 3 |
11 files changed, 8 insertions, 1 deletions
@@ -1,3 +1,9 @@ +2008-04-20 Bruno Coudoin <bruno.coudoin@free.fr> + + * src/billard-activity/billard.c: (minigolf_create_item): fixed random + offset bug in which it was possible to have the ball placed on the + top line which was triggering the border touch sounds endlessly. + 2008-04-12 Bruno coudoin <bruno.coudoin@free.fr> Improved the windows version so that the administration module diff --git a/boards/flags/cu.png b/boards/flags/cu.png Binary files differdeleted file mode 100644 index 291a50a..0000000 --- a/boards/flags/cu.png +++ /dev/null diff --git a/boards/flags/cz.png b/boards/flags/cz.png Binary files differdeleted file mode 100644 index 2af675e..0000000 --- a/boards/flags/cz.png +++ /dev/null diff --git a/boards/flags/ee.png b/boards/flags/ee.png Binary files differdeleted file mode 100644 index 26ceda5..0000000 --- a/boards/flags/ee.png +++ /dev/null diff --git a/boards/flags/gr.png b/boards/flags/gr.png Binary files differdeleted file mode 100644 index 02135ef..0000000 --- a/boards/flags/gr.png +++ /dev/null diff --git a/boards/flags/is.png b/boards/flags/is.png Binary files differdeleted file mode 100644 index c5b31f8..0000000 --- a/boards/flags/is.png +++ /dev/null diff --git a/boards/flags/jp.png b/boards/flags/jp.png Binary files differdeleted file mode 100644 index f2588c5..0000000 --- a/boards/flags/jp.png +++ /dev/null diff --git a/boards/flags/si.png b/boards/flags/si.png Binary files differdeleted file mode 100644 index d5742d5..0000000 --- a/boards/flags/si.png +++ /dev/null diff --git a/boards/flags/uy.png b/boards/flags/uy.png Binary files differdeleted file mode 100644 index 775bcbc..0000000 --- a/boards/flags/uy.png +++ /dev/null diff --git a/boards/flags/yu.png b/boards/flags/yu.png Binary files differdeleted file mode 100644 index f901a30..0000000 --- a/boards/flags/yu.png +++ /dev/null diff --git a/src/boards/machpuzzle.c b/src/boards/machpuzzle.c index 0140e0c..b30d9b2 100644 --- a/src/boards/machpuzzle.c +++ b/src/boards/machpuzzle.c @@ -243,7 +243,8 @@ static GnomeCanvasItem *minigolf_create_item(GnomeCanvasGroup *parent) NULL)); create_machine_item(MACH_HOLE, 730.0, 260.0); - create_machine_item(MACH_BASKET_BALL, (double)g_random_int_range(60, 150), (double)RAND(60, 400)); + create_machine_item(MACH_BASKET_BALL, (double)g_random_int_range(60, 150), + (double)RAND(70, 400)); return NULL; |