Severin Glöckner
6357025cc6
renamed outlaw assassin's & rogue's weapon name to match the orcish assassin's one
2017-06-28 18:14:13 +02:00
Severin Glöckner
9ed38aab61
disallow submerge on bridges and rails
...
[ci skip]
2017-06-28 18:09:48 +02:00
ln-zookeeper
908237d963
Corrected offsetting of Dwarvish Berserker frames
2017-06-28 18:37:11 +03:00
Severin Glöckner
8e7a65ec5f
clarify manpage options for -e (extends bf49214)
...
[ci skip]
2017-06-28 15:04:18 +02:00
Donovan Mitchell
f971b246e4
bug#1800: load_addon_list split into two methods
...
fetch_addons_list: downloads addon list
load_addon_list: updates addon list ui
bug#1800: addon manager downloads addon list a single time when opened
2017-06-27 18:35:45 -05:00
ln-zookeeper
9ea5522650
TSG: Fixed Ethiliel's premature mentions of Mebrin's turning
...
Ethiliel spoke as if she already knew Mebrin had been turned, even though the rest of the dialogue suggests she didn't.
2017-06-27 12:13:17 +03:00
ln-zookeeper
0330304e4f
TSG S03: Improve hint about Cavalryman movement and defense
2017-06-26 20:04:38 +03:00
Allefant
c17d556016
[units.wesnoth.org] fix eras with all eras in an addon
2017-06-25 21:38:20 -04:00
Celtic Minstrel
cb134496b1
Add fire_event to list of known [unit] keys
2017-06-25 13:10:44 -04:00
Celtic Minstrel
3f26fdc548
Add fire_event=no option in [unit]
2017-06-25 11:45:51 -04:00
Celtic Minstrel
a5b613ba4c
Lua: Allow specifying whether to fire event in put_unit even without an explicit location, and make it fire the event by default
...
Addresses #1817
2017-06-25 11:40:27 -04:00
Celtic Minstrel
bee8974061
Fix some improperly-cased tags in Italian translation
...
Closes #1694 , closes #1695
2017-06-25 10:09:49 -04:00
Celtic Minstrel
9015d9b57d
Merge pull request #1806 from wesnoth/wfl_filters
...
Use WFL formulas instead of Lua for leadership, backstab, and teleport abilities
2017-06-25 00:45:00 -04:00
Celtic Minstrel
c47b3f3208
Simplify leadership (and THoT inspire) using new ability formulas
2017-06-25 00:37:56 -04:00
Celtic Minstrel
d2067e4768
Some changes to ability formulas implementation
...
- Detect a formula by parentheses, as in GUI2 and movetype patching
- Use "self" and "other" instead of "sender" and "receiver"
Closes #1802
2017-06-25 00:37:55 -04:00
gfgtdf
424ceab053
Allow formula code in ability and weapon special attributes.
2017-06-25 00:37:54 -04:00
Celtic Minstrel
6a091f0851
Lua: Support the extra wesnoth.match_unit arguments also in wesnoth.get_units
2017-06-25 00:37:53 -04:00
Celtic Minstrel
93b9a4f80e
Expose the location filter reference unit to the Lua API
2017-06-25 00:37:51 -04:00
Celtic Minstrel
bdb42b2848
Use WFL to implement backstab, to avoid needing delayed variable substitution
2017-06-25 00:37:50 -04:00
Celtic Minstrel
a4b1c14d5e
Add enemy_of WFL function to test alliances
...
Accepts unit and team callables as well as side numbers
2017-06-25 00:37:18 -04:00
David Mikos
b244db3b18
Partial fix bug #1565 , unit movement artifacts
...
Returns code for unit_mover:wait_for_anims to
invalidate hexes on unit movements. This removes
artifacts being left on screen after large animated
units have moved.
2017-06-25 13:45:17 +09:30
Celtic Minstrel
b1b4acf576
Add WFL functions for manipulating locations
2017-06-24 19:07:59 -04:00
Celtic Minstrel
88ad4ab4cd
Use WFL for teleport ability to avoid requiring delayed variable substitution
2017-06-24 19:07:56 -04:00
Celtic Minstrel
4bd1fa7157
Allow filter formulas to use a number of previously FormulaAI-exclusive functions
2017-06-24 19:07:53 -04:00
Celtic Minstrel
3f3a176f57
WFL: Fix stack overflow when attempting to call a non-existent function
2017-06-24 19:07:52 -04:00
Celtic Minstrel
1bb750f649
Move implementation of $teleport_unit into SLF so it can be passed to location formulas
2017-06-24 19:07:51 -04:00
Celtic Minstrel
d072661c94
SUF: Fix $other_unit not being available in nested [and], [or], [not]
2017-06-24 19:07:49 -04:00
Celtic Minstrel
a46468e3d3
Add owner key to terrain space callable
2017-06-24 19:07:48 -04:00
Celtic Minstrel
4fb25532f2
Use WFL for leadership to avoid needing delayed variable substitution
...
(Similarly, also use WFL for the inspire ability in THoT)
2017-06-24 19:07:14 -04:00
ln-zookeeper
68ae0d0f07
Converted to 32-bit all paletted unit/item images I recently committed
2017-06-24 22:48:37 +03:00
Jeffrey 'Sigurd' Westcoat
6aada966d3
Fixup lua unit.upkeep getter ( #1816 )
2017-06-23 20:19:33 -04:00
sigurdfdragon
f380b154d4
THoT: Make Dulcatulos traits consistent
2017-06-23 20:03:24 -04:00
sigurdfdragon
bf2f5d709a
THoT S07: Remove incorrect comments
2017-06-23 20:03:24 -04:00
sigurdfdragon
cef1174a3f
THoT: upkeep=free not needed with loyal
2017-06-23 20:03:24 -04:00
sigurdfdragon
40f3765433
SotA S3: Fix Typo
...
So the town name is the same as in S1.
2017-06-23 11:08:40 -04:00
ln-zookeeper
79477c635c
Restored scale_surface_legacy for [message] image scaling and ~SCALE
...
Fixes issue #1570 (artifacts with alpha gradients), also possibly relevant for parts of the discussion of issue #1254 .
The version of scale_surface_legacy that I used is the one without alpha thresholding. It still isn't perfect, as it doesn't quite properly weigh each input pixel according to its alpha. It's possible that scale_surface could simply be fixed to not result in artifacts with alpha gradients, making a separate scaling function like this unnecessary to have, but I wasn't able to find a way to do it.
For pixel art without the kind of alpha gradients it cannot handle, scale_surface does produce a better result, but the difference seems very subtle.
Relevant past commits:
4af0e815
5f967950
2df60619
2017-06-23 17:43:27 +03:00
Jyrki Vesterinen
ddcc77352c
calculate_probability_of_debuff(): limit probability to kill to 100 %
...
Fixes #1808 .
2017-06-22 21:46:24 +03:00
Celtic Minstrel
03cb2454b5
Merge pull request #1812 from GregoryLundberg/GL_for_bug
...
Bug in [for] missing step
2017-06-21 22:27:39 -04:00
Gregory A Lundberg
eaccef65f8
Add WML unit tests for [for] tag
2017-06-21 21:18:24 -05:00
Gregory A Lundberg
468f07364e
Bug in [for] missing step
...
https://forums.wesnoth.org/viewtopic.php?t=46450 reports a Lua crash if end is given but step is not. The wiki says the default step is 1. Note that if end is negative, the [for] does nothing (per sniity check).
2017-06-21 20:45:21 -05:00
Victor Sergienko
fd9f1153f7
fix #1763 : crash in "poisoning" Formula AI ( #1770 )
2017-06-21 20:15:35 -04:00
Jyrki Vesterinen
edf7501043
Fix wrong calculation for chance to stay unscathed with a slowing unit
...
Only a minor difference in most cases, but enough to trigger the Monte
Carlo simulation assertion.
Fixes #1810 .
2017-06-22 00:24:17 +03:00
gfgtdf
0f44669e59
improve faction help ids
...
this not only fixes a very theoretical case where an era could have the same id as an era form another faction. It also makes it possible to check whether a topic describes a faction by just checking it's id prefix.
2017-06-21 20:58:48 +02:00
ln-zookeeper
01b4a162f0
Fixed help topics not working right when multiple factions share an id
...
For example the factions of Default Era and Age of Heroes have the same id's, which caused the faction help topics to have the same id's as well, leading to a faction link on both era pages to lead to the same faction page. Adding an era prefix to the faction topic id's makes them unique and solves the problem.
2017-06-21 21:32:05 +03:00
gfgtdf
fbc7652a0c
fix panel_box_display.cfg window_width,window_height
2017-06-19 20:44:37 +02:00
Charles Dang
6c85e0d8a9
Removed SDL_INIT_NOPARACHUTE from SDL_InitSubSystem
...
This flag doesn't do anything and is ignored.
2017-06-20 05:14:05 +11:00
Charles Dang
410d945d6d
Remove manual call to SDL_PumpEvents
...
SDL_PollEvent implicitly call this anyway, so this was just superfluous and potentially performance-impacting.
2017-06-20 05:14:05 +11:00
Charles Dang
165fcf80f2
Use SDL rect utils instead of custom implementations
2017-06-20 05:14:04 +11:00
Celtic Minstrel
5109a36b56
Revert use of Lua for teleport, leadership, and backstab
2017-06-18 11:40:15 -04:00
Nils Kneuper
5c440b87d4
updated Italian translation
2017-06-18 11:40:27 +02:00