[gnome-nibbles/wip/vala] Remove grey worm
- From: Iulian Radu <iulianradu src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-nibbles/wip/vala] Remove grey worm
- Date: Sun, 16 Aug 2015 20:11:08 +0000 (UTC)
commit c9a41f919c7c8413c24d64b926e2a5b27a91be1c
Author: Iulian Radu <iulian radu67 gmail com>
Date: Sun Aug 16 19:01:46 2015 +0300
Remove grey worm
data/pix/Makefile.am | 1 -
data/pix/snake-grey.svg | 222 -----------------------------------------------
src/nibbles-view.vala | 10 +--
3 files changed, 4 insertions(+), 229 deletions(-)
---
diff --git a/data/pix/Makefile.am b/data/pix/Makefile.am
index 8b7ce32..6ea3830 100644
--- a/data/pix/Makefile.am
+++ b/data/pix/Makefile.am
@@ -14,7 +14,6 @@ SMALL_PIX = \
snake-blue.svg \
snake-cyan.svg \
snake-green.svg \
- snake-grey.svg \
snake-magenta.svg \
snake-red.svg \
snake-yellow.svg \
diff --git a/src/nibbles-view.vala b/src/nibbles-view.vala
index 8bc8938..12d10b2 100644
--- a/src/nibbles-view.vala
+++ b/src/nibbles-view.vala
@@ -43,7 +43,7 @@ public class NibblesView : GtkClutter.Embed
public Clutter.Actor name_labels { get; private set; }
private Gdk.Pixbuf wall_pixmaps[11];
- public Gdk.Pixbuf worm_pixmaps[7];
+ public Gdk.Pixbuf worm_pixmaps[6];
private Gdk.Pixbuf boni_pixmaps[9];
public Gee.HashMap<Worm, WormActor> worm_actors;
@@ -57,8 +57,7 @@ public class NibblesView : GtkClutter.Embed
"blue",
"orange",
"cyan",
- "purple",
- "grey"
+ "purple"
};
public NibblesView (NibblesGame game)
@@ -238,8 +237,7 @@ public class NibblesView : GtkClutter.Embed
"snake-blue.svg",
"snake-yellow.svg",
"snake-cyan.svg",
- "snake-magenta.svg",
- "snake-grey.svg"
+ "snake-magenta.svg"
};
for (int i = 0; i < 8; i++)
@@ -254,7 +252,7 @@ public class NibblesView : GtkClutter.Embed
2 * game.tile_size, 2 * game.tile_size);
}
- for (int i = 0; i < 7; i++)
+ for (int i = 0; i < 6; i++)
{
worm_pixmaps[i] = load_pixmap_file (worm_files[i],
game.tile_size, game.tile_size);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]