[gnome-nibbles] A few missed/unused lines
- From: Bryan Quigley <bryanquigs src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-nibbles] A few missed/unused lines
- Date: Mon, 21 Oct 2013 03:40:49 +0000 (UTC)
commit 8278c03a274a91a2809125f35d7f47737836653d
Author: Bryan Quigley <bryanquigs src gnome org>
Date: Sun Oct 20 23:39:38 2013 -0400
A few missed/unused lines
data/pix/Makefile.am | 1 -
src/boni.c | 21 ---------------------
2 files changed, 0 insertions(+), 22 deletions(-)
---
diff --git a/data/pix/Makefile.am b/data/pix/Makefile.am
index 609451d..53e5309 100644
--- a/data/pix/Makefile.am
+++ b/data/pix/Makefile.am
@@ -1,7 +1,6 @@
pixmapdir = $(datadir)/gnome-nibbles/pixmaps
BONUS_PIX = \
- blank.svg \
bonus1.svg \
bonus2.svg \
bonus3.svg \
diff --git a/src/boni.c b/src/boni.c
index a513ee8..d417158 100644
--- a/src/boni.c
+++ b/src/boni.c
@@ -88,27 +88,6 @@ gnibbles_boni_add_bonus (GnibblesBoni * boni, gint t_x, gint t_y,
play_sound ("appear");
}
-/*
-void
-gnibbles_boni_add_bonus_final (GnibblesBoni * boni, gint t_x, gint t_y,
- gint t_type, gint t_fake, gint t_countdown)
-{
- if (boni->numbonuses == MAXBONUSES)
- return;
- boni->bonuses[boni->numbonuses] = gnibbles_bonus_new (t_x, t_y,
- t_type, t_fake,
- t_countdown);
- board->walls[t_x][t_y] = (gchar) t_type + 'A';
- board->walls[t_x + 1][t_y] = (gchar) t_type + 'A';
- board->walls[t_x][t_y + 1] = (gchar) t_type + 'A';
- board->walls[t_x + 1][t_y + 1] = (gchar) t_type + 'A';
-
- gnibbles_bonus_draw (boni->bonuses[boni->numbonuses]);
- boni->numbonuses++;
- if (t_type != BONUSREGULAR)
- play_sound ("appear");
-}*/
-
int
gnibbles_boni_fake (GnibblesBoni * boni, gint x, gint y)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]