Author: elvish_hunter
Date: Mon Nov 7 11:05:01 2011
New Revision: 51910
URL: http://svn.gna.org/viewcvs/wesnoth?rev=51910&view=rev
Log:
Added IS_LAST_SCENARIO macro
Modified:
trunk/changelog
trunk/data/core/macros/objective-utils.cfg
Modified: trunk/changelog
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/changelog?rev=51910&r1=51909&r2=51910&view=diff
==============================================================================
--- trunk/changelog (original)
+++ trunk/changelog Mon Nov 7 11:05:01 2011
@@ -127,6 +127,7 @@
* Made [move_unit] respect image modifications applied by EffectWML to
single units
* Introduce [unit_type]image_icon key to override image for 72x72 icons
(FR bug #15466)
+ * Added IS_LAST_SCENARIO macro, for use in [objectives] dialog.
* Miscellaneous and bug fixes:
* Add --language/-L commandline option to set the language for that session
* Fixed: Avoid copying of singular iterators in the whiteboard code
Modified: trunk/data/core/macros/objective-utils.cfg
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/data/core/macros/objective-utils.cfg?rev=51910&r1=51909&r2=51910&view=diff
==============================================================================
--- trunk/data/core/macros/objective-utils.cfg (original)
+++ trunk/data/core/macros/objective-utils.cfg Mon Nov 7 11:05:01 2011
@@ -67,3 +67,9 @@
condition=win
[/objective]
#enddef
+
+#define IS_LAST_SCENARIO
+ [note]
+ description="<span color='cyan' weight='bold'>" + _"This is the last
scenario." + "</span>"
+ [/note]
+#enddef
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits