Commit graph

25953 commits

Author SHA1 Message Date
Iris Morelle
42f774e859 pot and documentation update 2020-01-12 13:34:26 -03:00
nemaara
af4c6d52ab Tutorial S2: fix coordinates in moveto event 2020-01-11 17:45:47 -05:00
nemaara
736e5a0590 Sky Drake: remove reference to Drake females 2020-01-11 11:56:10 -05:00
nemaara
424dd2a372 Tutorial - minor improvements 2020-01-11 11:53:07 -05:00
Iris Morelle
f154c7edff website: New Year copyright update
[ci skip]
2020-01-10 00:04:53 -03:00
Iris Morelle
3be462fbd9 gui2/network_transmission: Modernize appearance
Following the previous commit altering the progress bar's styling, we
now rearrange the dialog to completely eliminate visual gaps during
add-ons server connection by having the status display share a row with
the Cancel button so as to not force extreme layout recalculations. The
status display is also smaller corresponding with its lesser importance
compared to the progress bar itself, which has now become the absolute
centerpiece of the dialog by taking up almost all of its horizontal
space even when the descriptive text is short.

There's an engine change in this, recommended by Vultraz to avoid
recalculating the UI unnecessarily during network transfers. It
necessitates a minor hack in the WML to ensure that the status label has
a non-0 initial size, but it's nothing too major.
2020-01-08 22:14:12 -03:00
Iris Morelle
685d8f4183 gui2/progress_bar: Modernize appearance
The old design was heavily based on the old GUI0 loadscreen, inheriting
the weird blocky 3D shading effect reminiscent of the old Windows 9x
times. This makes it look very obviously out of place with the current
Wesnoth UI look and feel.

We increase the default width of the progress bar to reduce visual gaps
between different phases of the add-ons client's initial connection
sequence, and decrease the height to something that is more in
proportion with the font size without taking up more space than
necessary. The colours are inspired by the current textbox and button
widgets while keeping consistency with the rest of the game's UI.

[ci skip]
2020-01-08 22:11:46 -03:00
Severin Glöckner
5430c8c84c TB 3: add translation hint
[ci skip]
2020-01-03 01:20:19 +01:00
Severin Glöckner
d9ffef02a0 wesnoth-editor: remove duplicated strings
[ci skip]
2020-01-03 01:19:28 +01:00
Severin Glöckner
63b31f432c Geography – formal edits:
- reffer to the Great Ocean just as ocean in other pages. It's the only ocean we know,
  and it's not so great to call it Great all the time.
  The term "Great Ocean" is still used in several placed an it's explained as so-called
  Great Ocean in its own page.
- Link more between pages, especially more links towards the Great River and Great Ocean.
- Removed on link as it's already linked on that page
- No need to mention that south-east is in the lower-right corner of the map
2020-01-03 00:09:34 +01:00
mattsc
450e3d1a48 Experimental AI: do not use village hunt CA
The algorithm used in this CA is too simple to work reliably in a general setting, it tends to send whole groups of units toward small numbers of villages, or even individual ones. In its current version, it should not be used at all, not even in the Experimental AI. The recommended way to emphasize village hunting is to set the village_value aspect to a larger-than-default value and let the move-to-targets CA take care of it.

An updated version of this CA's code is, however, left in place for potential future work as an external CA in Wesnoth 1.15.
2020-01-01 19:22:11 -08:00
mattsc
8fc6cabf7d Experimental AI: fix village_hunt CA bug
This is really just a work around for a CA that is very much sub-par though.  I will remove this CA from the ExpAI next.
2020-01-01 19:12:37 -08:00
Earth-Cake
0ea6dcceb2 Remove unnecessary [if] tag, fix capture event 2020-01-01 12:31:01 -05:00
Earth-Cake
7d06446f08 Add PRINT messages, disallow_end_turn messages
Add more reminding PRINT messages, disallow_end_turn messages, and fix a bug where player can just capture village and end turn without recruiting/recalling units.
2020-01-01 12:30:41 -05:00
Galen Brooks
ee079d4a8a Backport map_file feature fixes for 1.14
This branch combines fixes needed for using map_file.

