77143 Commits

Author SHA1 Message Date
Steve Cotton
a6daad9bc0 UtBS S06b: Make the warning about the tentacles an enter_hex instead of a moveto
If you try to move straight into the water, the explorer should stop at the
lake edge and comment about where they're going. Trivial change, mainly because
I was using a fast unit for debugging and wondered why I hadn't triggered the
lake monsters.
2020-09-19 16:47:56 +02:00
Steve Cotton
3bf3717e64 UtBS: Make "quenoth" a separate race to "elf" (fixes #4876)
This is motivated by reorganising the help pages to split the Quenoth from the
"pointy ears, pale skin" help text in data/core/units.cfg. It also means that
there's no reason to [hide_help] for the default era elvish units. The new help
text is just a short placeholder for now.

The new race has [race]help_taxonomy=elf.

If the player loads a mid-campaign save then their recalls and heroes will have
race=elf while new recruits have race=quenoth.  For that reason, I've changed
the scenarios' event triggers to recognise both races.

When levelling up, units with race=elf may change to race=quenoth.

Opening the help for a unit will show the help as if the unit has race=quenoth,
even when right-clicking on a race=elf unit. This is good.

For a few of these, I think another race might be better - they're converted to
Quenoth here, as they were Elves before. The Corrupted Elf is should probably be
considered undead, and the Divine Avatar should possibly be something else, more
like an elemental than a living creature. That those two are currently included
in the elves does have the side-effect of hiding a plot spoiler about the Dark
Assassin who is also included in the elves (the spoiler being that this one is
correct, he really is an elf).
2020-09-19 16:47:56 +02:00
Steve Cotton
e01c6fa800 Update changelog.md
I think it now covers all of changes since 1.15.4, except for the following:

* Lua GUI2 API
* 5be808f1ba add [advancement][filter]

[ci skip]
2020-09-19 12:58:58 +02:00
Nils Kneuper
343e33929e updated Portuguese (Brazil) translation 2020-09-18 20:14:41 +02:00
Nils Kneuper
08dfa2a989 updated Polish translation 2020-09-18 20:13:37 +02:00
Nils Kneuper
779ae057e9 updated Catalan translation 2020-09-18 20:12:03 +02:00
Pentarctagon
adb504b9ae
Add echo after install step. 2020-09-16 14:19:20 -05:00
Steve Cotton
1dadc397ce Remove incorrect docs about vilage_owner()
This comment was in both the .cpp file and the .hpp file. No need for two
copies of it, but more importantly the .cpp version wasn't updated for the
changes in c4a6b223f3db8ac3d6d7cc7fc162656e643f73d0.
2020-09-16 17:13:39 +02:00
Pentarctagon
5af1f129cd Mass convert of *^Uf terrain for SP. 2020-09-15 09:26:00 -05:00
Pentarctagon
0fcf545582 Remove unused mapgen files. 2020-09-15 09:26:00 -05:00
Steve Cotton
f74ff15792 Update changelog
[ci skip]
2020-09-13 16:21:40 +02:00
Steve Cotton
f3f1407ace
Show [race]help_taxonomy= as "This is a group of units, all of whom are $help_taxonomy" (#5143)
The code comments talk about both Dunefolk and Quenoth Elves - of these two, only the
Dunefolk's data is changed in this commit. All Quenoth unit are race=elf at the moment,
I intend to add [race]id=quenoth in a separate PR.

Draft documentation for the Wiki:

* '''help_taxonomy''': {{DevFeature1.15|?}} in the help browser, show this
race as a group of units from another race; the value of this attribute should
be the other race's '''id''' attribute. This only affects the help browser, for
all other purposes (such as WML filters) the two races are completely separate.

How this is visualised in the help browser is a GUI design decision, this attribute
merely tells the engine that the relationship exists.
2020-09-13 15:20:48 +02:00
Iris Morelle
e704f11237 pofix: 1.14 announcement rules for 1.14.14
[ci skip]
2020-09-12 18:24:03 -03:00
Steve Cotton
303d2eee77
Allow the player to recruit, even when some recruitable units aren't known (#5146)
Fixes #5144 "one missing unit in recruit list makes entire recruit list
unavailable". The player will see an error dialog every time they try to
recruit, that seems good given that the limited recruitment options are likely
to severely affect game balance.

The `std::vector<t_string> unknown_units` uses t_string instead of std::string
because that's the class needed for format_conjunct_list. Those items aren't
translated - they're the values of [unit_type]id=, but the corresponding
[unit_type] is missing, so we can't get the translatable [unit_type]name=.
2020-09-12 10:02:31 +02:00
Nils Kneuper
ae52d22f5c updated Russian translation 2020-09-11 19:49:00 +02:00
Nils Kneuper
cbe8973014 updated Portuguese (Brazil) translation 2020-09-11 19:46:44 +02:00
Steve Cotton
48279849d6 Update changelog for the loyal trait. 2020-09-11 06:21:54 +02:00
Steve Cotton
e9603e6e01
Show the "loyal" trait in help (#5123)
Fixes #1935 for normal users, expanding on aac0941's fix which only showed
these abiities when Wesnoth was in debug mode.

The removed enum member "NON_REVEALING_DESCRIPTION" was unused, and all
existing callers effectively used description_type() as a boolean.

This does mean that the "aged" trait will be shown to all users, even if
they haven't played HttT, however that seems reasonable.
2020-09-11 06:18:08 +02:00
gfgtdf
5fb3880ee4 use new lua gui2 api in WC mapgen settings
The lua gui2 compatibility code doesn't apply
to the mapgen lua kernel. So this code was broken
2020-09-10 20:05:10 +02:00
newfrenchy83
88fbe11457
update DID_SHADOW_VEIL_HANDLER in DID campaign (#5094)
* update DID_SHADOW_VEIL_HANDLER implementation
2020-09-09 15:12:22 -04:00
Nils Kneuper
914dfb50f1 updated British English translation 2020-09-09 09:10:38 +02:00
Steve Cotton
c227d42e74
Northern Rebirth: remove the evil campaign branch (#5138)
These 5 scenarios were never completed, so the option to play this branch was
always commented out. However the existence of them has caused extra work for
the translators, and would cause further extra work in tasks roadmapped
for 1.15.x (removal of the ^Uf mushrooms, removal of {MODIFY_UNIT}).

If it comes back then it will likely start as UMC.
2020-09-09 02:01:34 +02:00
Nils Kneuper
f338fff725 updated Portuguese (Brazil) translation 2020-09-08 20:00:56 +02:00
Nils Kneuper
58e865ddaa updated Russian translation 2020-09-08 19:59:43 +02:00
walodar
b985cb7145 add-ons manager translated titles and description also for System default language
The nice new feature that allows translated add-on titles and descriptions in the add-ons manager works well when the language preference is explicitly set to some supported language, but not when "System default language" is selected, because this is represented by an empty string in language.hpp. This pull request fixes this by getting the effective locale (the actual translation target language) from gettext.
2020-09-07 14:23:29 -05:00
doofus-01
9d4ce1bb9f
terrain graphics - make mushrooms-small.png smaller (#5136) 2020-09-07 12:21:01 -07:00
Nils Kneuper
7715bc3d24 updated Hungarian translation 2020-09-07 20:13:05 +02:00
Nils Kneuper
6837b3c6f3 updated Russian translation 2020-09-07 20:09:48 +02:00
gfgtdf
ebc65c9b00
fix [micro_ai] when called from lua
fixes #5134
2020-09-07 18:10:41 +02:00
Lordbob
54f86f0c9b
Update ARTISTS
Attribute new royal warrior portrait
2020-09-06 22:41:15 +02:00
Lordbob
b627855e72
Linked new profile picture 2020-09-06 22:38:36 +02:00
Lordbob
d4ab7b40ce
Added royal warrior portrait 2020-09-06 22:35:45 +02:00
Nils Kneuper
76bf1317f8 updated Polish translation 2020-09-06 11:18:47 +02:00
gfgtdf
1dd10f69c8 add a comment 2020-09-05 10:20:12 +02:00
gfgtdf
5be808f1ba git add [advancement][filter]
fixes #4495

Maybe it makes sense to remove the filter once
the [advancement] is applied since it no
longer serves any purpse after that.
2020-09-05 10:12:04 +02:00
Nils Kneuper
d8492a7257 updated Catalan translation 2020-09-04 21:10:27 +02:00
Nils Kneuper
07e1c86b57 updated Polish translation, updated maintainer in credits 2020-09-04 18:49:30 +02:00
Nils Kneuper
a71b0c963a updated French translation 2020-09-04 18:41:39 +02:00
Nils Kneuper
d9e2d866f8 updated Esperanto translation 2020-09-04 18:39:54 +02:00
Nils Kneuper
e33486b43a updated Portuguese (Brazil) translation 2020-09-04 18:38:34 +02:00
Steve Cotton
538a172079
Fix inverted logic in working out which resources are active (#5127)
This line is meant to skip the rest of the loop for things that have previously
been inserted in to loaded_resources; but instead it skipped the rest of the
loop unless the id was already in loaded_resources. Fixes #5126.
2020-09-04 13:59:28 +02:00
newfrenchy83
51f7340067
fix codeblocks project for lua widget 2020-09-04 13:20:16 +02:00
Martin Hrubý (hrubymar10)
1b1c0a4e52
Fix Xcode project 2020-09-04 10:54:28 +02:00
Gunter Labes
8c103a9018
Fix unused parameter warning 2020-09-04 09:04:58 +02:00
Wedge009
6ef05c73e7 Update WCII strings
* Attempt to resolve spelling errors and other phrases which didn't make complete sense.
* Replace apostrophes in user-visible strings with typographical equivalent.
* Revised WoCopedia Help based on clarification from @gfgtdf.
* Unify use of 'OK' in dialogues and remove use of 'okay' in prose.
* Remove some 'modern' language usage such as 'guys'.

[ci skip]
2020-09-04 14:21:39 +10:00
Steve Cotton
a2b98687b7
Update the VC16 project files for Lua Widgets (#5125)
In source_lists/wesnoth, put the new files in alphabetical order.

This (as expected) fails to build on MacOS, just like the previous build.

It also fails to build with Clang on Linux, just like the previous build. That's
caused by src/scripting/push_check.hpp:89's unused parameter 'L', and is
also just like the previous build.
2020-09-04 05:44:15 +02:00
Pentarctagon
c082660aa6 Compress linux and windows debug information before uploading.
Also limit sftp to taking at most 5 minutes.
2020-09-03 19:21:38 -05:00
gfgtdf
5a9c5bda1c add more lua widget callbacks
I'm not sure how mcuh of this api we should expose
in particular wrt to the fron/back_pre/postchild
parameter. The api is still no in its final state
2020-09-03 22:08:53 +02:00
gfgtdf
a158eef0d0 move widget attributes before children
This is mostly for perfromance reasons, sicne windget::find()
might search quite a while (relertively) in the wirst case
2020-09-03 22:08:53 +02:00
gfgtdf
ae2b7fc2de add lua window:close() function 2020-09-03 22:08:53 +02:00