diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-10-02 12:42:47 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-10-02 12:42:47 +0300 |
commit | 945ee5304c690d11fb3b3bac683544ac0e0fb0a9 (patch) | |
tree | 36da25e39fc9116d71845bbd556ff4d28f1d6961 | |
parent | d13de51121a332cf8613a38d7ed5468f971c999f (diff) | |
download | manaverse-945ee5304c690d11fb3b3bac683544ac0e0fb0a9.tar.gz manaverse-945ee5304c690d11fb3b3bac683544ac0e0fb0a9.tar.bz2 manaverse-945ee5304c690d11fb3b3bac683544ac0e0fb0a9.tar.xz manaverse-945ee5304c690d11fb3b3bac683544ac0e0fb0a9.zip |
Add legacy target selection image in mana theme.
-rw-r--r-- | data/themes/mana/CMakeLists.txt | 12 | ||||
-rw-r--r-- | data/themes/mana/Makefile.am | 14 | ||||
-rw-r--r-- | data/themes/mana/target-cursor-in-range-l.png | bin | 0 -> 23803 bytes | |||
-rw-r--r-- | data/themes/mana/target-cursor-in-range-l.xml | 15 | ||||
-rw-r--r-- | data/themes/mana/target-cursor-in-range-m.png | bin | 0 -> 18439 bytes | |||
-rw-r--r-- | data/themes/mana/target-cursor-in-range-m.xml | 15 | ||||
-rw-r--r-- | data/themes/mana/target-cursor-in-range-s.png | bin | 0 -> 8353 bytes | |||
-rw-r--r-- | data/themes/mana/target-cursor-in-range-s.xml | 15 | ||||
-rw-r--r-- | data/themes/mana/target-cursor-normal-l.png | bin | 0 -> 25586 bytes | |||
-rw-r--r-- | data/themes/mana/target-cursor-normal-l.xml | 15 | ||||
-rw-r--r-- | data/themes/mana/target-cursor-normal-m.png | bin | 0 -> 17950 bytes | |||
-rw-r--r-- | data/themes/mana/target-cursor-normal-m.xml | 15 | ||||
-rw-r--r-- | data/themes/mana/target-cursor-normal-s.png | bin | 0 -> 8361 bytes | |||
-rw-r--r-- | data/themes/mana/target-cursor-normal-s.xml | 15 | ||||
-rw-r--r-- | src/being/actorsprite.cpp | 2 |
15 files changed, 116 insertions, 2 deletions
diff --git a/data/themes/mana/CMakeLists.txt b/data/themes/mana/CMakeLists.txt index f6a025de5..8c221594d 100644 --- a/data/themes/mana/CMakeLists.txt +++ b/data/themes/mana/CMakeLists.txt @@ -6,6 +6,18 @@ SET (FILES npc.xml quests.xml social.xml + target-cursor-in-range-l.png + target-cursor-in-range-l.xml + target-cursor-in-range-m.png + target-cursor-in-range-m.xml + target-cursor-in-range-s.png + target-cursor-in-range-s.xml + target-cursor-normal-l.png + target-cursor-normal-l.xml + target-cursor-normal-m.png + target-cursor-normal-m.xml + target-cursor-normal-s.png + target-cursor-normal-s.xml ) INSTALL(FILES ${FILES} DESTINATION ${DATA_DIR}/themes/mana) diff --git a/data/themes/mana/Makefile.am b/data/themes/mana/Makefile.am index 77be14b9e..0403e6763 100644 --- a/data/themes/mana/Makefile.am +++ b/data/themes/mana/Makefile.am @@ -8,7 +8,19 @@ gui_DATA = \ mouse.png \ npc.xml \ quests.xml \ - social.xml + social.xml \ + target-cursor-in-range-l.png \ + target-cursor-in-range-l.xml \ + target-cursor-in-range-m.png \ + target-cursor-in-range-m.xml \ + target-cursor-in-range-s.png \ + target-cursor-in-range-s.xml \ + target-cursor-normal-l.png \ + target-cursor-normal-l.xml \ + target-cursor-normal-m.png \ + target-cursor-normal-m.xml \ + target-cursor-normal-s.png \ + target-cursor-normal-s.xml EXTRA_DIST = \ $(gui_DATA) \ diff --git a/data/themes/mana/target-cursor-in-range-l.png b/data/themes/mana/target-cursor-in-range-l.png Binary files differnew file mode 100644 index 000000000..77cdf4b6d --- /dev/null +++ b/data/themes/mana/target-cursor-in-range-l.png diff --git a/data/themes/mana/target-cursor-in-range-l.xml b/data/themes/mana/target-cursor-in-range-l.xml new file mode 100644 index 000000000..952d8eda6 --- /dev/null +++ b/data/themes/mana/target-cursor-in-range-l.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Author: Alige +Copyright (C) 2013 Evol Online --> +<sprite> + <imageset name="target-large" + src="themes/mana/target-cursor-in-range-l.png" + width="82" + height="60"/> + + <action name="default" imageset="target-large"> + <animation direction="default"> + <sequence start="0" end="7" delay="50"/> + </animation> + </action> +</sprite> diff --git a/data/themes/mana/target-cursor-in-range-m.png b/data/themes/mana/target-cursor-in-range-m.png Binary files differnew file mode 100644 index 000000000..c0107357a --- /dev/null +++ b/data/themes/mana/target-cursor-in-range-m.png diff --git a/data/themes/mana/target-cursor-in-range-m.xml b/data/themes/mana/target-cursor-in-range-m.xml new file mode 100644 index 000000000..1638bd1bb --- /dev/null +++ b/data/themes/mana/target-cursor-in-range-m.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Author: Alige +Copyright (C) 2013 Evol Online --> +<sprite> + <imageset name="target-medium" + src="themes/mana/target-cursor-in-range-m.png" + width="62" + height="44"/> + + <action name="default" imageset="target-medium"> + <animation direction="default"> + <sequence start="0" end="7" delay="100"/> + </animation> + </action> +</sprite> diff --git a/data/themes/mana/target-cursor-in-range-s.png b/data/themes/mana/target-cursor-in-range-s.png Binary files differnew file mode 100644 index 000000000..3e81c75de --- /dev/null +++ b/data/themes/mana/target-cursor-in-range-s.png diff --git a/data/themes/mana/target-cursor-in-range-s.xml b/data/themes/mana/target-cursor-in-range-s.xml new file mode 100644 index 000000000..dfe596032 --- /dev/null +++ b/data/themes/mana/target-cursor-in-range-s.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Author: Alige +Copyright (C) 2013 Evol Online --> +<sprite> + <imageset name="target-small" + src="themes/mana/target-cursor-in-range-s.png" + width="44" + height="35"/> + + <action name="default" imageset="target-small"> + <animation direction="default"> + <sequence start="0" end="7" delay="100"/> + </animation> + </action> +</sprite> diff --git a/data/themes/mana/target-cursor-normal-l.png b/data/themes/mana/target-cursor-normal-l.png Binary files differnew file mode 100644 index 000000000..76d2101b1 --- /dev/null +++ b/data/themes/mana/target-cursor-normal-l.png diff --git a/data/themes/mana/target-cursor-normal-l.xml b/data/themes/mana/target-cursor-normal-l.xml new file mode 100644 index 000000000..b2992b903 --- /dev/null +++ b/data/themes/mana/target-cursor-normal-l.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Author: Alige +Copyright (C) 2013 Evol Online --> +<sprite> + <imageset name="target-large" + src="themes/mana/target-cursor-normal-l.png" + width="82" + height="60"/> + + <action name="default" imageset="target-large"> + <animation direction="default"> + <sequence start="0" end="7" delay="50"/> + </animation> + </action> +</sprite> diff --git a/data/themes/mana/target-cursor-normal-m.png b/data/themes/mana/target-cursor-normal-m.png Binary files differnew file mode 100644 index 000000000..e2ab79c29 --- /dev/null +++ b/data/themes/mana/target-cursor-normal-m.png diff --git a/data/themes/mana/target-cursor-normal-m.xml b/data/themes/mana/target-cursor-normal-m.xml new file mode 100644 index 000000000..2174a4a62 --- /dev/null +++ b/data/themes/mana/target-cursor-normal-m.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Author: Alige +Copyright (C) 2013 Evol Online --> +<sprite> + <imageset name="target-medium" + src="themes/mana/target-cursor-normal-m.png" + width="62" + height="44"/> + + <action name="default" imageset="target-medium"> + <animation direction="default"> + <sequence start="0" end="7" delay="100"/> + </animation> + </action> +</sprite> diff --git a/data/themes/mana/target-cursor-normal-s.png b/data/themes/mana/target-cursor-normal-s.png Binary files differnew file mode 100644 index 000000000..09195f440 --- /dev/null +++ b/data/themes/mana/target-cursor-normal-s.png diff --git a/data/themes/mana/target-cursor-normal-s.xml b/data/themes/mana/target-cursor-normal-s.xml new file mode 100644 index 000000000..0c3ec3ba2 --- /dev/null +++ b/data/themes/mana/target-cursor-normal-s.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Author: Alige +Copyright (C) 2013 Evol Online --> +<sprite> + <imageset name="target-small" + src="themes/mana/target-cursor-normal-s.png" + width="44" + height="35"/> + + <action name="default" imageset="target-small"> + <animation direction="default"> + <sequence start="0" end="7" delay="100"/> + </animation> + </action> +</sprite> diff --git a/src/being/actorsprite.cpp b/src/being/actorsprite.cpp index 17d58539b..66b2b9f17 100644 --- a/src/being/actorsprite.cpp +++ b/src/being/actorsprite.cpp @@ -362,7 +362,7 @@ static const char *cursorSize(const int size) void ActorSprite::initTargetCursor() { static const std::string targetCursorFile("%s/target-cursor-%s-%s.xml"); - const std::string path(branding.getStringValue("guiPath")); + const std::string path(Theme::getThemePath()); // Load target cursors for (int size = TC_SMALL; size < NUM_TC; size++) |