76984 Commits

Author SHA1 Message Date
nemaara
ad9567392f UtBS S1: remove player income 2020-07-12 01:57:48 -04:00
nemaara
f8b3206d66 UtBS S1: increase difficulty 2020-07-12 01:57:47 -04:00
nemaara
0c17fc943e Quenoth: adjust mystic line 2020-07-12 01:57:46 -04:00
nemaara
ff846bd332 Quenoth: adjust tauroch stats 2020-07-12 01:57:46 -04:00
nemaara
5500a5f59a Quenoth: nerf fighter line 2020-07-12 01:57:45 -04:00
nemaara
f2c3ab5b53 Quenoth: nerf scout line 2020-07-12 01:57:45 -04:00
nemaara
a9a7b726e4 UtBS S9: use tropical deep water in map 2020-07-12 01:56:22 -04:00
Nils Kneuper
01a82e0f18 updated Portuguese (Brazil) translation 2020-07-11 12:35:21 +02:00
Elvish_Hunter
76b155f940 wmllint: implemented a better handling of amendment tags
This should solve some 'unknown ... referred to by id' warnings that might happen when using certain amendment tags.
2020-07-10 22:42:10 +02:00
Iris Morelle
537a47c007 Update changelog 2020-07-09 17:43:33 -04:00
Iris Morelle
bd676edfae gui2/unit_create: Use variation_name before the variation's ut name
Forgot that variation_name has an actual meaning when paired with
variation_id as opposed to it just being a deprecated form of
variation_id. This makes it so it's favoured by the UI over a
potentially overridden type name when present.

This makes it so the mainline Walking Corpse and Soulless units have
their translatable variation names properly displayed.
2020-07-09 17:42:15 -04:00
Iris Morelle
fe5f748088 gui2/unit_create: Address issue with variation+gender previews
Instead of generating the unit preview from the gender variation
attached to the unit type variation, we need to generate it from the
unit type variation attached to the gender variation. I know this sounds
really crazy, but it matches the behaviour in unit::advance_to():

    // Adjust the new type for gender and variation.
    const unit_type& new_type = u_type.get_gender_unit_type(gender_).get_variation(variation_);

This behaviour is also relied upon by at least one pre-existing add-on
(After the Storm Episode 3, Demon Shapeshifter unit type).

Without this patch, the preview display doesn't reflect gender
variations at all when a non-default variation is selected.

As a side-note, the fix also makes the logic in
unit_create::update_displayed_type() simpler since we don't need to
verify if the variation exists at all -- if it doesn't we just get the
parent unit type back.
2020-07-09 17:42:15 -04:00
Iris Morelle
c8a31df035 Whitespace cleanup 2020-07-09 17:42:15 -04:00
Iris Morelle
3ecc7cb834 gui2/unit_create: UI refinements
* Make the default variation's label "Default Variation" instead of
   just "Default" (see below).
 * Drop the "Variation:" and "Gender:" labels as they take up valuable
   real estate and aren't strictly necessary since the controls they are
   attached to are very much self-explanatory. This is a debug mode
   utility dialog anyway.
 * Swap the order according to option importance -- gender is usually
   thought of as more of an essential property of units than their type
   variation, especially since unit types with multiple variations are
   rare in mainline. This means that the gender options are now on the
   left instead of on the right.
 * Improve display alignment for the variation/gender options row.
2020-07-09 17:42:15 -04:00
Iris Morelle
be4b927fd8 Add unit variation selection to the Create Unit dialog
Surprisingly, this involves quite a few API changes to enable the Create
Unit command to specify a unit variation id.
2020-07-09 17:42:15 -04:00
Iris Morelle
c489ffab59 gui2/unit_create: Remove "Debug!" part of the dialog caption
Yes, we already know it's a debug mode functionality. It says so on the
context menu and we needed to use :debug to get here. No need to make
the dialog caption pointlessly long.
2020-07-09 17:42:15 -04:00
Iris Morelle
c8175afa3e Update changelog
[ci skip]
2020-07-09 06:23:17 -04:00
Artem226
dac172c8ef Addon translation fixes
Changed the pointers to references where possible. Some variable type fixes.
2020-07-09 06:19:44 -04:00
Artem226
d81c864dd6 Fixed the map error
(Hopefully)
2020-07-09 06:19:44 -04:00
Artem226
8315277d96 Added the sanitation pass and fixes
Suggested by @shikadiqueen in the review.
2020-07-09 06:19:44 -04:00
Artem226
d70afcd48f Remove the old comment
It's needed for the stored translation info.
2020-07-09 06:19:44 -04:00
Artem226
8c69c3a9f6 Update about.cfg 2020-07-09 06:19:44 -04:00
Artem226
10e75e653c Addon titles and descriptions made translatable
Modified the `translation` tag in the addon structure and made the translated names shown in the corresponding locale on the client side.

