From 7c6abc47c5a166e75038fd73a8af5fc0709db4ac Mon Sep 17 00:00:00 2001 From: Vasily_Makarov Date: Sat, 11 Jun 2011 11:15:27 +0400 Subject: saedit: Rename backgrounds to grounds --- saedit/backgrounds/earth.png | Bin 4193 -> 0 bytes saedit/backgrounds/grass.png | Bin 5142 -> 0 bytes saedit/backgrounds/sand.png | Bin 5205 -> 0 bytes saedit/backgrounds/water.png | Bin 7945 -> 0 bytes saedit/grounds/earth.png | Bin 0 -> 4193 bytes saedit/grounds/grass.png | Bin 0 -> 5142 bytes saedit/grounds/sand.png | Bin 0 -> 5205 bytes saedit/grounds/water.png | Bin 0 -> 7945 bytes saedit/main.c | 2 +- saedit/main.h | 2 +- 10 files changed, 2 insertions(+), 2 deletions(-) delete mode 100644 saedit/backgrounds/earth.png delete mode 100644 saedit/backgrounds/grass.png delete mode 100644 saedit/backgrounds/sand.png delete mode 100644 saedit/backgrounds/water.png create mode 100644 saedit/grounds/earth.png create mode 100644 saedit/grounds/grass.png create mode 100644 saedit/grounds/sand.png create mode 100644 saedit/grounds/water.png diff --git a/saedit/backgrounds/earth.png b/saedit/backgrounds/earth.png deleted file mode 100644 index 9bdb25a..0000000 Binary files a/saedit/backgrounds/earth.png and /dev/null differ diff --git a/saedit/backgrounds/grass.png b/saedit/backgrounds/grass.png deleted file mode 100644 index a0f3ab5..0000000 Binary files a/saedit/backgrounds/grass.png and /dev/null differ diff --git a/saedit/backgrounds/sand.png b/saedit/backgrounds/sand.png deleted file mode 100644 index 31be5db..0000000 Binary files a/saedit/backgrounds/sand.png and /dev/null differ diff --git a/saedit/backgrounds/water.png b/saedit/backgrounds/water.png deleted file mode 100644 index 20da6b4..0000000 Binary files a/saedit/backgrounds/water.png and /dev/null differ diff --git a/saedit/grounds/earth.png b/saedit/grounds/earth.png new file mode 100644 index 0000000..9bdb25a Binary files /dev/null and b/saedit/grounds/earth.png differ diff --git a/saedit/grounds/grass.png b/saedit/grounds/grass.png new file mode 100644 index 0000000..a0f3ab5 Binary files /dev/null and b/saedit/grounds/grass.png differ diff --git a/saedit/grounds/sand.png b/saedit/grounds/sand.png new file mode 100644 index 0000000..31be5db Binary files /dev/null and b/saedit/grounds/sand.png differ diff --git a/saedit/grounds/water.png b/saedit/grounds/water.png new file mode 100644 index 0000000..20da6b4 Binary files /dev/null and b/saedit/grounds/water.png differ diff --git a/saedit/main.c b/saedit/main.c index 1f43b3e..4833081 100644 --- a/saedit/main.c +++ b/saedit/main.c @@ -394,7 +394,7 @@ void set_up_imageset_by_node(XMLNode *node) { if (list != NULL) { gchar *ground_attr = xml_node_get_attr_value((XMLNode *)list->data, "ground"); if (ground_attr != NULL) { - ground_attr = g_strjoin(NULL, DIR_BACKGROUNDS, SEPARATOR_SLASH, ground_attr, ".png", NULL); + ground_attr = g_strjoin(NULL, DIR_GROUNDS, SEPARATOR_SLASH, ground_attr, ".png", NULL); GdkPixbuf *pbuf = gdk_pixbuf_new_from_file(ground_attr, NULL); if(pbuf != NULL) imageset->ground = pbuf; diff --git a/saedit/main.h b/saedit/main.h index 76662a9..e1d0633 100644 --- a/saedit/main.h +++ b/saedit/main.h @@ -22,7 +22,7 @@ const int MIN_HEIGHT = 600; const int SPRITE_WIDTH_DEFAULT = 64; const int SPRITE_HEIGHT_DEFAULT = 64; const int GRID_SIZE = 32; -const gchar *DIR_BACKGROUNDS = "backgrounds"; +const gchar *DIR_GROUNDS = "grounds"; const gchar *FILE_ICON = "icon.svg"; const gchar *FILE_CONFIG = "saedit/config.ini"; const gchar *POSTFIX_FOLDER = "..."; -- cgit v1.2.3-70-g09d2