HAS_NO_TURN_LIMIT objectives macro

A convenience macro to add a standardized note to the objectives pointing out there is no turn limit.
This commit is contained in:
Gregory A Lundberg 2016-08-19 19:56:30 -05:00
parent 4dbf5b0263
commit 15c761ec75
2 changed files with 7 additions and 0 deletions

View file

@ -18,6 +18,7 @@ Version 1.13.5+dev:
* Fix game map sometimes showing and buttons sometimes not rendered properly in story screen (bug #24553)
* Improved font rendering on Windows.
* WML Engine:
* Added {HAS_NO_TURN_LIMIT} macro for objectives
* New attributes for [message] with [option]
- Added variable= to [message]: if specified, gives variable name to receive the [option] index (1..n) selected
only used if any [option] appear

View file

@ -48,3 +48,9 @@
description="<b>" + _"This is the last scenario." + "</b>"
[/note]
#enddef
#define HAS_NO_TURN_LIMIT
[note]
description= "<b>" + _"No turn limit" + "</b>"
[/note]
#enddef