See issues #4407, #4397, #4519, and #4652 for details.
2019-12-28 14:34:58 -05:00
Steve Cotton
9e36a2537f Tutorial S2: When a second Shaman is recruited, say that the healing doesn't stack 2019-12-28 16:47:15 +01:00
nemaara
c5a3c3177b Tutorial: reduce difficulty + no random traits for starting grunt
(cherry picked from commits b0aed28de1
and ce3ac1e33d)
2019-12-27 00:41:39 +01:00
Earth-Cake
ce28ace04a Tutorial S2 map overhaul (#4644)
Slight change during backporting: the two mushroom hexes now use ^Uf
instead of ^Tf mushrooms.

(cherry picked from commit abb85d3dbe)
2019-12-27 00:40:29 +01:00
Steve Cotton
bba67f2bb3 Separate unit test statuses for WML exceptions and strict warnings (fixes #4471)
Backported to 1.14 so that this mechanism can be used instead of a793bce96's
method of running the cve_2018_1999023 test in non-strict mode, which means
that the test now passes without making equivalent-to-a793bce96 changes to
projectfiles/VC12/WML_tests.cmd and projectfiles/VC16/WML_tests.cmd.

This was part of working out whether a subset of the "fail" tests could be run
in one Wesnoth instance. To run a test that returns TEST_FAIL_BROKE_STRICT with
any other test would require a mechanism to reset lg::broke_strict()'s flag.

All tests that fail with an {ASSERT} will also set the lg::broke_strict() flag,
the tests with the new status are only those that would pass without the strict
flag.

In the SUF tests, change a test from fail-on-success to breaks-strict, rename
the formula tests and add some comments. The rename is because "fai" is
"Formula AI", an obsolete name for WFL.

(cherry-picked from commit 7359fddecb)
2019-12-24 18:13:13 +01:00
Severin Glöckner
b4f26e60a8 TSG 5: minor tweaks
- tweaks to monster side, i.e. has same flag like other factions
(visible in the top bar when it's their turn)
- play a sound when the monster spwans, but don't reveal it
- remove event setting options which are already set in the side definition
2019-12-23 01:31:41 +01:00
Severin Glöckner
cbee25bb8d TSG 7a: add some po-hints
[ci skip]
2019-12-23 01:31:06 +01:00
Severin Glöckner
5a417592c7 TSG: explain in po-hints to which scenario the text belongs
It's not visible in the po-files otherwise because
the stroy text is defined in the same file for all

[ci skip]
2019-12-23 01:30:44 +01:00
mattsc
b0a79e6e9f Experimental AI: add ids for candidate actions
Also change the names of two CAs to match the function names (and the ids).
2019-12-17 06:33:40 -08:00
mattsc
e82469adcb Bottleneck Micro AI: bug fix for units in front of bottleneck
Previously, units so far in front of the bottleneck that they could not get behind it in one move were left stranded. Now they are moved toward it.
2019-12-16 12:41:32 -08:00
mattsc
7652c456b7 Fast Micro AI: fix AI setup 2019-12-16 12:25:26 -08:00
mattsc
f528188c67 Experimental AI castle switch: bug fix for units on keep check
This also fixes the score assignment, with the 'break' being in the wrong part of the conditional.
2019-12-16 07:27:07 -08:00
mattsc
bf6b66a789 battle_calcs.lua: fix bug in relative_damage_map() 2019-12-16 07:21:13 -08:00
mattsc
e5eb2cc11e Fast Micro AI: fix re-adding default CAs when deleting the MAI
The high_xp_attack CA is deleted when adding the Fast MAI, but not added back in when deleting the MAI.
2019-12-16 07:18:56 -08:00
pentarctagon
2bec7e3251
Fix team names to match the description of allowing FFA. 2019-11-27 21:34:22 -06:00
josteph
ba863fc22b unit_recall: Move the image path back to the cfg file
(cherry picked from commit 26a710d6fb)
2019-11-13 21:43:30 +11:00
josteph
8d4343c8bf unit_recall: Show unrecallable units grayed out.
Part of issue #1282.

(cherry picked from commit a7fc184ccd)
2019-11-13 21:43:30 +11:00
pentarctagon
2a862d0e7e
Add a separate toggle for if a replay should be public.
This makes it possible for a game to allow observers but have the replay not be public.

Backport of 6371f0497c
2019-11-11 18:27:53 -06:00
Iris Morelle
f3426906d7 wmllint: Ignore [load_resource] for unit id validation
Fixes #4538.

[ci skip]
2019-11-04 22:13:17 -03:00
Sergey Lavrenyuk
945fbe022f TRoW: Fixed Haldric's defense animations 2019-11-04 18:32:27 -05:00
Wedge009
74ca61abb0 Move tool-tips to below-right
Committing on behalf of @Landiss

Resolves #3274

(cherry picked from commit 123b332aa5)
2019-11-05 01:52:19 +11:00
nemaara
29141bbbe1 UtBS S5: tweak dialogue 2019-11-03 11:08:14 -05:00
nemaara
13f22a55fd Grunt: modify standing animation 2019-11-02 15:52:03 -04:00
nemaara
3c7632d566 Update zoomo's credit list entry 2019-11-02 13:02:15 -04:00
nemaara
85ccb1dee1 Woses: add new animations 2019-11-02 12:30:49 -04:00
nemaara
7f84c61fd2 Add new death standing and idle animations 2019-11-02 11:57:35 -04:00
nemaara
5dc047929f DiD S11: fix bug with multiple conscience abilities obtained 2019-10-31 19:34:18 -04:00
Sergey Lavrenyuk
dce92575ba Corrected SotBE S11 objectives 2019-10-31 11:25:14 -04:00
nemaara
beefa1e59f DiD S1: reduce difficulty 2019-10-29 20:56:34 -04:00
nemaara
c16d277f32 DiD: fix buggy key in corpse clearing macro 2019-10-29 12:06:43 -04:00
nemaara
67eb6d0319 DiD: allow the player to keep special corpses 2019-10-28 15:59:06 -04:00
nemaara
f071db5534 DiD: automatically remove 0 exp walking corpses from the recall list 2019-10-28 12:41:02 -04:00
nemaara
ab396c071d DiD S11: favor Xanthric's drain attack on defense 2019-10-28 12:30:17 -04:00
nemaara
b2074edb45 DiD S10: remove book overlay in all victory conditions 2019-10-28 12:21:46 -04:00
nemaara
aa3345b38a DiD S11: do not set max_moves on player's units 2019-10-28 12:08:31 -04:00
Sergey Lavrenyuk
4a96799708 Changed Draug portrait in The Rise of Wesnoth. Default portrait has Sceptre of Fire on the shield, which is incorrect storywise. 2019-10-27 01:54:18 -04:00