[gnome-nibbles] Removed blank and unused bonus
- From: Bryan Quigley <bryanquigs src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-nibbles] Removed blank and unused bonus
- Date: Mon, 21 Oct 2013 03:35:46 +0000 (UTC)
commit dc16e15c9872daa532ad9b72e2e5e7969bd46973
Author: Bryan Quigley <bryanquigs src gnome org>
Date: Sun Oct 20 23:33:17 2013 -0400
Removed blank and unused bonus
data/pix/blank.svg | 177 ----------------------------------------------------
src/bonus.h | 15 ++---
src/gnibbles.c | 3 +-
3 files changed, 8 insertions(+), 187 deletions(-)
---
diff --git a/src/bonus.h b/src/bonus.h
index a3c4497..8f34191 100644
--- a/src/bonus.h
+++ b/src/bonus.h
@@ -24,14 +24,13 @@
#include <gtk/gtk.h>
#include <clutter/clutter.h>
-#define BONUSNONE 0
-#define BONUSREGULAR 1
-#define BONUSHALF 2
-#define BONUSDOUBLE 3
-#define BONUSLIFE 4
-#define BONUSREVERSE 5
-#define BONUSCUT 6
-#define BONUSSWITCH 7
+#define BONUSREGULAR 0
+#define BONUSHALF 1
+#define BONUSDOUBLE 2
+#define BONUSLIFE 3
+#define BONUSREVERSE 4
+#define BONUSCUT 5
+#define BONUSSWITCH 6
typedef struct {
gint x, y;
diff --git a/src/gnibbles.c b/src/gnibbles.c
index 81625d6..29fff5c 100644
--- a/src/gnibbles.c
+++ b/src/gnibbles.c
@@ -94,7 +94,6 @@ void
gnibbles_load_pixmap (gint tilesize)
{
gchar *bonus_files[] = {
- "blank.svg",
"diamond.svg",
"bonus1.svg",
"bonus2.svg",
@@ -131,7 +130,7 @@ gnibbles_load_pixmap (gint tilesize)
int i;
- for (i = 0; i < 9; i++) {
+ for (i = 0; i < 8; i++) {
if (boni_pixmaps[i])
g_object_unref (boni_pixmaps[i]);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]