21417 Commits

Author SHA1 Message Date
Charles Dang
fd098e4b62 Simplify HIGHLIGHT_IMAGE using the new [repeat] tag 2015-10-04 04:30:38 +11:00
Celtic Minstrel
74152fc2cb Fix [object] without a filter 2015-10-01 16:13:19 -04:00
Celtic Minstrel
13033270ae Sanity test in [for] for sgn(step) ~= sgn(last-first) 2015-10-01 14:29:47 -04:00
Celtic Minstrel
281f952a08 Fix [for] not working for decreasing ranges 2015-10-01 14:08:42 -04:00
Celtic Minstrel
c0384520ad Fix [for]step= not being honoured 2015-10-01 14:05:29 -04:00
Celtic Minstrel
d5e7be9cef Fix [for]reverse= check 2015-10-01 14:03:27 -04:00
Celtic Minstrel
9fb175c9d6 Use new looping tags to implement loop macros 2015-10-01 13:37:55 -04:00
Charles Dang
dd0b2104a5 Deprecated MENU_IMG_TXT and MENU_IMG_TXT2 2015-10-01 21:10:27 +11:00
Charles Dang
9ac120ab7d Add missing [ai] block to Drakes (default) faction (bug #23404) 2015-10-01 13:28:39 +11:00
Charles Dang
9e24258b5f AOI: used macros for difficulty levels and restored missing define 2015-10-01 06:34:59 +11:00
CelticMinstrel
320372d6b8 Merge pull request #507 from CelticMinstrel/lua-vconfig
Lua vconfig iteration
2015-09-30 15:22:53 -04:00
CelticMinstrel
d964aeecb5 Merge pull request #513 from CelticMinstrel/descriptionwml
New syntax for [message][option]message= similar to new [campaign][difficulty]
2015-09-30 15:12:06 -04:00
Charles Dang
96fc657d41 E1 S10: end scenario when research begins if enemies are defeated (bug #23899) 2015-10-01 00:26:30 +11:00
Celtic Minstrel
114b31c90c New syntax for [message][option]message= similar to new [campaign][difficulty] 2015-09-30 02:01:03 -04:00
gfgtdf
7f24dd1907 add 'continue game' button to replaytheme
previously this was only accesible via hotkeys
2015-09-30 02:58:41 +02:00
CelticMinstrel
f31084da84 Remove asserts 2015-09-29 20:56:34 -04:00
Celtic Minstrel
9aa015a57a Fix helper.child_range to work on config and vconfig alike 2015-09-29 20:04:03 -04:00
Celtic Minstrel
2c337d4115 Use ipairs() for helper.child_range 2015-09-29 14:46:41 -04:00
Celtic Minstrel
7fb0831da6 Use ipairs for the helper functions 2015-09-29 12:55:31 -04:00
Charles Dang
bd6467d166 Converted mainline campaigns to use new difficulty syntax 2015-09-29 15:35:40 +11:00
Charles Dang
bdaddd9a4f New syntax for campaign difficulty
This replaces the old format using the tlegacy_menu_item syntax with a new one using a [difficulty] tag.
The only syntax is still supported for now
2015-09-29 15:35:39 +11:00
Wedge009
69202648e7 Correction mis-spelling of plus 2015-09-28 18:08:42 +10:00
Wedge009
8652803675 Correcting a presumed copy-paste error 2015-09-28 18:03:30 +10:00
Wedge009
e0b3e63b02 Added another missing apostrophe 2015-09-28 18:00:49 +10:00
Wedge009
6d45a26ee2 affect/effect correction 2015-09-28 17:56:31 +10:00
Celtic Minstrel
03a38c5294 Lua API: More helper functions for configs 2015-09-26 02:43:59 -04:00
Elvish_Hunter
6e4ecbb408 Converted wmllint-1.4 to Python 3 2015-09-24 11:40:14 +02:00
Elvish_Hunter
21a6bc5831 Converted GUI.pyw to Python 3 2015-09-24 11:40:14 +02:00
Elvish_Hunter
526d745dfb Converted wmlindent to Python 3 2015-09-24 11:40:13 +02:00
Elvish_Hunter
1f5d713ee1 Converted wmlscope to Python 3 2015-09-24 11:40:13 +02:00
Elvish_Hunter
a04bc6f45d Converted wmllint to Python 3
Please note that attempting to run wmllint on Python 3.4 leads to an exception after finishing the spellcheck. This is a known bug in PyEnchant 1.6.5, and it can be solved by using PyEnchant 1.6.6.
See https://github.com/rfk/pyenchant/issues/34 .
2015-09-24 11:40:13 +02:00
Elvish_Hunter
53b5d031e9 Added Python 3 versions of wmltools and wmliterator
The Python 2 versions should be removed as soon as there are no more scripts using them.
2015-09-24 11:40:13 +02:00
CelticMinstrel
f07e463882 Merge pull request #493 from CelticMinstrel/foreach
Enhanced looping tags
2015-09-23 00:50:30 -04:00
Celtic Minstrel
7e26e09061 Fix erroneous handling of [break]/[continue] in [elseif] 2015-09-23 00:25:31 -04:00
Celtic Minstrel
0d49eeeb39 Add SUCCEED/FAIL macros for WML test cases 2015-09-22 23:13:38 -04:00
Celtic Minstrel
33a43990ad Add an explanatory comment to [foreach] 2015-09-22 22:13:36 -04:00
Elias Pschernig
900c84657b Upgraded wesnoth_addon_manager to Python 3
This includes campaignserver_client.py which is also used by wescamp.py
- however wescamp.py is still Python 2 at this point and will need to be
  upgraded at a later point in time.
2015-09-22 16:33:14 -04:00
Celtic Minstrel
d5eea2abbf Fix [show_if] in [message][option] 2015-09-22 16:16:08 -04:00
gfgtdf
58512935d4 add [message] wait_description=
the description provided in wait_description is used when other players
wait for this [message] input.
2015-09-21 15:50:14 +02:00
gfgtdf
4c3e00b3bb readd side_for parameter for [message] with input
this was lost when porting the code to lua.
2015-09-21 15:46:00 +02:00
Elvish_Hunter
650f21e582 Fixed [role] not working if type= was not specified 2015-09-21 12:29:13 +02:00
Charles Dang
acdc67fe56 [object] don't show unit reach when highlighting unit 2015-09-21 10:47:21 +11:00
Randypk
5a584381f3 Bug Fix#23060: unit status tooltips do not show.
The rectangle for the unit_stats was overlapping other rectangles, making
it not function properly.  Just resized it to fit. Tested with single
poison effect, both poison and slow, and no effects, all worked.
2015-09-21 09:20:08 +11:00
Charles Dang
e3c47bf482 Merge pull request #495 from Wedge009/Spelling_Corrections
Reverting some spelling/grammar changes from #483
2015-09-21 07:37:12 +11:00
gfgtdf
3ed4eed9fc wait dialog for user choices during prestart events
gna.org/bugs/?23297

If we are waiting for a synced user choice during a prestart events we
now show a gui2 dialog that informs the player about why the client is
waiting and also offers the player the option to quit the game.
2015-09-20 22:32:19 +02:00
Elias Pschernig
4c034d7705 Clean up wmlparser3.py a bit, fix json and xml output. 2015-09-20 14:53:49 -04:00
Wedge009
0403519491 Reverting 'x and I' to 'me and x'
celticminstrel suggests the gramatically incorrect 'me and x' form works better in an informal, spoken context so, for the most part, reverting this change.
2015-09-21 04:30:49 +10:00
Charles Dang
00d96b3016 Fixed a variable typo pointed out by Elvish_Hunter 2015-09-20 23:49:06 +11:00
Elvish_Hunter
e39f6376c8 wmllint-1.4: use string formatting or interpolation instead of concatenation 2015-09-20 10:27:37 +02:00
Celtic Minstrel
d527ea4740 Fix up loop implementations to reflect recent changes 2015-09-20 01:05:55 -04:00