diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-08-02 03:15:18 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-08-02 03:15:18 +0300 |
commit | d0d872ffeff89facdd35ce358bd4d9b73cf8332c (patch) | |
tree | 806e6d7b2c70a05de9b473505d0269945843e574 /data | |
parent | 950c3109bcd8a69d77d22c316cfc6ab34abf5f22 (diff) | |
download | manaplus-d0d872ffeff89facdd35ce358bd4d9b73cf8332c.tar.gz manaplus-d0d872ffeff89facdd35ce358bd4d9b73cf8332c.tar.bz2 manaplus-d0d872ffeff89facdd35ce358bd4d9b73cf8332c.tar.xz manaplus-d0d872ffeff89facdd35ce358bd4d9b73cf8332c.zip |
Add all known windows into windows unit tests.
Diffstat (limited to 'data')
-rw-r--r-- | data/test/CMakeLists.txt | 6 | ||||
-rw-r--r-- | data/test/Makefile.am | 8 | ||||
-rw-r--r-- | data/test/dye.png | bin | 0 -> 794 bytes | |||
-rw-r--r-- | data/test/equipmentwindow.xml | 53 | ||||
-rw-r--r-- | data/test/items.xml | 187 | ||||
-rw-r--r-- | data/test/paths.xml | 7 | ||||
-rw-r--r-- | data/test/units.xml | 10 |
7 files changed, 270 insertions, 1 deletions
diff --git a/data/test/CMakeLists.txt b/data/test/CMakeLists.txt index 1c98ea1d6..e300301d8 100644 --- a/data/test/CMakeLists.txt +++ b/data/test/CMakeLists.txt @@ -3,9 +3,15 @@ SET(FILES arrow_up_A.png arrow_up_B.png arrow_up_S.png + dye.png + equipmentwindow.xml + items.xml palette.gpl + paths.xml + quests.xml serverlistplus.xml simplefile.txt + units.xml ) INSTALL(FILES ${FILES} DESTINATION ${DATA_DIR}/test) diff --git a/data/test/Makefile.am b/data/test/Makefile.am index 1f17ebca2..5000dbadb 100644 --- a/data/test/Makefile.am +++ b/data/test/Makefile.am @@ -5,9 +5,15 @@ test_DATA = \ arrow_up_A.png \ arrow_up_B.png \ arrow_up_S.png \ + dye.png \ + equipmentwindow.xml \ + items.xml \ palette.gpl \ + paths.xml \ + quests.xml \ serverlistplus.xml \ - simplefile.txt + simplefile.txt \ + units.xml EXTRA_DIST = \ $(test_DATA) \ diff --git a/data/test/dye.png b/data/test/dye.png Binary files differnew file mode 100644 index 000000000..a78675b94 --- /dev/null +++ b/data/test/dye.png diff --git a/data/test/equipmentwindow.xml b/data/test/equipmentwindow.xml new file mode 100644 index 000000000..91db49205 --- /dev/null +++ b/data/test/equipmentwindow.xml @@ -0,0 +1,53 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Author: 4144 +Copyright (C) 2011-2012 Evol Online --> + +<equipment> + <page name="default"> + <playerbox x="50" y="80" width="74" height="168"/> + <slot name="torso" x="94" y="48" image="0"/> + <slot name="gloves" x="8" y="92" image="1"/> + <slot name="hat" x="72" y="4" image="2"/> + <slot name="pants" x="50" y="271" image="3"/> + <slot name="boots" x="94" y="271" image="4"/> + <slot name="" x="8" y="213"/> + <slot name="wings" x="136" y="227" image="10"/> + <slot name="scarf" x="50" y="48" image="11"/> + <slot name="weapon" x="8" y="182" image="7"/> + <slot name="shield" x="136" y="182" image="8"/> + <slot name="ammo" x="136" y="92" image="9"/> + <slot name="amulet" x="8" y="137" image="6"/> + <slot name="ring" x="136" y="137" image="5"/> + </page> + <page name="all"> + <slot name="slot0" x="8" y="0" image="0"/> + <slot name="slot1" x="48" y="0" image="0"/> + <slot name="slot2" x="88" y="0" image="0"/> + <slot name="slot3" x="128" y="0" image="0"/> + + <slot name="slot4" x="8" y="40" image="0"/> + <slot name="slot5" x="48" y="40" image="0"/> + <slot name="slot6" x="88" y="40" image="0"/> + <slot name="slot7" x="128" y="40" image="0"/> + + <slot name="slot8" x="8" y="80" image="0"/> + <slot name="slot9" x="48" y="80" image="0"/> + <slot name="slot10" x="88" y="80" image="0"/> + <slot name="slot11" x="128" y="80" image="0"/> + + <slot name="slot12" x="8" y="120" image="0"/> + <slot name="slot13" x="48" y="120" image="0"/> + <slot name="slot14" x="88" y="120" image="0"/> + <slot name="slot15" x="128" y="120" image="0"/> + + <slot name="slot16" x="8" y="160" image="0"/> + <slot name="slot17" x="48" y="160" image="0"/> + <slot name="slot18" x="88" y="160" image="0"/> + <slot name="slot19" x="128" y="160" image="0"/> + + <slot name="slot20" x="8" y="200" image="0"/> + <slot name="slot21" x="48" y="200" image="0"/> + <slot name="slot22" x="88" y="200" image="0"/> + <slot name="slot23" x="128" y="200" image="0"/> + </page> +</equipment> diff --git a/data/test/items.xml b/data/test/items.xml new file mode 100644 index 000000000..ec3621f23 --- /dev/null +++ b/data/test/items.xml @@ -0,0 +1,187 @@ +<?xml version="1.0" encoding="utf-8"?> +<?xml-stylesheet type="text/xsl" href="items.xsl"?> +<!-- Authors: 4144, Alige, Piman, Reid +Copyright (C) 2010-2015 Evol Online --> + +<!-- +New organization (04/12/11). +-0 -99 = Hairstyles +-100 -infinity = Races +30 500 = Weapon Animations +501 699 = Usable Items +700 999 = Generic Items +1000 1299 = Necklaces +1300 1799 = Chest Armors +1800 1999 = Boots +2000 2199 = Gloves +2200 2499 = Pants +2500 2699 = Wings +2700 2899 = Shields +2900 3199 = Head Gears +3200 3499 = Neck Armors +3500 3999 = Weapons +4000 4999 = Pets +5000 5999 = Cards +6000 6999 = Bows +7000 7999 = Arrows +Colors for dyeable equipments or items are now set up by itemcolors.xml. +--> + +<items> + <!-- Hairstyles --> + <item id="-1" type="hairsprite" name="Bald"> + <sprite>hairstyles/hairstyle01.xml</sprite> + </item> + <item id="-2" type="hairsprite" name="Bowl Cut" colors="hairS"> + <sprite>hairstyles/hairstyle02.xml</sprite> + </item> + <item id="-3" type="hairsprite" name="Combed Back" colors="hairS"> + <sprite>hairstyles/hairstyle03.xml</sprite> + </item> + <item id="-4" type="hairsprite" name="Emo" colors="hairS"> + <sprite>hairstyles/hairstyle04.xml</sprite> + </item> + <item id="-5" type="hairsprite" name="Mohawk" colors="hairS"> + <sprite>hairstyles/hairstyle05.xml</sprite> + </item> + <item id="-6" type="hairsprite" name="Pompadour" colors="hairS"> + <sprite>hairstyles/hairstyle06.xml</sprite> + </item> + <item id="-7" type="hairsprite" name="Center Parting" colors="hairS"> + <sprite>hairstyles/hairstyle07.xml</sprite> + </item> + <item id="-8" type="hairsprite" name="Long and Slick" colors="hair"> + <sprite>hairstyles/hairstyle08.xml</sprite> + </item> + <item id="-9" type="hairsprite" name="Short and Curly" colors="hair"> + <sprite>hairstyles/hairstyle09.xml</sprite> + </item> + <item id="-10" type="hairsprite" name="Pigtails" colors="hair"> + <sprite>hairstyles/hairstyle10.xml</sprite> + </item> + <item id="-11" type="hairsprite" name="Long and Curly" colors="hair"> + <sprite>hairstyles/hairstyle11.xml</sprite> + </item> + <item id="-12" type="hairsprite" name="Parted" colors="hair"> + <sprite>hairstyles/hairstyle12.xml</sprite> + </item> + <item id="-13" type="hairsprite" name="Perky Ponytail" colors="hairS"> + <sprite>hairstyles/hairstyle13.xml</sprite> + </item> + <item id="-14" type="hairsprite" name="Wave" colors="hairS"> + <sprite>hairstyles/hairstyle14.xml</sprite> + </item> + <item id="-15" type="hairsprite" name="Mane" colors="hairS"> + <sprite>hairstyles/hairstyle15.xml</sprite> + </item> + <item id="-16" type="hairsprite" name="Bun" colors="hairS"> + <sprite>hairstyles/hairstyle16.xml</sprite> + </item> + <item id="-17" type="hairsprite" name="Wavy" colors="hairS"> + <sprite>hairstyles/hairstyle17.xml</sprite> + </item> + <item id="-18" type="hairsprite" name="Bunches" colors="hairS"> + <sprite>hairstyles/hairstyle18.xml</sprite> + </item> + <item id="-19" type="hairsprite" name="Long Ponytail" colors="hairS"> + <sprite>hairstyles/hairstyle19.xml</sprite> + </item> + <item id="-20" type="hairsprite" name="Infinitely Long" colors="hair"> + <sprite>hairstyles/hairstyle20.xml</sprite> + </item> + <item id="-21" type="hairsprite" name="Choppy" colors="hair"> + <sprite>hairstyles/hairstyle21.xml</sprite> + </item> + <item id="-22" type="hairsprite" name="Wild" colors="hair"> + <sprite>hairstyles/hairstyle22.xml</sprite> + </item> + <item id="-23" type="hairsprite" name="Punk" colors="hairS"> + <sprite>hairstyles/hairstyle23.xml</sprite> + </item> + <item id="-24" type="hairsprite" name="Imperial" colors="hairS"> + <sprite>hairstyles/hairstyle24.xml</sprite> + </item> + <item id="-25" type="hairsprite" name="Side Strand" colors="hairS"> + <sprite>hairstyles/hairstyle25.xml</sprite> + </item> + <item id="-26" type="hairsprite" name="Messy" colors="hairS"> + <sprite>hairstyles/hairstyle26.xml</sprite> + </item> + <item id="-27" type="hairsprite" name="Flat Ponytail" colors="hairS"> + <sprite>hairstyles/hairstyle27.xml</sprite> + </item> + <item id="-28" type="hairsprite" name="Tapered Nape" colors="hairS"> + <sprite>hairstyles/hairstyle28.xml</sprite> + </item> + + <!-- Races --> + <item id="-100" type="racesprite" name="Human"> + <sprite gender="unisex">races/human-male.xml</sprite> + <sprite gender="female">races/human-female.xml</sprite> + <sound event="hit">weapons/barehands/hit1.ogg</sound> + <sound event="miss">weapons/barehands/miss1.ogg</sound> + </item> + <item id="-101" type="racesprite" name="Ukar"> + <sprite gender="unisex">races/ukar-male.xml</sprite> + <sprite gender="female">races/ukar-female.xml</sprite> + <sound event="hit">weapons/barehands/hit1.ogg</sound> + <sound event="miss">weapons/barehands/miss1.ogg</sound> + </item> + <item id="-102" type="racesprite" name="Demon"> + <sprite gender="unisex">races/demon-male.xml</sprite> + <sprite gender="female">races/demon-female.xml</sprite> + <sound event="hit">weapons/barehands/hit1.ogg</sound> + <sound event="miss">weapons/barehands/miss1.ogg</sound> + </item> + <item id="-103" type="racesprite" name="Elven"> + <sprite gender="unisex">races/elven-male.xml</sprite> + <sprite gender="female">races/elven-female.xml</sprite> + <sound event="hit">weapons/barehands/hit1.ogg</sound> + <sound event="miss">weapons/barehands/miss1.ogg</sound> + </item> + <item id="-104" type="racesprite" name="Orc"> + <sprite gender="unisex">races/orc-male.xml</sprite> + <sprite gender="female">races/orc-female.xml</sprite> + <sound event="hit">weapons/barehands/hit1.ogg</sound> + <sound event="miss">weapons/barehands/miss1.ogg</sound> + </item> + <item id="-105" type="racesprite" name="Raijin"> + <sprite gender="unisex">races/raijin-male.xml</sprite> + <sprite gender="female">races/raijin-female.xml</sprite> + <sound event="hit">weapons/barehands/hit1.ogg</sound> + <sound event="miss">weapons/barehands/miss1.ogg</sound> + </item> + <item id="-106" type="racesprite" name="Tritan"> + <sprite gender="unisex">races/tritan-male.xml</sprite> + <sprite gender="female">races/tritan-female.xml</sprite> + <sound event="hit">weapons/barehands/hit1.ogg</sound> + <sound event="miss">weapons/barehands/miss1.ogg</sound> + </item> + + <!-- Special Races --> + <item id="-150" type="racesprite" name="Piou"> + <sprite gender="unisex">races/piou-unisex.xml</sprite> + <sound event="hit">monsters/piou/hit1.ogg</sound> + <sound event="miss">monsters/piou/miss1.ogg</sound> + </item> + + <!-- Cards --> + <item id="5000" + image="dye.png|S:#3c3c3c,3e1e28,4d4d4d,6f2630,686868,a6313f,919191,d15b5b,b6b6b6,e59b77,dfdfdf,efe0c1" + name="Crimson Cashmere Dye" + useButton="Dye" + description="Color dye that can be used on cashemere clothing." + type="card" + weight="1" + cardColor="2" + maxFloorOffset="15"/> + <item id="5001" + image="dye.png|S:#3c3c3c,302525,4d4d4d,4a3430,686868,69453a,919191,96664c,b6b6b6,bf8d67,dfdfdf,e6c19c" + name="Chocolate Cashmere Dye" + useButton="Dye" + description="Color dye that can be used on cashemere clothing." + type="card" + weight="1" + cardColor="3" + maxFloorOffset="15"/> +</items> diff --git a/data/test/paths.xml b/data/test/paths.xml new file mode 100644 index 000000000..ce2433212 --- /dev/null +++ b/data/test/paths.xml @@ -0,0 +1,7 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Authors: 4144, Alige, Reid +Copyright (C) 2010-2013 Evol Online --> + +<configuration> + <option name="itemIcons" value=""/> +</configuration> diff --git a/data/test/units.xml b/data/test/units.xml new file mode 100644 index 000000000..37e520127 --- /dev/null +++ b/data/test/units.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Author: 4144 +Copyright (C) 2010-2013 Evol Online --> + +<units> + <unit type="currency" base=" E" round="0" separator=" "/> + <unit type="weight" base=" Florin" round="0" separator=" "> + <level symbol=" KF" count="1000" round="2"/> + </unit> +</units> |