diff options
author | Bruno Coudoin <bcoudoin@src.gnome.org> | 2009-03-24 21:49:02 (GMT) |
---|---|---|
committer | Bruno Coudoin <bcoudoin@src.gnome.org> | 2009-03-24 21:49:02 (GMT) |
commit | 601238f7a77a710ec2547949ddfbfe1f943e2b8d (patch) | |
tree | 92754478733b5a0331b2f18f9a77366b0c2b585e /src | |
parent | 54dc1c1bf7c8c29dc7f8a4d7968dc593702ae368 (diff) |
- Replaced a level in memory sound to make the difficulty always increasing
* src/boards/memory.c: (start_board):
* boards/voices/*: normalized sounds.
svn path=/trunk/; revision=3790
Diffstat (limited to 'src')
-rw-r--r-- | src/boards/memory.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/boards/memory.c b/src/boards/memory.c index 1c3cb2b..643e210 100644 --- a/src/boards/memory.c +++ b/src/boards/memory.c @@ -163,9 +163,9 @@ static guint levelDescription[] = 0,0, 3,2, 4,2, + 5,2, 4,3, 6,3, - 4,4, 5,4, 6,4, 7,4, @@ -869,7 +869,8 @@ static void start_board (GcomprisBoard *agcomprisBoard) to_tux = FALSE; if (currentUiMode == UIMODE_SOUND){ playing_sound = TRUE; - gc_sound_play_ogg_cb("sounds/LuneRouge/musique/LRBuddhist_gong_05_by_Lionel_Allorge.ogg",start_callback); + gc_sound_play_ogg_cb("sounds/LuneRouge/musique/LRBuddhist_gong_05_by_Lionel_Allorge.ogg", + start_callback); } else playing_sound = FALSE; @@ -1449,7 +1450,10 @@ static gint hide_card (GtkWidget *widget, gpointer data) GList *to_remove = NULL; for (list = winning_pairs; list != NULL; list=list->next) - if ((((WINNING *) list->data)->first == firstCard) || (((WINNING *) list->data)->first == secondCard) || (((WINNING *) list->data)->second == firstCard) || (((WINNING *) list->data)->second == secondCard) ){ + if ((((WINNING *) list->data)->first == firstCard) || + (((WINNING *) list->data)->first == secondCard) || + (((WINNING *) list->data)->second == firstCard) || + (((WINNING *) list->data)->second == secondCard) ){ to_remove = g_list_append( to_remove, list->data); } |