summaryrefslogtreecommitdiff
path: root/data/test/graphics/sprites
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-02-14 23:19:48 +0300
committerAndrei Karas <akaras@inbox.ru>2018-02-14 23:19:48 +0300
commit9e16f95bd0083af4eeacba5850c22d95529cce79 (patch)
tree924b21a0ffad1369f27f76916eb66604e3b128df /data/test/graphics/sprites
parent1070c686aede19ceb1c359ae0d9bd26874d03d96 (diff)
downloadplus-9e16f95bd0083af4eeacba5850c22d95529cce79.tar.gz
plus-9e16f95bd0083af4eeacba5850c22d95529cce79.tar.bz2
plus-9e16f95bd0083af4eeacba5850c22d95529cce79.tar.xz
plus-9e16f95bd0083af4eeacba5850c22d95529cce79.zip
Add unit test for creation window CharCreateDialog.
Diffstat (limited to 'data/test/graphics/sprites')
-rw-r--r--data/test/graphics/sprites/hairstyles/hairstyle01.pngbin0 -> 119 bytes
-rw-r--r--data/test/graphics/sprites/hairstyles/hairstyle01.xml188
-rw-r--r--data/test/graphics/sprites/hairstyles/hairstyle02.pngbin0 -> 1643 bytes
-rw-r--r--data/test/graphics/sprites/hairstyles/hairstyle02.xml11
4 files changed, 199 insertions, 0 deletions
diff --git a/data/test/graphics/sprites/hairstyles/hairstyle01.png b/data/test/graphics/sprites/hairstyles/hairstyle01.png
new file mode 100644
index 000000000..1ef26f96f
--- /dev/null
+++ b/data/test/graphics/sprites/hairstyles/hairstyle01.png
Binary files differ
diff --git a/data/test/graphics/sprites/hairstyles/hairstyle01.xml b/data/test/graphics/sprites/hairstyles/hairstyle01.xml
new file mode 100644
index 000000000..52fd83e46
--- /dev/null
+++ b/data/test/graphics/sprites/hairstyles/hairstyle01.xml
@@ -0,0 +1,188 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Author: Reid
+Copyright (C) 2012-2016 Evol Online -->
+<sprite>
+ <imageset name="base"
+ src="graphics/sprites/hairstyles/hairstyle01.png"
+ width="40"
+ height="50"/>
+
+ <action name="stand" imageset="base">
+ <animation direction="down">
+ <frame index="0" offsetY="-29"/>
+ </animation>
+ <animation direction="left">
+ <frame index="1" offsetY="-29"/>
+ </animation>
+ <animation direction="up">
+ <frame index="2" offsetX="-1" offsetY="-25"/>
+ </animation>
+ <animation direction="right">
+ <frame index="3" offsetY="-29"/>
+ </animation>
+ </action>
+
+ <action name="walk" imageset="base">
+ <animation direction="down">
+ <frame index="0" offsetY="-28" delay="80"/>
+ <frame index="0" offsetY="-29" delay="160"/>
+ <frame index="0" offsetY="-28" delay="80"/>
+ <frame index="0" offsetY="-29" delay="160"/>
+ </animation>
+ <animation direction="left">
+ <frame index="1" offsetY="-29" delay="80"/>
+ <frame index="1" offsetY="-28" delay="80"/>
+ <frame index="1" offsetY="-29" delay="160"/>
+ <frame index="1" offsetY="-28" delay="80"/>
+ <frame index="1" offsetY="-29" delay="80"/>
+ </animation>
+ <animation direction="up">
+ <frame index="2" offsetX="-1" offsetY="-25" delay="80"/>
+ <frame index="2" offsetX="-1" offsetY="-26" delay="160"/>
+ <frame index="2" offsetX="-1" offsetY="-25" delay="80"/>
+ <frame index="2" offsetX="-1" offsetY="-26" delay="160"/>
+ </animation>
+ <animation direction="right">
+ <frame index="3" offsetY="-29" delay="80"/>
+ <frame index="3" offsetY="-28" delay="80"/>
+ <frame index="3" offsetY="-29" delay="160"/>
+ <frame index="3" offsetY="-28" delay="80"/>
+ <frame index="3" offsetY="-29" delay="80"/>
+ </animation>
+ </action>
+
+ <action name="attack" imageset="base">
+ <animation direction="down">
+ <frame index="0" offsetY="-27" delay="80"/>
+ <frame index="0" offsetY="-28" delay="80"/>
+ <frame index="0" offsetY="-25" delay="80"/>
+ <frame index="0" offsetY="-24" delay="80"/>
+ <end />
+ </animation>
+ <animation direction="left">
+ <frame index="1" offsetX="4" offsetY="-30" delay="80"/>
+ <frame index="1" offsetX="4" offsetY="-31" delay="80"/>
+ <frame index="1" offsetY="-28" delay="80"/>
+ <frame index="1" offsetX="-1" offsetY="-27" delay="80"/>
+ <end />
+ </animation>
+ <animation direction="up">
+ <frame index="2" offsetX="-2" offsetY="-25" delay="240"/>
+ <frame index="2" offsetX="-2" offsetY="-23" delay="80"/>
+ <end />
+ </animation>
+ <animation direction="right">
+ <frame index="3" offsetX="-3" offsetY="-30" delay="80"/>
+ <frame index="3" offsetX="-3" offsetY="-31" delay="80"/>
+ <frame index="3" offsetY="-28" delay="80"/>
+ <frame index="3" offsetX="1" offsetY="-27" delay="80"/>
+ <end />
+ </animation>
+ </action>
+
+ <action name="attack_bow" imageset="base">
+ <animation direction="down">
+ <frame index="0" offsetY="-28" delay="240"/>
+ <frame index="0" offsetY="-27" delay="80"/>
+ <frame index="0" offsetY="-28" delay="80"/>
+ <end />
+ </animation>
+ <animation direction="left">
+ <frame index="1" offsetX="3" offsetY="-29" delay="240"/>
+ <frame index="1" offsetX="5" offsetY="-30" delay="160"/>
+ <end />
+ </animation>
+ <animation direction="up">
+ <frame index="2" offsetX="-1" offsetY="-25" delay="240"/>
+ <frame index="2" offsetX="-2" offsetY="-24" delay="80"/>
+ <frame index="2" offsetX="-2" offsetY="-25" delay="80"/>
+ <end />
+ </animation>
+ <animation direction="right">
+ <frame index="3" offsetX="-3" offsetY="-29" delay="240"/>
+ <frame index="3" offsetX="-5" offsetY="-30" delay="160"/>
+ <end />
+ </animation>
+ </action>
+
+ <action name="sit" imageset="base">
+ <animation direction="down">
+ <frame index="0" offsetY="-22"/>
+ </animation>
+ <animation direction="left">
+ <frame index="1" offsetX="4" offsetY="-20"/>
+ </animation>
+ <animation direction="up">
+ <frame index="2" offsetY="-17"/>
+ </animation>
+ <animation direction="right">
+ <frame index="3" offsetX="-6" offsetY="-20"/>
+ </animation>
+ </action>
+
+ <action name="sittop" imageset="base">
+ <animation direction="down">
+ <frame index="0" offsetY="-17"/>
+ </animation>
+ <animation direction="left">
+ <frame index="1" offsetX="4" offsetY="-20"/>
+ </animation>
+ <animation direction="up">
+ <frame index="2" offsetY="-17"/>
+ </animation>
+ <animation direction="right">
+ <frame index="3" offsetX="-6" offsetY="-20"/>
+ </animation>
+ </action>
+
+ <action name="standride" imageset="base">
+ <animation direction="down">
+ <frame index="0" offsetY="-17"/>
+ </animation>
+ <animation direction="left">
+ <frame index="1" offsetX="4" offsetY="-20"/>
+ </animation>
+ <animation direction="up">
+ <frame index="2" offsetY="-17"/>
+ </animation>
+ <animation direction="right">
+ <frame index="3" offsetX="-6" offsetY="-20"/>
+ </animation>
+ </action>
+
+ <action name="spawnride" imageset="base">
+ <animation direction="down">
+ <frame index="0" offsetY="-17"/>
+ </animation>
+ <animation direction="left">
+ <frame index="1" offsetX="4" offsetY="-20"/>
+ </animation>
+ <animation direction="up">
+ <frame index="2" offsetY="-17"/>
+ </animation>
+ <animation direction="right">
+ <frame index="3" offsetX="-6" offsetY="-20"/>
+ </animation>
+ </action>
+
+ <action name="ride" imageset="base">
+ <animation direction="down">
+ <frame index="0" offsetY="-17"/>
+ </animation>
+ <animation direction="left">
+ <frame index="1" offsetX="4" offsetY="-20"/>
+ </animation>
+ <animation direction="up">
+ <frame index="2" offsetY="-17"/>
+ </animation>
+ <animation direction="right">
+ <frame index="3" offsetX="-6" offsetY="-20"/>
+ </animation>
+ </action>
+
+ <action name="dead" imageset="base">
+ <animation direction="default">
+ <frame index="4" offsetX="21" offsetY="6"/>
+ </animation>
+ </action>
+</sprite>
diff --git a/data/test/graphics/sprites/hairstyles/hairstyle02.png b/data/test/graphics/sprites/hairstyles/hairstyle02.png
new file mode 100644
index 000000000..99177930c
--- /dev/null
+++ b/data/test/graphics/sprites/hairstyles/hairstyle02.png
Binary files differ
diff --git a/data/test/graphics/sprites/hairstyles/hairstyle02.xml b/data/test/graphics/sprites/hairstyles/hairstyle02.xml
new file mode 100644
index 000000000..f11e4c31b
--- /dev/null
+++ b/data/test/graphics/sprites/hairstyles/hairstyle02.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Author: Reid
+Copyright (C) 2012 Evol Online -->
+<sprite>
+ <imageset name="base"
+ src="graphics/sprites/hairstyles/hairstyle02.png|S"
+ width="40"
+ height="50"/>
+
+ <include file="hairstyles/hairstyle01.xml"/>
+</sprite>