76730 Commits

Author SHA1 Message Date
Pentarctagon
8f9ab9d13f Fix schema validation for color attribute in [print] 2020-06-28 19:02:51 -05:00
Nils Kneuper
6206d60d29 updated Portuguese (Brazil) translation 2020-06-28 09:40:36 +02:00
Nils Kneuper
f8c3f15ae3 updated Russian translation 2020-06-28 09:39:39 +02:00
doofus-01
f405b916a1
UtBS - Some additions and polishing (S4-S10 only) (#4950)
- Updating maps
 - Addition of Flesh Golem and Human Commander portraits
 - Minor dialog changes
2020-06-27 05:18:33 -07:00
nemaara
8eba5615e1
DiD: update shadow veil implementation 2020-06-26 02:18:39 -04:00
Iris Morelle
ee771dbf5c help: Skip nameless abilities in Ability and Ability Upgrades
Nameless abilities are relatively common outside of mainline in
particular as they are used for implementation details of more complex
abilities.

Fixes #3060.
2020-06-25 17:20:34 -04:00
gfgtdf
d5bcd28858
fix move_unit(s)_fake increasing the unit it counter
Now these tags no longer change the gamestate.
2020-06-24 21:49:56 +02:00
nemaara
2bc1feb79d TSG S8b: rebalance scenario 2020-06-22 17:37:48 -04:00
Charles Dang
fd0b4119a4
Merge pull request #4962 from stevecotton/fixup_194b9039_tests
Add missing includes of units/types.hpp to the unit tests
2020-06-23 02:46:38 +11:00
Steve Cotton
1b344c98da Add missing includes of units/types.hpp to the unit tests
Some indirect inclusion paths were removed in
194b903918db4405862028ed4ab2eb2ae6fc91c2.
2020-06-22 12:28:52 +02:00
Elvish_Hunter
a364dfd669 wmllint: recognize amendment tags to avoid a crash
In certain situations, the 'directly_in_event' list was allowed to become empty and cause a crahs because the code was unable to handle amendment tags.
2020-06-22 10:53:30 +02:00
gfgtdf
6b5da2a1a2
Update changelog.md 2020-06-21 22:36:22 +02:00
Nils Kneuper
1ff6b7bbc4 get credits in sync with 1.14 credits
ported missing german translators credits
2020-06-21 10:03:27 +02:00
doofus-01
2d5540ce5a
core - terrain - fix Rb/Ias transition (#4952) 2020-06-20 17:17:37 -07:00
Nils Kneuper
afc735995f updated Esperanto translation 2020-06-20 12:56:16 +02:00
Nils Kneuper
852b950cb2 updated Chinese (Simplified) translation 2020-06-20 12:54:30 +02:00
Nils Kneuper
7d017d6362 updated Portuguese (Brazil) translation 2020-06-20 12:50:27 +02:00
Nils Kneuper
f5e707008d updated Russian translation 2020-06-20 12:47:13 +02:00
gfgtdf
194b903918 fewer units/types.hpp includes 2020-06-20 02:21:14 +02:00
gfgtdf
516b759404 remove code that did nothing 2020-06-20 02:13:23 +02:00
Severin Glöckner
987b33565a SoF 3: redraw immediately
[ci skip]
2020-06-19 15:35:16 +02:00
Severin Glöckner
46d8f2def2 UtBS 1: change wording
closes #4868
[ci skip]
2020-06-19 15:35:12 +02:00
Severin Glöckner
5bdfc692a3 TSG 7: refactoring ambush
Say hello to [remove_object]
[ci skip]
2020-06-19 15:20:53 +02:00
Severin Glöckner
ea79332625 TSG 6b: remove village CA
might also remove the CA altogether besides setting village_value
[ci skip]
2020-06-19 15:20:53 +02:00
pentarctagon
42c9332667 Default addon version and ID to an empty string rather than N/A. 2020-06-18 12:17:41 -05:00
pentarctagon
e0d44caa50 Send scenario/era/modification source add-ons and addon versions to wesnothd.
This adds the additional attributes under the multiplayer information sent to wesnothd:
* mp_scenario_addon_id
* mp_scenario_addon_version (host's version)
* mp_era_addon_id
* mp_era_addon_version (host's version)
* active_mod_addon_ids
* active_mod_versions (host's versions)
2020-06-18 10:33:31 -05:00
Iris Morelle
e755bf21dc bi: Add sound configuration to the clipboard report
Also refactored the display driver formatting code since SDL enumerates
audio drivers in the exact same format.
2020-06-16 22:52:02 -04:00
Charles Dang
b19333308a
Merge pull request #4956 from iKevinY/patch-1
Update @iKevinY's credits entry
2020-06-17 13:00:54 +11:00
Kevin Yap
0f2f15f2a1
Update @iKevinY's credits entry 2020-06-16 18:28:07 -07:00
Iris Morelle
5026305da0 bi: Include the list of SDL video drivers in the report
The current driver is highlighted in brackets.
2020-06-16 13:48:23 -04:00
Elvish_Hunter
db100044c0 Lua: added wesnoth.get_max_liminal_bonus function 2020-06-16 13:01:06 +02:00
Iris Morelle
3aeb9b5ede Update comment block a bit 2020-06-16 02:20:35 -04:00
Iris Morelle
3873887936 Make forced --wconsole logic easier to read and extend
Instead of a massive wall of chained ORs, have two lists with qualifying
switches, one for those that don't take arguments and another for those
that do so. The latter are expected to have the argument past the '='
character (substituting the unwieldy hardcoded compare() method calls
with substr() comparisons) or in a subsequent command line argument that
we can ignore at this point.

Also added --validate-addon, -h and -v to the list of applicable
switches.

There's a lambda expression that needs to be redone on every loop but
who cares, this is only the command line argument scan phase anyway.
2020-06-16 01:25:14 -04:00
Iris Morelle
a88beb3fef video: Make MAGIC_DPI_SCALE_NUMBER a typed constant 2020-06-15 22:50:58 -04:00
Iris Morelle
e948f156b2 bi: Full refactoring of the clipboard report formatting logic
This makes all sections use a formatter class to deal with the issue of
keeping the first column's width consistent within each section (but not
across all sections), so that we don't run into inconveniences later in
the future if any section's entry labels change. It also allows us to
change the list formatting entirely in a single place rather than
multiple places if we ever decide to do so.

This also replaces CVideo::video_settings_report() with a similar but
slightly more detailed report using the new bi list formatter class to
make it look consistent with the other sections, implemented in the bi
module instead of CVideo.
2020-06-15 22:50:58 -04:00
Iris Morelle
2f1e2ddc5e video: Expose dpi and window status getters
These are currently used directly in CVideo::video_settings_report(),
which we want to remove from this class and implement externally.

This commit also reworks get_dpi_scale_factor() to be implemented in
terms of get_dpi().
2020-06-15 22:50:58 -04:00
Iris Morelle
59e6728c2a video: Expose a check for the status of the singleton
CVideo::get_singleton() unconditionally dereferences the thing, which is
UB if it happens to be a null pointer. We need to query whether the
singleton exists in the first place so we can't use that strategy.
2020-06-15 22:50:58 -04:00
gfgtdf
39f44fad55 add lua api to read [resource] 2020-06-16 03:51:17 +02:00
123chess456
d9c534e5f7
Changes description of "righteous rage" (#4947)
* UtBS S3: change description of "righteous rage"
2020-06-14 12:54:53 -04:00
Nils Kneuper
dee8e0d2d3 updated Portuguese (Brazil) translation 2020-06-14 11:19:49 +02:00
Iris Morelle
5ea16852d2 pofix: 1.14 announcement rules for 1.14.13
[ci skip]
2020-06-13 22:45:31 -04:00
Iris Morelle
b6b9deddba Sync changelog from 1.14 branch
[ci skip]
2020-06-13 01:09:13 -04:00
Pentarctagon
4df1193c11
Add a trailing newline.
Also check that the config was able to be read.
2020-06-12 22:31:43 -05:00
Pentarctagon
9ecfdae09b
Fix for getting the addon versions with --report. 2020-06-12 21:53:04 -05:00
gfgtdf
8862158d1b
remove color_range handlign in [unit]
this was not documented also it didn't really work, in particular, those added color were not persistent over save-load cycles. Lastly it made little sense to support [color_range] it there.
2020-06-12 21:24:01 +02:00
Pentarctagon
ff15419ae3
State if no add-ons installed. 2020-06-10 21:23:30 -05:00
Pentarctagon
177348bdb3 Add installed addons and addon versions to the build report.
This would be useful since often one of the things asked when a user reports issues is if they have any addons installed.
2020-06-10 18:47:26 -05:00
nemaara
3f37105ff8 Liberty S2: add mace for Baldras 2020-06-10 18:02:24 -04:00
gfgtdf
c544d1beec fix duplicated events from era and modification 2020-06-10 20:26:50 +02:00
gfgtdf
f4538f6b02 fix random errors and OOS in events
fixes issue #4946
2020-06-10 20:26:42 +02:00