Commit graph

7360 commits

Author SHA1 Message Date
Celtic Minstrel
1a354d0c96 Update changelog 2017-09-16 11:41:35 -04:00
Celtic Minstrel
d79d4edb77 Resort changelog to keep headings other than "misc" alphabetical 2017-09-16 11:05:14 -04:00
sigurdfdragon
8f5aa227ac Update changelogs 2017-09-15 12:41:30 -04:00
ln-zookeeper
fe250f02f4 Updated changelogs 2017-09-15 02:51:19 +03:00
Jyrki Vesterinen
d1449b1076 Changelog entry for d40a9e930b 2017-09-09 11:10:08 +03:00
sigurdfdragon
e5a14e3e00 Update changelogs 2017-09-07 18:32:30 -04:00
Jyrki Vesterinen
3692cfa86b Redraw invalidated hexes once, not twice
This halves the CPU usage cost of animations, which is useful especially in
water-heavy scenarios such as Dead Water.

I was worried about the possibility of regressions, but I didn't find any
in my playtesting: moved and killed units disappear from their hexes like
they should.
2017-09-04 23:46:33 +03:00
sigurdfdragon
3414d8d518 Fixup 58d6f642dd 2017-09-02 14:02:00 -04:00
sigurdfdragon
58d6f642dd Update changelogs and release notes 2017-09-02 13:57:29 -04:00
Celtic Minstrel
64ebfae7a3 Update changelog
[ci skip]
2017-08-14 13:24:28 -04:00
Jyrki Vesterinen
c180ad45d8 Fix bug #1606: the game minimizes when it loses focus in fullscreen
As I suspected, SDL did that on purpose. Fortunately there is a way to
disable it.

Thanks to @gfgtdf for help.
2017-08-08 21:53:55 +03:00
Jyrki Vesterinen
6110fb59db GUI: implement canvas caching 2017-08-06 13:40:19 +03:00
Charles Dang
d8e2ddc72a Changelog entry for fc8e9cf07e
[ci skip]
2017-07-26 22:31:08 +11:00
gfgtdf
d822210719 Update changelog 2017-07-25 21:38:51 +02:00
David Mikos
b5641d8e3c Fixed whiteboard crash on delete with multiple moves (bug #1842) 2017-07-25 20:43:32 +09:30
Ignacio R. Morelle
56990b17d9 wam: Fix HTML injection attack on the add-ons.wesnoth.org web interface
This escapes all strings provided by add-ons server data to guarantee
they can't be used to get extraneous and potentially harmful HTML into
the generated web index.

However, and because I don't have time to look into the dense regex
contained in the relevant code right now, it also removes the hidden
feature of linkifying any URLs found in add-on descriptions. It's a
small price to pay for our safety, really.
2017-07-24 03:05:12 -04:00
Jyrki Vesterinen
dc5e8b36ea Restore --max-fps
@gfgtdf explained in IRC that it's often used to slow Wesnoth down (instead
of speeding it up, as I had assumed).

This should also allow unit tests to compile again.
2017-07-22 23:35:53 +03:00
Jyrki Vesterinen
4e4d7b5277 Rewrite the FPS cap implementation
The FPS cap, originally implemented in 2007, is very poorly done. It
doesn't take frame time variance into account, and is therefore almost
guaranteed to cause missed frames all the time. It doesn't increase timer
granularity on Windows, which causes SDL_Delay() to often take much longer
than intended. And it's hardcoded for 50 FPS, which fits poorly with 60 Hz
displays.

This new implementation fixes all those issues.

My experience is that the game feels much, much smoother with the new
implementation, perfectly competitive with 1.12. In my opinion, performance
is now at an acceptable level for a stable release.
2017-07-22 15:48:46 +03:00
David Mikos
ecb51029d7 Fix for jumpy movements in bug #1565
Add a new max_animation_time_ variable that checks whether the time
for the movement animation exceeds the potential time. This will
restrict the time interval to match the offset 0~1:200,0~1:200,etc.
as the unit is moving.
2017-07-19 20:06:33 +09:30
sigurdfdragon
61fed391eb SotA: Changelog entries
For commit 36175c46cd
2017-07-14 22:59:44 -04:00
Celtic Minstrel
00f01278c5 Update changelog
[ci skip]
2017-07-11 00:10:59 -04:00
ln-zookeeper
b19483e66a Updated changelogs 2017-07-01 21:01:21 +03: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
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
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
Celtic Minstrel
b1b4acf576 Add WFL functions for manipulating locations 2017-06-24 19:07:59 -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
Nils Kneuper
7c3e84a564 updated Spanish translation 2017-06-13 19:35:31 +02:00
Nils Kneuper
14c7b3eb0d updated Chinese (Simplified) translation 2017-06-13 19:34:37 +02:00
Celtic Minstrel
73f1541e81 SUF: Accept range-lists for integer keys (level, defense, recall_cost, movement_cost)
Also, add vision_cost and jamming_cost keys

Closes #1778
2017-06-12 21:47:44 -04:00
Wedge009
2de925e4e6 Resolve hot-keys involving space not working (#1737 and #1769)
Just added space to list of 'uncomposable' keys.
2017-06-12 12:22:06 +10:00
Celtic Minstrel
38b9b6dd58 Update changelog and release notes 2017-06-11 19:02:47 -04:00
Jyrki Vesterinen
5a6203bc33 Changelog entry for the implementation of #1738 2017-06-07 23:18:49 +03:00
Jyrki Vesterinen
bb9ee94e4b Adjust changelog for commit 315f8496b6
I forgot to do it initially.
2017-06-07 06:40:05 +03:00
sigurdfdragon
62eb9c0829 Update changelog for #1705 & #1706 2017-05-31 19:01:20 -04:00
Nils Kneuper
bccb5674dc updated Slovak translation 2017-05-30 19:59:27 +02:00
Charles Dang
015fede311 Updated changelog
[ci skip]
2017-05-29 21:47:43 +11:00
Nils Kneuper
da248a8a7d updated Polish translation 2017-05-26 11:34:32 +02:00
Nils Kneuper
fa3a90dfc2 updated Scottish Gaelic translation 2017-05-26 11:32:43 +02:00
Celtic Minstrel
c480e5c989 Update changelog 2017-05-22 17:31:18 -04:00
Jyrki Vesterinen
5b2ae4c853 Update changelog for PR #990 2017-05-22 20:21:21 +03:00
Ignacio R. Morelle
71408850c6 Update changelog 2017-05-22 00:05:11 -04:00
Nils Kneuper
d14ef5a743 updated Italian translation
also removed outdated logo file
2017-05-20 14:52:40 +02:00
Nils Kneuper
14f22785a6 updated British English translation 2017-05-20 14:50:53 +02:00
Celtic Minstrel
02c40010a1 Add wesnoth.format function which substitutes variables into a string (closes #1594) 2017-05-18 23:06:19 -04:00