Author: espreon
Date: Wed Oct 19 02:07:25 2011
New Revision: 51542
URL: http://svn.gna.org/viewcvs/wesnoth?rev=51542&view=rev
Log:
Moved leader-expendable.png to core; added IS_EXPENDABLE_LEADER.
Added:
trunk/data/core/images/misc/leader-expendable.png
- copied unchanged from r51527, trunk/images/misc/leader-expendable.png
Removed:
trunk/images/misc/leader-expendable.png
Modified:
trunk/changelog
trunk/data/core/macros/image-utils.cfg
Modified: trunk/changelog
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/changelog?rev=51542&r1=51541&r2=51542&view=diff
==============================================================================
--- trunk/changelog (original)
+++ trunk/changelog Wed Oct 19 02:07:25 2011
@@ -56,6 +56,7 @@
* Fixed "error parsing image modifications" message caused by subsequent
image
mod additions using the add attribute in [effect] apply_to=image_mod
* Made $this_unit in filter_recall work
+ * Added IS_EXPENDABLE_LEADER, which gives a unit the expendable leader icon
* Miscellaneous and bug fixes:
* Fixed compilation on all Debian architectures (Debian bug #636193)
* Fixed handling of #ifver and #ifnver preprocessor directives in wmllint
Modified: trunk/data/core/macros/image-utils.cfg
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/data/core/macros/image-utils.cfg?rev=51542&r1=51541&r2=51542&view=diff
==============================================================================
--- trunk/data/core/macros/image-utils.cfg (original)
+++ trunk/data/core/macros/image-utils.cfg Wed Oct 19 02:07:25 2011
@@ -31,6 +31,11 @@
#define IS_LOYAL
# Embed this into a unit declaration to add a loyalty icon to the unit.
overlays="misc/loyal-icon.png"
+#enddef
+
+#define IS_EXPENDABLE_LEADER
+ # Embed this into a unit declaration to add an expendable leader icon to
the unit.
+ overlays="misc/leader-expendable.png"
#enddef
#define NEW_JOURNEY X Y
Removed: trunk/images/misc/leader-expendable.png
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/images/misc/leader-expendable.png?rev=51541&view=auto
==============================================================================
Binary file - no diff available.
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits