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
Celtic Minstrel
c4bb4c2536
Fix WML unit tests
2015-09-23 22:22:25 -04: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
Celtic Minstrel
2fec74a6ac
Add default scope_type to handle_event_commands
2015-09-20 01:01:57 -04:00
Celtic Minstrel
0ffda44b27
Add break/continue support to the new loops
2015-09-20 01:01:52 -04:00
Celtic Minstrel
aec99429c4
Merge branch 'break-continue' into foreach
2015-09-20 00:48:39 -04:00
Celtic Minstrel
3c329408ce
Implement [break], [continue], [return] tags (they take no arguments)
2015-09-20 00:47:23 -04:00
Celtic Minstrel
bda61536b0
Use [do] subtags with [repeat]
2015-09-20 00:31:47 -04:00
Celtic Minstrel
d895b18659
[foreach] now raises error if array length changes during iteration
2015-09-20 00:31:28 -04:00
Celtic Minstrel
65263bfc32
Propagate modifications to item_var back into the array
2015-09-20 00:31:09 -04:00
Celtic Minstrel
6c5cf1eb88
Implement [foreach] tag, based on Elvish_Hunter's implementation
2015-09-20 00:30:18 -04:00
Celtic Minstrel
f5bd414b69
New WML tags to replace macro loop constructs
...
- [for] can replace {FOREACH} ... {NEXT}, but it's really intended for running over an integral range
- [repeat] can replace {REPEAT}
2015-09-20 00:30:08 -04:00
Charles Dang
45aa0d4ae8
Fixup 9ea9c88356fe
2015-09-20 10:23:34 +11:00
Charles Dang
9ea9c88356
Fixed bug where unit at x1,y1 would be considered for object even if filter failed
...
Note that this was only present the 1.13 Lua implementation of [object]
and as such does not affect 1.12
2015-09-20 10:19:10 +11:00
Charles Dang
205b82da69
Pluralize campaigns main menu item
...
This makes sense since there is no single campaign for the game
2015-09-20 08:25:03 +11:00
Charles Dang
bec40a3c39
Merge pull request #483 from Wedge009/Spelling_Corrections
...
Spelling and Grammar Corrections
2015-09-20 07:07:00 +11:00
Celtic Minstrel
e74c119b9b
Merge pull request #488 from CelticMinstrel/backstab
2015-09-19 15:42:35 -04:00
Celtic Minstrel
7ca65c819e
Clarify changelog
2015-09-19 15:41:23 -04:00
Charles Dang
660647f7d8
Strip newline whitespace
2015-09-20 04:46:34 +11:00
Charles Dang
e96f1c1bc1
Cleaned out implementation of legacy function
2015-09-20 03:36:15 +11:00
CelticMinstrel
e841252f19
Merge pull request #492 from CelticMinstrel/lua-message-object
...
Port [message] and [object] ActionWML to Lua
2015-09-19 12:14:19 -04:00
Celtic Minstrel
907d527cc3
Lua API: Replace wesnoth.skipping_replay() with is_skipping_messages() and skip_messages()
2015-09-19 12:13:40 -04:00
Celtic Minstrel
03580ed9a9
Allow spaces in [object]id= and show error if invalid characters are present
2015-09-19 12:13:38 -04:00
Celtic Minstrel
a93ce122ff
Add [found_item] ConditionalWML that checks if an [object] ActionWML has been taken
2015-09-19 12:13:36 -04:00