diff options
author | Jessica Tölke <jtoelke@mail.upb.de> | 2012-06-05 15:55:17 +0200 |
---|---|---|
committer | Jessica Tölke <jtoelke@mail.upb.de> | 2012-06-11 20:42:33 +0200 |
commit | b683a8cfeb43f4c6b9547ad9c31e82b8af50626b (patch) | |
tree | 65bfa1ca0e8b49984274b5faafae58bb3ac7992f /graphics/sprites/equipment/head/cowboywhite.xml | |
parent | 93b68068f1c940d9437b1849047349b1a8a1e91e (diff) | |
download | clientdata-b683a8cfeb43f4c6b9547ad9c31e82b8af50626b.tar.gz clientdata-b683a8cfeb43f4c6b9547ad9c31e82b8af50626b.tar.bz2 clientdata-b683a8cfeb43f4c6b9547ad9c31e82b8af50626b.tar.xz clientdata-b683a8cfeb43f4c6b9547ad9c31e82b8af50626b.zip |
Format xml files.
Running tools/formatXML.sh
Applying manual edits to:
- effects.xml to place comments above the line they belong to instead of below
- to paths.xml and portal-door.particle.xml to remove tabs within a comment
- to playerglow.particle.xml to remove an superflous '-->' which messed up the automatic indentation.
- used 'sed 's/^\(.*\)\(<!--.*-->\)\(.*\)$/\2\1\3/' -i npcs.xml' to move comments in front of the tags they belong to,
manually edited npcs 251 to 265
Diffstat (limited to 'graphics/sprites/equipment/head/cowboywhite.xml')
-rw-r--r-- | graphics/sprites/equipment/head/cowboywhite.xml | 241 |
1 files changed, 117 insertions, 124 deletions
diff --git a/graphics/sprites/equipment/head/cowboywhite.xml b/graphics/sprites/equipment/head/cowboywhite.xml index 16ee9e37..e379f06d 100644 --- a/graphics/sprites/equipment/head/cowboywhite.xml +++ b/graphics/sprites/equipment/head/cowboywhite.xml @@ -1,124 +1,117 @@ -<?xml version="1.0"?>
-<sprite>
- <imageset name="base" src="graphics/sprites/equipment/head/cowboywhite.png" width="28" height="18"/>
-
- <action name="stand" imageset="base">
- <animation direction="down">
- <frame index="0" offsetX="0" offsetY ="-47"/>
- </animation>
- <animation direction="left">
- <frame index="1" offsetX="0" offsetY ="-47"/>
- </animation>
- <animation direction="up">
- <frame index="2" offsetX="-1" offsetY ="-48"/>
- </animation>
- <animation direction="right">
- <frame index="3" offsetX="0" offsetY ="-47"/>
- </animation>
- </action>
-
- <action name="walk" imageset="base">
- <animation direction="down">
- <frame index="0" offsetX="0" offsetY ="-46" delay="75"/>
- <frame index="0" offsetX="0" offsetY ="-47" delay="150"/>
- <frame index="0" offsetX="0" offsetY ="-46" delay="75"/>
- <frame index="0" offsetX="0" offsetY ="-47" delay="150"/>
- </animation>
- <animation direction="left">
- <frame index="1" offsetX="0" offsetY ="-47" delay="75"/>
- <frame index="1" offsetX="0" offsetY ="-46" delay="75"/>
- <frame index="1" offsetX="0" offsetY ="-47" delay="150"/>
- <frame index="1" offsetX="0" offsetY ="-46" delay="75"/>
- <frame index="1" offsetX="0" offsetY ="-47" delay="75"/>
- </animation>
- <animation direction="up">
- <frame index="2" offsetX="-1" offsetY ="-48" delay="75"/>
- <frame index="2" offsetX="-1" offsetY ="-49" delay="150"/>
- <frame index="2" offsetX="-1" offsetY ="-48" delay="75"/>
- <frame index="2" offsetX="-1" offsetY ="-49" delay="150"/>
- </animation>
- <animation direction="right">
- <frame index="3" offsetX="0" offsetY ="-47" delay="75"/>
- <frame index="3" offsetX="0" offsetY ="-46" delay="75"/>
- <frame index="3" offsetX="0" offsetY ="-47" delay="150"/>
- <frame index="3" offsetX="0" offsetY ="-46" delay="75"/>
- <frame index="3" offsetX="0" offsetY ="-47" delay="75"/>
- </animation>
- </action>
-
- <action name="attack" imageset="base">
- <animation direction="down">
- <frame index="0" offsetX="0" offsetY ="-45" delay="75"/>
- <frame index="0" offsetX="0" offsetY ="-46" delay="75"/>
- <frame index="0" offsetX="0" offsetY ="-43" delay="75"/>
- <frame index="0" offsetX="0" offsetY ="-42" delay="75"/>
- <end />
- </animation>
- <animation direction="left">
- <frame index="1" offsetX="4" offsetY ="-48" delay="75"/>
- <frame index="1" offsetX="4" offsetY ="-49" delay="75"/>
- <frame index="1" offsetX="0" offsetY ="-46" delay="75"/>
- <frame index="1" offsetX="-1" offsetY ="-45" delay="75"/>
- <end />
- </animation>
- <animation direction="up">
- <frame index="2" offsetX="-2" offsetY ="-48" delay="225"/>
- <frame index="2" offsetX="-2" offsetY ="-46" delay="75"/>
- <end />
- </animation>
- <animation direction="right">
- <frame index="3" offsetX="-3" offsetY ="-48" delay="75"/>
- <frame index="3" offsetX="-3" offsetY ="-49" delay="75"/>
- <frame index="3" offsetX="0" offsetY ="-46" delay="75"/>
- <frame index="3" offsetX="1" offsetY ="-45" delay="75"/>
- <end />
- </animation>
- </action>
-
- <action name="attack_bow" imageset="base">
- <animation direction="down">
- <frame index="0" offsetX="0" offsetY ="-46" delay="225"/>
- <frame index="0" offsetX="0" offsetY ="-45" delay="75"/>
- <frame index="0" offsetX="0" offsetY ="-46" delay="75"/>
- <end />
- </animation>
- <animation direction="left">
- <frame index="1" offsetX="3" offsetY ="-47" delay="225"/>
- <frame index="1" offsetX="5" offsetY ="-48" delay="150"/>
- <end />
- </animation>
- <animation direction="up">
- <frame index="2" offsetX="-1" offsetY ="-48" delay="225"/>
- <frame index="2" offsetX="-2" offsetY ="-47" delay="75"/>
- <frame index="2" offsetX="-2" offsetY ="-48" delay="75"/>
- <end />
- </animation>
- <animation direction="right">
- <frame index="3" offsetX="-3" offsetY ="-47" delay="225"/>
- <frame index="3" offsetX="-5" offsetY ="-48" delay="150"/>
- <end />
- </animation>
- </action>
-
- <action name="sit" imageset="base">
- <animation direction="down">
- <frame index="0" offsetX="0" offsetY ="-35"/>
- </animation>
- <animation direction="left">
- <frame index="1" offsetX="4" offsetY ="-38"/>
- </animation>
- <animation direction="up">
- <frame index="2" offsetX="0" offsetY ="-40"/>
- </animation>
- <animation direction="right">
- <frame index="3" offsetX="-6" offsetY ="-38"/>
- </animation>
- </action>
-
- <action name="dead" imageset="base">
- <animation direction="default">
- <frame index="4" offsetX="37" offsetY="-11"/>
- </animation>
- </action>
-
-</sprite>
+<?xml version="1.0"?> +<sprite> + <imageset name="base" src="graphics/sprites/equipment/head/cowboywhite.png" width="28" height="18"/> + <action name="stand" imageset="base"> + <animation direction="down"> + <frame index="0" offsetX="0" offsetY="-47"/> + </animation> + <animation direction="left"> + <frame index="1" offsetX="0" offsetY="-47"/> + </animation> + <animation direction="up"> + <frame index="2" offsetX="-1" offsetY="-48"/> + </animation> + <animation direction="right"> + <frame index="3" offsetX="0" offsetY="-47"/> + </animation> + </action> + <action name="walk" imageset="base"> + <animation direction="down"> + <frame index="0" offsetX="0" offsetY="-46" delay="75"/> + <frame index="0" offsetX="0" offsetY="-47" delay="150"/> + <frame index="0" offsetX="0" offsetY="-46" delay="75"/> + <frame index="0" offsetX="0" offsetY="-47" delay="150"/> + </animation> + <animation direction="left"> + <frame index="1" offsetX="0" offsetY="-47" delay="75"/> + <frame index="1" offsetX="0" offsetY="-46" delay="75"/> + <frame index="1" offsetX="0" offsetY="-47" delay="150"/> + <frame index="1" offsetX="0" offsetY="-46" delay="75"/> + <frame index="1" offsetX="0" offsetY="-47" delay="75"/> + </animation> + <animation direction="up"> + <frame index="2" offsetX="-1" offsetY="-48" delay="75"/> + <frame index="2" offsetX="-1" offsetY="-49" delay="150"/> + <frame index="2" offsetX="-1" offsetY="-48" delay="75"/> + <frame index="2" offsetX="-1" offsetY="-49" delay="150"/> + </animation> + <animation direction="right"> + <frame index="3" offsetX="0" offsetY="-47" delay="75"/> + <frame index="3" offsetX="0" offsetY="-46" delay="75"/> + <frame index="3" offsetX="0" offsetY="-47" delay="150"/> + <frame index="3" offsetX="0" offsetY="-46" delay="75"/> + <frame index="3" offsetX="0" offsetY="-47" delay="75"/> + </animation> + </action> + <action name="attack" imageset="base"> + <animation direction="down"> + <frame index="0" offsetX="0" offsetY="-45" delay="75"/> + <frame index="0" offsetX="0" offsetY="-46" delay="75"/> + <frame index="0" offsetX="0" offsetY="-43" delay="75"/> + <frame index="0" offsetX="0" offsetY="-42" delay="75"/> + <end/> + </animation> + <animation direction="left"> + <frame index="1" offsetX="4" offsetY="-48" delay="75"/> + <frame index="1" offsetX="4" offsetY="-49" delay="75"/> + <frame index="1" offsetX="0" offsetY="-46" delay="75"/> + <frame index="1" offsetX="-1" offsetY="-45" delay="75"/> + <end/> + </animation> + <animation direction="up"> + <frame index="2" offsetX="-2" offsetY="-48" delay="225"/> + <frame index="2" offsetX="-2" offsetY="-46" delay="75"/> + <end/> + </animation> + <animation direction="right"> + <frame index="3" offsetX="-3" offsetY="-48" delay="75"/> + <frame index="3" offsetX="-3" offsetY="-49" delay="75"/> + <frame index="3" offsetX="0" offsetY="-46" delay="75"/> + <frame index="3" offsetX="1" offsetY="-45" delay="75"/> + <end/> + </animation> + </action> + <action name="attack_bow" imageset="base"> + <animation direction="down"> + <frame index="0" offsetX="0" offsetY="-46" delay="225"/> + <frame index="0" offsetX="0" offsetY="-45" delay="75"/> + <frame index="0" offsetX="0" offsetY="-46" delay="75"/> + <end/> + </animation> + <animation direction="left"> + <frame index="1" offsetX="3" offsetY="-47" delay="225"/> + <frame index="1" offsetX="5" offsetY="-48" delay="150"/> + <end/> + </animation> + <animation direction="up"> + <frame index="2" offsetX="-1" offsetY="-48" delay="225"/> + <frame index="2" offsetX="-2" offsetY="-47" delay="75"/> + <frame index="2" offsetX="-2" offsetY="-48" delay="75"/> + <end/> + </animation> + <animation direction="right"> + <frame index="3" offsetX="-3" offsetY="-47" delay="225"/> + <frame index="3" offsetX="-5" offsetY="-48" delay="150"/> + <end/> + </animation> + </action> + <action name="sit" imageset="base"> + <animation direction="down"> + <frame index="0" offsetX="0" offsetY="-35"/> + </animation> + <animation direction="left"> + <frame index="1" offsetX="4" offsetY="-38"/> + </animation> + <animation direction="up"> + <frame index="2" offsetX="0" offsetY="-40"/> + </animation> + <animation direction="right"> + <frame index="3" offsetX="-6" offsetY="-38"/> + </animation> + </action> + <action name="dead" imageset="base"> + <animation direction="default"> + <frame index="4" offsetX="37" offsetY="-11"/> + </animation> + </action> +</sprite> |