This allows to open map files from the filemanager by clicking at them.
2nd, hidden *.desktop file needed to associate the mimetype with the wesnoth command
icons in mimetype/ are used as file icon
icons in apps/ are shown when the user want to change the default program for the mimetype
(In Dolphin this place can be reached after opening the file properties)
It's confusing when it pops up on turn 12, regardless of the game state. My
leader is normally on the other side of the river from my keep, and I always
wonder "what about my play triggered that?"
Move the message to be part of the "I now have enough gold to recruit more
units" hint.
(cherry picked from commit 80a2ace28c)
... with the idea that these pages will either be improved or hidden again
before 1.16.0. I think the terrain-editor part will be good enough to stay in
1.16, but the scenario editor part needs to be updated by someone familiar with
it.
This puts the two tips that are currently in https://wiki.wesnoth.org/MapEditor
in to the in-game text.
As the terrain is hidden in help, these hints can only be seen by
using the "Terrain Description" command on a ^Uf or ^Ufi mushroom
hex, and then switching to the overlay's own page.
A hint for players about how these mushrooms behave, and an editor-only
hint about replacing the ^Uf mushroom terrains with ^Tf.
Treat "editor^The overlays '^Uf' and '^Ufi' are deprecated because ..."
as a having translation hint "editor", and show "The overlays ..." to the
user. This disallows using carets inside the translation hint itself.
Code already reviewed in the discussion in #4359.
Currently, the value of `game["savegame"]` is one of `mp_game_settings::SAVED_GAME_MODE`. However, the `to_bool()` function doesn't recognize any of those values as being true, so a game is always shown in the MP lobby as not being a reload, even if it actually is.
I don't know what happened here, but c61b9b3b3f
had WoV's en@shaw.po filled in with normal English. That's an error, this
commit removes all of those strings.
The default 1.14 already considers high-XP attacks. Other than the dialogue,
the only change is to reduce the AI's default aggression, so there's more
contrast between what the Micro AI does compared to what the default AI does.
Switched to typographic quotation marks in the dialogue, and removed double
spaces between sentences.
Not a code-revert, but a behavior-revert of the switch of this unit
to use the guardian AI. 26327a5bdc.
If he somehow doesn't get across the bridge, warn the player
that something has broken.
(cherry picked from commit 656a44664d)
Change terrain_type_data's documentation and some methods to avoid exposing
implementation details, for example renaming try_merge_terrains to is_known.
Move the code to load all the [terrain_types] in to the terrain_type_data
class's own .cpp file, and out of terrain.cpp.
Add documentation about "underlying", and why worst(best(a,b),c,d) terrains don't work
The commented-out code for merging pluses and minuses in the middle of an alias
was commented out in 1.5's d2edbe118a, but the
concept of pluses and minuses in the middle of an alias seems broken anyway
(see comments added to merge_alias_lists in this commit).
Descriptions are t_strings, avoid converting them to std::string and back.
The string _("replay") is already used elsewhere, so this prevents two kinds of bugs from
happening:
- Translating _("replay") and _(" replay") differently
- Translating _(" replay") without the leading space
14 po files got this wrong in one way or another.
Before this commit, a probability of 0.67% was shown as 0.67%.
Now it is shown as 0.7%.
(That's not a typo. I'm talking about a chance of 67 permyriad.)
Reproducible in the test scenario by having the Wolf Rider attack the
unit to its south.