summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-07-26 23:54:38 +0300
committerAndrei Karas <akaras@inbox.ru>2015-07-27 02:25:16 +0300
commit6c80045c4da5094014d623e3b855e31bfa8bf301 (patch)
tree700a97c0a468b4f69d48c197e403bf1adb0b3030 /data
parentd97569a88e332f682f3b668012b5ad502529d5bf (diff)
downloadplus-6c80045c4da5094014d623e3b855e31bfa8bf301.tar.gz
plus-6c80045c4da5094014d623e3b855e31bfa8bf301.tar.bz2
plus-6c80045c4da5094014d623e3b855e31bfa8bf301.tar.xz
plus-6c80045c4da5094014d623e3b855e31bfa8bf301.zip
Add team icons. Now it simple one color rectangles.
Diffstat (limited to 'data')
-rw-r--r--data/graphics/CMakeLists.txt1
-rw-r--r--data/graphics/Makefile.am2
-rw-r--r--data/graphics/badges/CMakeLists.txt10
-rw-r--r--data/graphics/badges/Makefile.am13
-rw-r--r--data/graphics/badges/team1.pngbin0 -> 122 bytes
-rw-r--r--data/graphics/badges/team1.xml15
-rw-r--r--data/graphics/badges/team2.pngbin0 -> 102 bytes
-rw-r--r--data/graphics/badges/team2.xml15
-rw-r--r--data/graphics/badges/team3.pngbin0 -> 102 bytes
-rw-r--r--data/graphics/badges/team3.xml15
10 files changed, 70 insertions, 1 deletions
diff --git a/data/graphics/CMakeLists.txt b/data/graphics/CMakeLists.txt
index 1b46f9d66..e3b1697cc 100644
--- a/data/graphics/CMakeLists.txt
+++ b/data/graphics/CMakeLists.txt
@@ -1,3 +1,4 @@
+ADD_SUBDIRECTORY(badges)
ADD_SUBDIRECTORY(flags)
ADD_SUBDIRECTORY(gui)
ADD_SUBDIRECTORY(images)
diff --git a/data/graphics/Makefile.am b/data/graphics/Makefile.am
index a62c42406..201acaaa7 100644
--- a/data/graphics/Makefile.am
+++ b/data/graphics/Makefile.am
@@ -4,4 +4,4 @@ graphicsdir = $(pkgdatadir)/data/graphics
EXTRA_DIST = \
CMakeLists.txt
-SUBDIRS = flags gui images shaders sprites
+SUBDIRS = badges flags gui images shaders sprites
diff --git a/data/graphics/badges/CMakeLists.txt b/data/graphics/badges/CMakeLists.txt
new file mode 100644
index 000000000..21100add2
--- /dev/null
+++ b/data/graphics/badges/CMakeLists.txt
@@ -0,0 +1,10 @@
+SET(FILES
+ team1.png
+ team1.xml
+ team2.png
+ team2.xml
+ team3.png
+ team3.xml
+ )
+
+INSTALL(FILES ${FILES} DESTINATION ${DATA_DIR}/graphics/badges)
diff --git a/data/graphics/badges/Makefile.am b/data/graphics/badges/Makefile.am
new file mode 100644
index 000000000..17c0ee997
--- /dev/null
+++ b/data/graphics/badges/Makefile.am
@@ -0,0 +1,13 @@
+badgesdir = $(pkgdatadir)/data/graphics/badges
+
+badges_DATA = \
+ team1.png \
+ team1.xml \
+ team2.png \
+ team2.xml \
+ team3.png \
+ team3.xml
+
+EXTRA_DIST = \
+ $(badges_DATA) \
+ CMakeLists.txt
diff --git a/data/graphics/badges/team1.png b/data/graphics/badges/team1.png
new file mode 100644
index 000000000..c485da9d5
--- /dev/null
+++ b/data/graphics/badges/team1.png
Binary files differ
diff --git a/data/graphics/badges/team1.xml b/data/graphics/badges/team1.xml
new file mode 100644
index 000000000..752ed0541
--- /dev/null
+++ b/data/graphics/badges/team1.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Author: 4144
+Copyright (C) 2015 ManaPlus developers -->
+<sprite>
+ <imageset name="icon"
+ src="graphics/badges/team1.png"
+ width="16"
+ height="16"
+ offsetY="0"/>
+ <action name="default" imageset="icon">
+ <animation direction="default">
+ <frame index="0"/>
+ </animation>
+ </action>
+</sprite>
diff --git a/data/graphics/badges/team2.png b/data/graphics/badges/team2.png
new file mode 100644
index 000000000..e677e69eb
--- /dev/null
+++ b/data/graphics/badges/team2.png
Binary files differ
diff --git a/data/graphics/badges/team2.xml b/data/graphics/badges/team2.xml
new file mode 100644
index 000000000..1e371ed36
--- /dev/null
+++ b/data/graphics/badges/team2.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Author: 4144
+Copyright (C) 2015 ManaPlus developers -->
+<sprite>
+ <imageset name="icon"
+ src="graphics/badges/team2.png"
+ width="16"
+ height="16"
+ offsetY="0"/>
+ <action name="default" imageset="icon">
+ <animation direction="default">
+ <frame index="0"/>
+ </animation>
+ </action>
+</sprite>
diff --git a/data/graphics/badges/team3.png b/data/graphics/badges/team3.png
new file mode 100644
index 000000000..20a08cfcd
--- /dev/null
+++ b/data/graphics/badges/team3.png
Binary files differ
diff --git a/data/graphics/badges/team3.xml b/data/graphics/badges/team3.xml
new file mode 100644
index 000000000..994ff6827
--- /dev/null
+++ b/data/graphics/badges/team3.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Author: 4144
+Copyright (C) 2015 ManaPlus developers -->
+<sprite>
+ <imageset name="icon"
+ src="graphics/badges/team3.png"
+ width="16"
+ height="16"
+ offsetY="0"/>
+ <action name="default" imageset="icon">
+ <animation direction="default">
+ <frame index="0"/>
+ </animation>
+ </action>
+</sprite>