[gnome-games/gnibbles-clutter] Applying the same animation when switching level
- From: Guillaume Béland <guillaubel src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gnome-games/gnibbles-clutter] Applying the same animation when switching level
- Date: Sat, 22 Aug 2009 16:29:03 +0000 (UTC)
commit 9782307193064078660f9a155cd466cd6e325f07
Author: Guillaume Beland <guillaume beland gmail com>
Date: Sat Aug 22 12:28:19 2009 -0400
Applying the same animation when switching level
gnibbles/main.c | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/gnibbles/main.c b/gnibbles/main.c
index 6fe4fbe..b4dd73b 100644
--- a/gnibbles/main.c
+++ b/gnibbles/main.c
@@ -620,6 +620,7 @@ main_loop (gpointer data)
add_bonus_id = 0;
+ animate_end_game ();
gnibbles_log_score (window);
return FALSE;
@@ -638,8 +639,8 @@ main_loop (gpointer data)
add_bonus_id = 0;
animate_end_game ();
-
gnibbles_log_score (window);
+
return FALSE;
}
@@ -664,9 +665,10 @@ main_loop (gpointer data)
main_id = 0;
}
add_bonus_id = 0;
- animate_end_game ();
+ animate_end_game ();
restart_id = g_timeout_add_seconds (1, (GSourceFunc) restart_game, NULL);
+
return FALSE;
}
@@ -696,6 +698,7 @@ main_loop (gpointer data)
tmp = rand () % MAXLEVEL + 1;
current_level = tmp;
}
+ animate_end_game ();
restart_id = g_timeout_add_seconds (1, (GSourceFunc) restart_game, NULL);
return FALSE;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]