[gnome-games/gnibbles-clutter] minor fixes
- From: Guillaume Béland <guillaubel src gnome org>
- To: svn-commits-list gnome org
- Subject: [gnome-games/gnibbles-clutter] minor fixes
- Date: Thu, 18 Jun 2009 14:24:27 -0400 (EDT)
commit 6071fa439401dd2a0dcf9f602590e810be4ed74c
Author: Guillaume Beland <guillaume beland gmail com>
Date: Mon Jun 15 16:33:50 2009 -0400
minor fixes
gnibbles/main.c | 6 +++---
gnibbles/worm-clutter.c | 1 -
2 files changed, 3 insertions(+), 4 deletions(-)
---
diff --git a/gnibbles/main.c b/gnibbles/main.c
index 16a67d0..4ef729d 100644
--- a/gnibbles/main.c
+++ b/gnibbles/main.c
@@ -1253,10 +1253,10 @@ render_logo (void)
}
-void
+static void
move_worm_cb (ClutterTimeline *timeline, gint msecs, gpointer data)
{
- if (msecs % 25 != 0)
+ if (msecs % 19 != 0)
return;
gfloat w,h;
@@ -1401,7 +1401,7 @@ main (int argc, char **argv)
clutter_actor_raise_top (cworms[i]->actors);
}
- ClutterTimeline *timeline = clutter_timeline_new (200);
+ ClutterTimeline *timeline = clutter_timeline_new (20);
clutter_timeline_set_loop (timeline, TRUE);
cworms[2]->direction = WORMDOWN;
gnibbles_cworm_add_straight_actor (cworms[2]);
diff --git a/gnibbles/worm-clutter.c b/gnibbles/worm-clutter.c
index d073e7f..78bf7d4 100644
--- a/gnibbles/worm-clutter.c
+++ b/gnibbles/worm-clutter.c
@@ -134,7 +134,6 @@ gnibbles_cworm_add_straight_actor (GnibblesCWorm *worm)
worm->list = g_list_prepend (worm->list, actor);
- //TODO: connect/timeline: start increasing the size of the actor
}
void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]