summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2008-04-20 20:41:02 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2008-04-20 20:41:02 +0000
commit38cbe95af31b90a9bf6faa63efaa5d5816632ec6 (patch)
treeb5191c8a3061702ef4f0aa5828509ff9be9ff3af /graphics
parent7d53492b9294fa859d3260bcc8271fb801cdcf3d (diff)
downloadclientdata-38cbe95af31b90a9bf6faa63efaa5d5816632ec6.tar.gz
clientdata-38cbe95af31b90a9bf6faa63efaa5d5816632ec6.tar.bz2
clientdata-38cbe95af31b90a9bf6faa63efaa5d5816632ec6.tar.xz
clientdata-38cbe95af31b90a9bf6faa63efaa5d5816632ec6.zip
Fixed hair style 0 not to crash 0.0.23 clients.
Diffstat (limited to 'graphics')
-rw-r--r--graphics/sprites/hairstyle0.xml79
1 files changed, 76 insertions, 3 deletions
diff --git a/graphics/sprites/hairstyle0.xml b/graphics/sprites/hairstyle0.xml
index e60f3237..ba8b252c 100644
--- a/graphics/sprites/hairstyle0.xml
+++ b/graphics/sprites/hairstyle0.xml
@@ -1,6 +1,79 @@
<?xml version="1.0"?>
<sprite>
- <!--
- This is the bald hairstyle, hence it has no imageset and no actions.
- -->
+ <!--
+ This is the bald hairstyle, hence it should need no imageset and no actions.
+ However, that crashes 0.0.23, so some stuff is included now, including an
+ empty image set (it's empty since the icon is 32x32 so there isn't even one
+ 40x40 frame).
+ -->
+
+ <imageset name="base" src="graphics/items/armor-chest-cottonshirt.png" width="40" height="40" />
+
+ <action name="stand" imageset="base">
+ <animation direction="down">
+ </animation>
+ <animation direction="left">
+ </animation>
+ <animation direction="up">
+ </animation>
+ <animation direction="right">
+ </animation>
+ </action>
+
+ <action name="walk" imageset="base">
+ <animation direction="down">
+ </animation>
+ <animation direction="left">
+ </animation>
+ <animation direction="up">
+ </animation>
+ <animation direction="right">
+ </animation>
+ </action>
+
+ <action name="attack" imageset="base">
+ <animation direction="down">
+ <end />
+ </animation>
+ <animation direction="left">
+ <end />
+ </animation>
+ <animation direction="up">
+ <end />
+ </animation>
+ <animation direction="right">
+ <end />
+ </animation>
+ </action>
+
+ <action name="attack_bow" imageset="base">
+ <animation direction="down">
+ <end />
+ </animation>
+ <animation direction="left">
+ <end />
+ </animation>
+ <animation direction="up">
+ <end />
+ </animation>
+ <animation direction="right">
+ <end />
+ </animation>
+ </action>
+
+ <action name="sit" imageset="base">
+ <animation direction="down">
+ </animation>
+ <animation direction="left">
+ </animation>
+ <animation direction="up">
+ </animation>
+ <animation direction="right">
+ </animation>
+ </action>
+
+ <action name="dead" imageset="base">
+ <animation direction="default">
+ </animation>
+ </action>
</sprite>