Skip to content

Commit

Permalink
HAS_NO_TURN_LIMIT objectives macro
Browse files Browse the repository at this point in the history
A convenience macro to add a standardized note to the objectives pointing out there is no turn limit.
  • Loading branch information
GregoryLundberg committed Aug 20, 2016
1 parent 4dbf5b0 commit 15c761e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions changelog
Expand Up @@ -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
Expand Down
6 changes: 6 additions & 0 deletions data/core/macros/objective-utils.cfg
Expand Up @@ -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

0 comments on commit 15c761e

Please sign in to comment.