summaryrefslogtreecommitdiff
path: root/saedit
diff options
context:
space:
mode:
authorVasily_Makarov <danilka.pro@gmail.com>2011-06-11 11:15:27 +0400
committerVasily_Makarov <danilka.pro@gmail.com>2011-06-11 11:15:27 +0400
commit7c6abc47c5a166e75038fd73a8af5fc0709db4ac (patch)
treee882fad763c1ea7a5dc2eb4f2015677307021c09 /saedit
parentd390759fb46926cc95a95635418564b53f5bf701 (diff)
downloadtools-7c6abc47c5a166e75038fd73a8af5fc0709db4ac.tar.gz
tools-7c6abc47c5a166e75038fd73a8af5fc0709db4ac.tar.bz2
tools-7c6abc47c5a166e75038fd73a8af5fc0709db4ac.tar.xz
tools-7c6abc47c5a166e75038fd73a8af5fc0709db4ac.zip
saedit: Rename backgrounds to grounds
Diffstat (limited to 'saedit')
-rw-r--r--saedit/grounds/earth.png (renamed from saedit/backgrounds/earth.png)bin4193 -> 4193 bytes
-rw-r--r--saedit/grounds/grass.png (renamed from saedit/backgrounds/grass.png)bin5142 -> 5142 bytes
-rw-r--r--saedit/grounds/sand.png (renamed from saedit/backgrounds/sand.png)bin5205 -> 5205 bytes
-rw-r--r--saedit/grounds/water.png (renamed from saedit/backgrounds/water.png)bin7945 -> 7945 bytes
-rw-r--r--saedit/main.c2
-rw-r--r--saedit/main.h2
6 files changed, 2 insertions, 2 deletions
diff --git a/saedit/backgrounds/earth.png b/saedit/grounds/earth.png
index 9bdb25a..9bdb25a 100644
--- a/saedit/backgrounds/earth.png
+++ b/saedit/grounds/earth.png
Binary files differ
diff --git a/saedit/backgrounds/grass.png b/saedit/grounds/grass.png
index a0f3ab5..a0f3ab5 100644
--- a/saedit/backgrounds/grass.png
+++ b/saedit/grounds/grass.png
Binary files differ
diff --git a/saedit/backgrounds/sand.png b/saedit/grounds/sand.png
index 31be5db..31be5db 100644
--- a/saedit/backgrounds/sand.png
+++ b/saedit/grounds/sand.png
Binary files differ
diff --git a/saedit/backgrounds/water.png b/saedit/grounds/water.png
index 20da6b4..20da6b4 100644
--- a/saedit/backgrounds/water.png
+++ b/saedit/grounds/water.png
Binary files 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 = "...";