See the related pull-request for more information.
2020-07-09 06:19:44 -04:00
Pentarctagon
96369589e6 Remove the UMC IDE plugin.
The reasons being:
* It's been unmaintained for several years now, so any bugs that might be reported against it will almost certainly not be fixed.
* Having been unmaintained for so long, even if someone wanted to create a custom Wesnoth IDE plugin, it's unlikely this would be a good foundation to continue with anymore.
* There are at this point better alternatives that people are actually using and maintaining (such as the VSCode plugin).
* Having this be present can give the impression that this IDE plugin is something UMC authors should still be using, which I think makes it actively harmful. Case in point, the current version of this available on SourceForge (2.0.1) was downloaded twice as of the current week; however the most recent version (2.0.2 in the changelog, or 2.0.3 based on some git commits) is not available on SourceForge at all, nobody apparently ever uploading it.
2020-07-07 22:59:06 -05:00
mattsc
a666a34055 ai_helper.next_hop: fix bug in fan-out code
This fixes the case when the unit cannot reach the previously found next_hop location from the ideal next_hop location in the part of the code that tries to keep units from moving in single file.
2020-07-07 20:14:11 -07:00
Iris Morelle
f620314800 Replace aitesting log domain with ai/testing
The former was added in commit 40a1e7d3fa74d59e7bba2d23fc535d9aa0a7f499.
However, ai/testing predates it by several years (added in commit
ab540dca1517e82d0f93153604cdb00f256becd6).
2020-07-08 09:39:52 +10:00
Iris Morelle
9c5b2ef344 gui2/mp_alerts_options: Use labelless checkboxes
This fixes an issue where the checkboxes are slightly misaligned
relative to the headings because of the extra space they reserve to the
right.
2020-07-06 23:25:39 -04:00
Iris Morelle
5afb96e808 gui2/toggle_button: Add a checkbox variation without a label 2020-07-06 23:25:05 -04:00
Iris Morelle
68f1cd6815 Fix the changelog
[ci skip]
2020-07-06 21:35:25 -04:00
Iris Morelle
d2b486d9b8 Update changelog
[ci skip]
2020-07-06 21:32:27 -04:00
Iris Morelle
c9747c0db5 gui2/logging: Add filtering functionality
To make it easier to find log domains among the giant list.
2020-07-06 21:32:27 -04:00
Iris Morelle
d186a8ba15 gui2/logging: Improve dialog's aesthetics
This makes it look less like programmer art by adding some headings and
a better list layout.
2020-07-06 21:32:27 -04:00
Iris Morelle
e2c5b923fb gui2/toggle_button: Add a radio button variation without a label 2020-07-06 21:32:27 -04:00
Nils Kneuper
9749d60f3a updated Portuguese (Brazil) translation 2020-07-06 12:01:15 +02:00
nemaara
61fc97c2bb Giant Scorpion: fix scuttler name bug 2020-07-05 23:10:45 -04:00
newfrenchy83
4becc858f1
update codeblock projectfiles 2020-07-03 17:16:26 -05:00
Pentarctagon
0c3cdd3a86 Remove VC14 (VS2015/VS2017 project files).
Reasons:
* These projectfiles are still 32-bit, whereas all other builds for all other OSes are now 64-bit.
* Relatedly, these projectfiles are dependent on the libraries kept at the aquileia/external repository.
* VS2019 is still listed as supporting Windows 7, so there is a minimal likelihood of developers not being able to use VS2019.
* The VS2019 projectfiles instead use vcpkg to get the required dependencies, which is easier to setup than the aquileia/external prebuilt libraries.
* It's one less thing that needs to be updated whenever source files are added/moved/removed.
* It's two fewer jobs that Travis needs to run, which means Travis builds will finish more quickly.
2020-07-03 12:23:34 -05:00
gfgtdf
6fb3573978 fix modify_unit_type macros 2020-07-03 14:28:13 +02:00
gfgtdf
8850862795 add comment 2020-07-03 14:28:13 +02:00
gfgtdf
8121a92359 small pathfind refactor 2020-07-03 14:28:13 +02:00
Charles Dang
04dce20deb Updated VC16 projectfile 2020-07-03 07:06:01 +11:00
Martin Hrubý (hrubymar10)
f3256cfbd1
Fix Xcode project after #4963 2020-07-02 15:40:30 +02:00
Iris Morelle
35b6d9d560 Add Earthy Rockbound Cave terrain 2020-07-02 07:04:43 -04:00
Glen Whitney
acd08fd0c5 Scale fixed-size dialogue window capped by screen size percentage 2020-06-29 19:18:38 -04:00
newfrenchy83
fd0cd29683
updated codeblock projectfiles 2020-06-29 16:48:26 -05:00
Charles Dang
c0205969d5 Updated VS projectfile 2020-06-30 05:43:56 +11:00
gfgtdf
45fec655c2 savagame compatibility
for 'move active_mods and mp_era to game_classification'
2020-06-29 15:16:05 +02:00
gfgtdf
5759404121 disable unused addons during a game
Now, during an active game, (that is: not during
campaign selection for example) the engine hides
all toplevel tags from addons that are not
involved in the current game. 'involved' here
means providing one of the [campaign], [scenario],
[era], [multiplayer], [modification] or [resource]
tags that are active in the current game.

Fixes #4832
2020-06-29 15:16:05 +02:00
gfgtdf
b63a3be678 game_config_manger refactoring
This commit prepares a patch to disable unused
addons during a game. We try to reduce codes
that change the game_config config object.

In particular this removes a code that changes
the order of terrain graphics tag. This could
in theory break code that relied on that order
but afaik the terrain_graphics tags offers a
`precedence` that allows users to specify the
order in which terrain graphics are applied.
so no additional compatabiltiy code is needed.
2020-06-29 15:16:05 +02:00
gfgtdf
93aa2ca409 deploy new game_config_view object
the game_config_view object offers const
access to the game_config object, furthermore
it allows the game_config config object to be
replaced by a vector of config objects which
is what we will do later.
2020-06-29 15:16:05 +02:00