75860 Commits

Author SHA1 Message Date
pentarctagon
53e92feedf
Fix team names to match the description of allowing FFA. 2019-11-27 21:32:31 -06:00
sigurdfdragon
6c999dea00 WoV: Update to match the 1.0.5 version on the 1.14 add-on server
Changes:
Make objective notes in S05, 06, 07, & 11 more blunt
S02: Slightly improve dialog
S04: Capitalization fix
S05: Dialog tweak for possible addition of nagas with ranged attack
S09: Improve flow of victory dialog
S09: Change gameplay and difficulty to eliminate tomato surprise
S11: Bump up turn limit
S12: Have saurian elders under player control
S12: Fine-turn enemy recruitment for slightly more clasher line units
2019-11-27 22:25:36 -05:00
newfrenchy83
fa7e5c2dfe fix test projectfiles 2019-11-28 04:53:52 +11:00
Celtic Minstrel
1c6d1ddfa8 Attempt to fix Travis failure 2019-11-26 23:40:47 -05:00
Celtic Minstrel
5b7383cdf2 Fix ai.aspects.avoid always returning an empty table 2019-11-26 23:40:30 -05:00
Celtic Minstrel
cfd23bd850 Fix string AI assets being truncated if they contain spaces 2019-11-26 23:22:06 -05:00
Steve Cotton
63ebe48d64
Select the correct item in a filtered and sorted generator (#4585)
In the load-game dialog, this makes deleting a file select the next
visible game save, thus it fixes #4125.

Credit and many thanks to DisherProject for the inspiration and hard
work of debugging where to fix this.
2019-11-25 18:48:47 +01:00
Steve Cotton
e50fd80d53
Convert some fail-on-success unit tests to pass-on-success (#4597) 2019-11-25 14:28:03 +01:00
Iris Morelle
3fb3decdb0 Drop addon_info.order
Nothing uses it anymore, and the reason for its existence isn't valid
anymore either since we get first upload ts from the server.
2019-11-24 23:59:00 -03:00
Nils Kneuper
00c1f03406 updated Portuguese (Brazil) translation 2019-11-24 12:28:34 +01:00
nemaara
c1638915b4 DiD S3: add another easter egg 2019-11-24 01:56:50 -05:00
Celtic Minstrel
b7a358c4af Fix a typo 2019-11-23 15:25:06 -05:00
Celtic Minstrel
859ab37254 Lua: Fix deprecate_api changing the behaviour of tables with an __index metamethod 2019-11-23 14:44:25 -05:00
Celtic Minstrel
3734bce276 Lua: Replace uses of deprecated (moved) sides functions 2019-11-23 14:41:03 -05:00
Celtic Minstrel
930e39422a Lua side proxy now has starting_location member (replaces wesnoth.get_starting_location()) 2019-11-23 14:37:41 -05:00
Celtic Minstrel
81ee0f0349 Make AI aspect handling in Lua more robust
There should never again be a bug where aspects of one type return nil instead of their value.

If support for a new type isn't explicitly added either in lua_object or in impl_ai_aspect_get, it'll raise a runtime error instead of returning nil.
2019-11-23 14:15:30 -05:00
Celtic Minstrel
7fb2c86c3b Add alternate mode of access to WFL map (currently only in FormulaAI)
This also hides the map's terrain from the string conversion.
2019-11-23 01:04:27 -05:00
Celtic Minstrel
153680400d Unify the Lua and WFL interfaces to the movement type
See changelog for details.
2019-11-23 00:59:36 -05:00
Celtic Minstrel
0ecae9de17 Fix ai.aspects table not containing string aspects 2019-11-22 23:10:16 -05:00
Steve Cotton
63bb076b97
Support running multiple expected-to-pass unit tests (#4582)
This allows batching all of the tests that are expected to return status zero,
which is currently 161 tests, and running the batch with a single instance of
Wesnoth.  It doesn't include the changes to the run_wml_tests script to use
this new feature.

Timing on my PC:
* 4 seconds to run a single test on a debug build
* 90 seconds to run the whole batch of 161 on a debug build
* 1.2 seconds to run a single test on a release build
* 31.2 seconds to run the whole batch of 161 on a release build
2019-11-22 23:14:53 +01:00
jostephd
4b3a7c0800
core.lua: Link to #4584 in a comment near the new warning 2019-11-22 19:19:53 +00:00
mattsc
74c7c17ec8 Experimental AI: fix AI setup max_score values
The return scores were changed in commit 4999b20bd1, but the max_score values in the configurations have not been updated yet. As the relative ranking was not changed, this should not have any effect on gameplay.
2019-11-21 21:11:34 -08:00
mattsc
31b04e345f
Merge pull request #4581 from mattsc/ca_filter_own
AI: add [filter_own] to all default and Exp AI candidate actions
2019-11-21 20:26:24 -08:00
mattsc
1816ee5249 AI: add [filter_own] to all Experimental AI candidate actions 2019-11-21 19:15:11 -08:00
Elvish_Hunter
1c590a7efe SoF: shut 'unknown unit referred to by id' wmllint warnings
This fixes the warnings listed in #4494 and is part of #4381
2019-11-21 23:08:18 +01:00
mattsc
997e08c5d3 Experimental AI: fix bug in move_to_any_enemy CA
Previously, if the best move found for a unit was its own position, the entire CA would be blacklisted and no other unit would be moved.
2019-11-21 13:04:26 -08:00
mattsc
626d7ee381 AI: add [filter_own] to all default AI candidate actions
This allows restricting each CA individually to only a subset of the units. It also means that several instances of the same CA can be used in the same AI configuration, in order to, for example, force the order in which units are dealt with, or to apply different settings to different units.
2019-11-21 12:09:33 -08:00
mattsc
a9d9fbaccd AI: fix [leader_goal] for sides with multiple leaders
Previously the AI would only move one of the leaders.
2019-11-21 12:09:33 -08:00
nemaara
d69b28fd50 DiD S4: vary enemy leader type on difficulty 2019-11-19 16:48:02 -05:00
nemaara
785ff2cddd DiD S4: make one of the warlords a warrior 2019-11-19 16:45:42 -05:00
nemaara
6c0d1e7edd Ruler: fix double space 2019-11-19 15:41:19 -05:00
Toom
c4e39152cf Fix "wmllint: no translatables" magic comment 2019-11-19 18:21:15 +01:00
nemaara
20753a8fd1 Add description revisions to changelog 2019-11-19 01:57:25 -05:00
nemaara
0dfebb3490 Orcish Ruler: revise description 2019-11-19 01:56:50 -05:00
nemaara
c284045f2a Orcish Leader: revise description 2019-11-19 01:56:33 -05:00
Steve Cotton
6576293228 Remove the obsolete --timeout command-line option
This option has never been supported in any tagged release of Wesnoth:
* added in e5b39510540cb3bb68cfd9ef6f3a3a1094d2d534
* changed to only print a warning in c8699e2f057b14b19ba60dbd4e71f4647b45ca78
2019-11-19 02:49:49 +01:00
pentarctagon
1a2be4bef5 Add steam runtime job to travis. 2019-11-18 19:28:15 -06:00
Steve Cotton
16f93cd24c Add a unit test for wesnoth.create_side 2019-11-18 21:00:26 +01:00
Elvish_Hunter
855b51521c SotA: shut several 'side without type attribute' wmllint warnings 2019-11-18 20:48:24 +01:00
Elvish_Hunter
63c4fa6f66 wmllint: don't warn about [side] without type= if side controller is null
Fixes a few warnings in SotA
2019-11-18 20:46:34 +01:00
gfgtdf
1db9d63435
remove unused variable 2019-11-18 19:53:47 +01:00
gfgtdf
45a33e6e3a add wesnoth.create_side()
wesnoth.create_side() can create a side while the scenario
is running, this is especially useful for [modification]s
that can not define sides by default.
2019-11-18 18:56:38 +01:00
Steve Cotton
1035825152 Update changelog and readme for trackplacer python3 port 2019-11-18 18:24:28 +01:00
Steve Cotton
2c9caab3ce Add trackviewer, remove trackplacer
Trackviewer shows a journey without needing to start Wesnoth and refresh the
cache. Combined with tmx_trackplacer, the python3 versions now have
feature-parity with the old trackplacer, without the reliance on python2 or
pygtk (fixes #4365).

At least on Linux you can have both Tiled and this open on the same file. Save
the file in Tiled, alt+tab to this, and press enter to reload the file.
2019-11-18 16:57:26 +01:00
Charles Dang
e6b5f2e2d4 Cleaned out some ancient detritus from the attic
[ci skip]
2019-11-18 16:02:21 +11:00
nemaara
78a40c8dcb Add language move to changelog 2019-11-17 19:23:25 -05:00
nemaara
5c9077dc41
Merge pull request #4568 from nemaara/language_icon
Title screen: move language button to icon
2019-11-17 19:22:42 -05:00
nemaara
ec3e0d50ec Add tutorial move to changelog 2019-11-17 18:08:13 -05:00
nemaara
32eb921d2d
Merge pull request #4566 from nemaara/tutorial_cleanup
Tutorial: move from title screen to campaign menu
2019-11-17 18:06:06 -05:00
Charles Dang
9952099ba6 Removed unused variable 2019-11-18 08:40:45 +11:00