Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Working master branch #3603

Closed
wants to merge 1,518 commits into from
Closed

Working master branch #3603

wants to merge 1,518 commits into from
This pull request is big! We’re only showing the most recent 250 commits.

Commits on Oct 7, 2018

  1. fix oos when undoing after ally chat

    previously the server would send [speak] commands that had no undo=no attributes so that the game would remove the speak command from the replay instead of the actual undoable action when undoing an action.
    
    (cherry-picked from commit 02bed5c)
    gfgtdf committed Oct 7, 2018
    Copy the full SHA
    96eb02a View commit details
    Browse the repository at this point in the history
  2. fix oos when undoing after ally chat 2

    for extra safety we add code to ensure undo=no for [speak] commands to the client aswell, this is not really needed as i just added a code that sets undo=yes to the server code, but it's an advantage to be able to safely connect to older servers aswell.
    
    (cherry-picked from commit c685031)
    gfgtdf committed Oct 7, 2018
    Copy the full SHA
    920b34a View commit details
    Browse the repository at this point in the history
  3. fix segfault in wesnothd

    broken in commit 'preserve traslatable strings in simple_wml.'
    
    (cherry-picked from commit 7e0d63d)
    gfgtdf committed Oct 7, 2018
    Copy the full SHA
    932edd3 View commit details
    Browse the repository at this point in the history
  4. fix missing map previews in the lobby

    regression from 'fix require_scenario & require_era'
    
    (cherry-picked from commit 9a3917d)
    gfgtdf committed Oct 7, 2018
    Copy the full SHA
    f517f3a View commit details
    Browse the repository at this point in the history
  5. improve wesnoth version warning 3

    suggested by soliton
    
    (cherry-picked from commit bd16aee)
    gfgtdf committed Oct 7, 2018
    Copy the full SHA
    8f4c854 View commit details
    Browse the repository at this point in the history
  6. fix 'start game' locked when other players abort flg dialog wesnoth#3452

    
    
    (cherry-picked from commit f03e3e8)
    gfgtdf committed Oct 7, 2018
    Copy the full SHA
    3e7c530 View commit details
    Browse the repository at this point in the history
  7. boost::ptr_vector -> std::vector<unique_ptr>

    boost::ptr_vector has some nice features, but vector<unique_ptr> is still
    easier to use for most people basicially becasue people know it better.
    Also boost::ptr_vector does not support move ctors and also does not
    use std::unique_ptr, probably because it tries to stay compatible with
    c++03 so one has to use 'ptr_vector::auto_type' with it instead which
    has a different interface than std::unique_ptr
    
    (cherry-picked from commit 7e2dc29)
    gfgtdf committed Oct 7, 2018
    Copy the full SHA
    6b4e74e View commit details
    Browse the repository at this point in the history
  8. fix game freezes on droiding when using dsu wesnoth#3453

    (cherry-picked from commit 1646a7b)
    gfgtdf committed Oct 7, 2018
    Copy the full SHA
    1dff5db View commit details
    Browse the repository at this point in the history
  9. remove outdated code

    substr cannot throw bad_lexical_cast
    
    (cherry-picked from commit e90f0fc)
    gfgtdf committed Oct 7, 2018
    Copy the full SHA
    8fbe9cb View commit details
    Browse the repository at this point in the history
  10. add debug info

    (cherry-picked from commit 9bb601e)
    gfgtdf committed Oct 7, 2018
    Copy the full SHA
    35e34c7 View commit details
    Browse the repository at this point in the history
  11. deploy string_view

    (cherry-picked from commit 8d6524c)
    gfgtdf committed Oct 7, 2018
    Copy the full SHA
    a1ee3fb View commit details
    Browse the repository at this point in the history
  12. add wesnoth.terrain_mask lua function

    `[terrain_mask]` had multiple unexpected behviours, see for example wesnoth#3364
    in parituclar `wesnoth.wml_actions.terrain_mask { x =2, y=2, mask="Ww"}`
    will change the tile at (1,2) instead of (2,2), so instead of reusing
    the old terrain mask code i wrote a new function that behaves as one
    would expect. `wesnoth.terrain_mask` does not have a `border=` parameter
    but a `is_odd` parameter that specifies that a map is in the odd format
     __    __
    /00\__/20\__
    \__/10\__/30\
    /01\__/21\__/
    \__/11\__/31\
    /02\__/22\__/
    \__/  \__/
    
    instead of the even map format
        __    __
     __/10\__/30\
    /00\__/20\__/
    \__/11\__/31\
    /01\__/21\__/
    \__/12\__/32\
       \__/  \__/
    
    (Monospaced font required to see ascii images.)
    
    The lua function also has a lua interfacte, meaning it does not take wml
    tables but normal lua tables making it easier to use from lua code.
    
    (cherry-picked from commit a3367ee)
    gfgtdf committed Oct 7, 2018
    Copy the full SHA
    6a10e12 View commit details
    Browse the repository at this point in the history
  13. fix villages after terrain_mask

    (cherry-picked from commit 6cd9de1)
    gfgtdf committed Oct 7, 2018
    Copy the full SHA
    e4c170f View commit details
    Browse the repository at this point in the history
  14. move [terrain_mask] to lua

    and implement it using wesnoth.terrain_mask.
    
    This also fixes an issue where [terrain_mask] would not remove
    removed villages from the teams villages list after [terrain_mask].
    
    This also adds an alignment parameter to [terrain_mask].
    
    (cherry-picked from commit 09c56ef)
    gfgtdf committed Oct 7, 2018
    Copy the full SHA
    42af4c3 View commit details
    Browse the repository at this point in the history
  15. fixup [terrain_mask]

    (cherry-picked from commit 7d44782)
    gfgtdf committed Oct 7, 2018
    Copy the full SHA
    3c86e3b View commit details
    Browse the repository at this point in the history
  16. Fixes track titles not being set from WML.

    The current implementation of the [music] tag sets the title after adding the track, however the title field was read only.  This makes the field writable.
    
    (cherry-picked from commit 0f5899b)
    Pentarctagon committed Oct 7, 2018
    Copy the full SHA
    10638b4 View commit details
    Browse the repository at this point in the history
  17. Update wesnoth.cbp

    (cherry-picked from commit ae11499)
    newfrenchy83 authored and GregoryLundberg committed Oct 7, 2018
    Copy the full SHA
    341ad08 View commit details
    Browse the repository at this point in the history
  18. updated British English translation

    (cherry-picked from commit 2f31345)
    ivanovic committed Oct 7, 2018
    Copy the full SHA
    d9bac74 View commit details
    Browse the repository at this point in the history
  19. Help: Add Saurian race description (fix wesnoth#3372)

    [ci skip]
    
    (cherry-picked from commit ed50b6b)
    sigurdfdragon committed Oct 7, 2018
    Copy the full SHA
    7aa185e View commit details
    Browse the repository at this point in the history
  20. Units: Have Saurian warriors be female to fit lore in mainline

    Fixes wesnoth#3392 & goes along with wesnoth#3372.
    
    (cherry-picked from commit ce6826d)
    sigurdfdragon committed Oct 7, 2018
    Copy the full SHA
    7027930 View commit details
    Browse the repository at this point in the history
  21. Fast Micro AI: fix for chance-to-hit specials without id

    All mainline chance-to-hit weapon specials have ids, but it is not required for UMC specials.
    
    (cherry-picked from commit d421337)
    mattsc committed Oct 7, 2018
    Copy the full SHA
    35df7f6 View commit details
    Browse the repository at this point in the history
  22. Update changelog

    (cherry-picked from commit c59a084)
    mattsc committed Oct 7, 2018
    Copy the full SHA
    af608e6 View commit details
    Browse the repository at this point in the history
  23. Fixup ed50b6b

    [ci skip]
    
    (cherry-picked from commit 638fd4b)
    sigurdfdragon committed Oct 7, 2018
    Copy the full SHA
    6eaba32 View commit details
    Browse the repository at this point in the history
  24. Fix building with Xcode 10 (wesnoth#3460)

    Resolves wesnoth#3458.
    
    (cherry-picked from commit 50301f8)
    hrubymar10 authored and jyrkive committed Oct 7, 2018
    Copy the full SHA
    96bbebb View commit details
    Browse the repository at this point in the history
  25. Made Thursagens words fit the timeframe

    (cherry-picked from commit cf999f7)
    Konrad22 authored and sevu committed Oct 7, 2018
    Copy the full SHA
    f434c0c View commit details
    Browse the repository at this point in the history
  26. gui2/game_load: Constrain leader sprites to 72x72 using image path fu…

    …nctions
    
    Fixes wesnoth#3474.
    
    (cherry-picked from commit 36cf8c8)
    irydacea committed Oct 7, 2018
    Copy the full SHA
    0c0192c View commit details
    Browse the repository at this point in the history
  27. Revert unwanted binary file change in previous commit

    [ci skip]
    
    (cherry-picked from commit d3650a7)
    irydacea committed Oct 7, 2018
    Copy the full SHA
    635e17e View commit details
    Browse the repository at this point in the history
  28. Fix crash after hitting enter when no units match the recall list filter

    Fixes wesnoth#3475
    
    (cherry-picked from commit a3047f3)
    jostephd authored and Pentarctagon committed Oct 7, 2018
    Copy the full SHA
    6ac3ffd View commit details
    Browse the repository at this point in the history
  29. Copy the full SHA
    027d50f View commit details
    Browse the repository at this point in the history
  30. Make Dune Burner line naphtha icons consistent and remove outdated co…

    …mment
    
    (cherry-picked from commit df8a6f5)
    joeylmaalouf authored and Pentarctagon committed Oct 7, 2018
    Copy the full SHA
    9fb1ee2 View commit details
    Browse the repository at this point in the history
  31. Use MacCompileStuff for every macOS package

    (cherry-picked from commit 6f8c504)
    hrubymar10 committed Oct 7, 2018
    Copy the full SHA
    e4da9d9 View commit details
    Browse the repository at this point in the history
  32. Copy the full SHA
    fe545d4 View commit details
    Browse the repository at this point in the history
  33. Linux Packaging: Don't store log info which nobody will read

    So it may not be saved in ~/.xession-errors
    or cluttering up disk space another way
    
    (cherry-picked from commit c998f13)
    sevu committed Oct 7, 2018
    Copy the full SHA
    1efaa64 View commit details
    Browse the repository at this point in the history
  34. clarify that pango markup is the cause

    changed as proposed by soliton
    
    (cherry-picked from commit 6998885)
    sevu committed Oct 7, 2018
    Copy the full SHA
    bb680ba View commit details
    Browse the repository at this point in the history
  35. Capitalize Pango

    [ci skip]
    
    (cherry-picked from commit 12369a2)
    sevu committed Oct 7, 2018
    Copy the full SHA
    bd88e4d View commit details
    Browse the repository at this point in the history
  36. pofix: Genericize the Lua version number for the 1.14 announcement

    Otherwise people will keep complaining that it doesn't reflect the
    latest 1.14 version since the original number was valid for 1.14.0 and
    1.14.4.
    
    [ci skip]
    
    (cherry-picked from commit c589e39)
    irydacea committed Oct 7, 2018
    Copy the full SHA
    79fd02c View commit details
    Browse the repository at this point in the history
  37. wmlxgettext: fix wesnoth#3469: lua plural strings not recognized in s…

    …ome context (wesnoth#3481)
    
    * bugfix: wesnoth#3469
    
    * wmlxgettext: removed a debug comment forgotten on the previous bugfix
    
    (cherry-picked from commit 4b79c26)
    AncientLich authored and jyrkive committed Oct 7, 2018
    Copy the full SHA
    9095611 View commit details
    Browse the repository at this point in the history
  38. Slightly rewrite dialogue (fixes wesnoth#3386)

    Some non-native English readers may find use of the word 'disposed' confusing.
    
    (cherry-picked from commit 087a18a)
    Wedge009 authored and sevu committed Oct 7, 2018
    Copy the full SHA
    6f66e0d View commit details
    Browse the repository at this point in the history
  39. fix editor cannot add starting location for > 9 players.

    previously attempting to place a starting location for side 10 or higher would result in a "invalid location id" error.
    
    (cherry-picked from commit cbf078a)
    gfgtdf authored and sevu committed Oct 7, 2018
    Copy the full SHA
    a0eaf4e View commit details
    Browse the repository at this point in the history
  40. show add-on loading times on --log-debug=config

    (cherry-picked from commit 6781fe1)
    gfgtdf authored and sevu committed Oct 7, 2018
    Copy the full SHA
    9cc105f View commit details
    Browse the repository at this point in the history
  41. fixup 'fix game freezes on droiding when using dsu wesnoth#3453'

    fixes wesnoth#3486
    
    (cherry-picked from commit 08bb6a4)
    gfgtdf authored and sevu committed Oct 7, 2018
    Copy the full SHA
    3c81435 View commit details
    Browse the repository at this point in the history
  42. Revert "preserve traslatable strings in simple_wml."

    This reverts commit 4f3ce68.
    This reverts commit 20128ac.
    
    see issue wesnoth#3454, there were problems caused by simple_wml when
    joining/observing games and this commit is the obvious suspect
    so i'm reverting it until we can fix that one.
    
    (cherry-picked from commit 6b58ce7)
    gfgtdf authored and sevu committed Oct 7, 2018
    Copy the full SHA
    b6cce36 View commit details
    Browse the repository at this point in the history
  43. Help: Fix typos.

    (cherry-picked from commit 86eba2b)
    jostephd authored and sevu committed Oct 7, 2018
    Copy the full SHA
    83ee546 View commit details
    Browse the repository at this point in the history
  44. TSG S4: Fix typo.

    (cherry-picked from commit 59299ad)
    jostephd authored and sevu committed Oct 7, 2018
    Copy the full SHA
    5fad21a View commit details
    Browse the repository at this point in the history
  45. Help: Re-fix Ancient Wose description.

    Thanks @CelticMinstrel
    
    (cherry-picked from commit 9e296b4)
    jostephd authored and sevu committed Oct 7, 2018
    Copy the full SHA
    ee8b70a View commit details
    Browse the repository at this point in the history
  46. HttT S20b: Fix typos

    (cherry-picked from commit eb76378)
    jostephd authored and sevu committed Oct 7, 2018
    Copy the full SHA
    e720ef6 View commit details
    Browse the repository at this point in the history
  47. HttT units: Fix typo

    Thanks 613TheEvil https://forums.wesnoth.org/viewtopic.php?p=619347#p619347
    
    (cherry-picked from commit d27b09a)
    jostephd authored and sevu committed Oct 7, 2018
    Copy the full SHA
    0b49f33 View commit details
    Browse the repository at this point in the history
  48. ANL worker: converting to flatland is not the same as creating a farm

    Farms have a multi turn cycle:
    1) crate farm (converts to Re)
    2) end turn on the filed to harvest (Re has been automatically converted)
    3) convert to grasland [othrwise the fields remains unusable for building]
    
    Step 3 was labeled the same as step 1.
    
    [ci skip]
    
    (cherry-picked from commit 1867274)
    sevu committed Oct 7, 2018
    Copy the full SHA
    8a90f81 View commit details
    Browse the repository at this point in the history
  49. fixup, use same capitalization

    [ci skip]
    
    (cherry-picked from commit c3227f5)
    sevu committed Oct 7, 2018
    Copy the full SHA
    c2d09e9 View commit details
    Browse the repository at this point in the history
  50. Game Load: Show the user-name difficulty name instead of the internal…

    … name.
    
    The internal name (Easy/Medium/Hard/Nightmare) will only be shown if the campaign
    is not installed, or doesn't declare the saved difficulty.
    
    (cherry-picked from commit 937e971)
    jostephd authored and jyrkive committed Oct 7, 2018
    Copy the full SHA
    fa66bfd View commit details
    Browse the repository at this point in the history
  51. Add pofix entries for the recent typo fixes (resolves wesnoth#3377)

    Manual merge of pull request wesnoth#3490. I also ran pofix.
    
    [ci skip]
    
    (cherry-picked from commit 217eba5)
    jyrkive committed Oct 7, 2018
    Copy the full SHA
    2d8f8ea View commit details
    Browse the repository at this point in the history
  52. Pofix fixes

    The tool that generates .po files splits lines in order to limit line
    length, and pofix can't track split strings. Thus, pofix search rules need
    to be shorter so that pofix finds the affected strings.
    
    I also moved the replacements to the right text domains, placed wesnoth-l
    to the right spot, and removed the "Asheviere is the Queen of Wesnoth"
    replacement because it isn't pofixable. (The second part of the string
    becomes just "Queen of Wesnoth." and "queen of Wesnoth." with lowercase Q
    is used legitimately elsewhere.)
    
    [ci skip]
    
    (cherry-picked from commit 3df91c9)
    jyrkive committed Oct 7, 2018
    Copy the full SHA
    9a3084f View commit details
    Browse the repository at this point in the history
  53. Fix another pofix mistake

    That comma wasn't supposed to be replaced with a period, and I didn't
    notice the mistake before pushing the commit.
    
    [ci skip]
    
    (cherry-picked from commit 20bfb35)
    jyrkive committed Oct 7, 2018
    Copy the full SHA
    7cfd220 View commit details
    Browse the repository at this point in the history
  54. DiD S10: use self dacaying object

    use one event with an object instead of two events
    
    [ci skip]
    
    (cherry-picked from commit bed3524)
    sevu committed Oct 7, 2018
    Copy the full SHA
    76c1da1 View commit details
    Browse the repository at this point in the history
  55. NR S02a: restrict movement by costs instead moves

    because it is not obviously shown in the sidebar
    
    [ci skip]
    
    (cherry-picked from commit 4e11d41)
    sevu committed Oct 7, 2018
    Copy the full SHA
    b6c7dd1 View commit details
    Browse the repository at this point in the history
  56. DiD utils: use 1.13 syntax

    It's now possible to have this logic as part of [role]
    
    [ci skip]
    
    (cherry-picked from commit 440efd2)
    sevu committed Oct 7, 2018
    Copy the full SHA
    f25243f View commit details
    Browse the repository at this point in the history
  57. TSG: S8b don't show the objectives when the mages arrive again

    This is one of the few cases where it is not only a refactoring, but has
    an actual advanatge to use [show_if] - the note can be removed from the
    objectives witout showing them to the player.
    
    [ci skip]
    
    (cherry-picked from commit 844e56b)
    sevu committed Oct 7, 2018
    Copy the full SHA
    d99e659 View commit details
    Browse the repository at this point in the history
  58. TSG S3: Don't kill the elves at the end

    This is a relict from when they had not their own side, and needed to be killed
    to not be added to the recall list.
    
    [ci skip]
    
    (cherry-picked from commit baec30b)
    sevu committed Oct 7, 2018
    Copy the full SHA
    90776d8 View commit details
    Browse the repository at this point in the history
  59. TSG S3: change side switch procedure for Ethiliel

    Ethiliel remains on side 3, but a copy of her is added to the player's recall
    list for next scenario. The loyal trait is obtained at that point.
    
    [ci skip]
    
    (cherry-picked from commit 101cb21)
    sevu committed Oct 7, 2018
    Copy the full SHA
    b6616ff View commit details
    Browse the repository at this point in the history
  60. TSG S3: support debug mode :n and :cl

    [ci skip]
    
    (cherry-picked from commit bbc31e6)
    sevu committed Oct 7, 2018
    Copy the full SHA
    4e91a6d View commit details
    Browse the repository at this point in the history
  61. TSG S2: avoid the possibility of the AI neutralizing villages...

    ...which it neither burns or captures.
    The AI has two sides which are presented as one to the player. It's not the best
    approach, because it is possible that the player realizes it looking at the side
    informations, e.g. how many units the enemy side has listed there.
    
    This commit unifies both sides, while still keeping the units from formerly side
    3 being unable to burn villages, but, as now being in a side with a leader, they
    can capture them.
    
    An advantage of having two sides was, that the units could have different AI
    settings, and that the leaderless side was not interrested in villages.
    The AI settings will be adressed in a seperate commit.
    
    (bug wesnoth#3032)
    
    [ci skip]
    
    (cherry-picked from commit d749005)
    sevu committed Oct 7, 2018
    Copy the full SHA
    c1bdccc View commit details
    Browse the repository at this point in the history
  62. TSG S2: fix issues with killing the bandit leader first

    - The peasants told Deoran to go for the already defeated bandit leader.
    - The pesants were useless at that time - they are now instead spawned when
      defeating the bandit leader or when Deoran arrives, whatever happens first.
      They may still have a fight with remaining bandits – or provoke their attack.
    - The dialogue when reaching the citadel after having defeated the bandits got a
      slight change, to better switch to the victory dance event.
    
    (issue wesnoth#1954)
    
    [ci skip]
    
    (cherry-picked from commit 0c5467c)
    sevu committed Oct 7, 2018
    Copy the full SHA
    3f36501 View commit details
    Browse the repository at this point in the history
  63. TSG S7a-S9a: prepare to let Hylas die

    (FR wesnoth#3316)
    
    This includes changing when the overlays and ellipses for the hero units are
    changed, and for better testing part of the event is split into a victory event
    in S6a.
    
    [ci skip]
    
    (cherry-picked from commit b681ad8)
    sevu committed Oct 7, 2018
    Copy the full SHA
    f993caa View commit details
    Browse the repository at this point in the history
  64. NR: use 1.13 syntax for finding suitable units for [role]

    [ci skip]
    
    (cherry-picked from commit 0dd48bf)
    sevu committed Oct 7, 2018
    Copy the full SHA
    3435adc View commit details
    Browse the repository at this point in the history
  65. TSG S7a: duplicate less WML

    use monstrous event instead of monstrous macro
    
    [ci skip]
    
    (cherry-picked from commit 00574c0)
    sevu committed Oct 7, 2018
    Copy the full SHA
    db95766 View commit details
    Browse the repository at this point in the history
  66. TSG S2: adjust AI settings

    This follows the earlier commit which unified side 2 and 3.
    
    In the first rounds the AI behaves like former side 3, later like side 2.
    
    This is seemlessly possible, because side 3's AI settings were having practical
    effect at the beginning of the game, and side 2's conflicing settings don't come
    into action before the recruited troops met the ones of the player.
    
    (bug wesnoth#3032)
    
    [ci skip]
    
    (cherry-picked from commit ee09bc3)
    sevu committed Oct 7, 2018
    Copy the full SHA
    fe0613b View commit details
    Browse the repository at this point in the history
  67. TSG S8b: allow while mages to be loyal and have random gender

    [ci skip]
    
    (cherry-picked from commit 7c89b10)
    sevu committed Oct 7, 2018
    Copy the full SHA
    252fa8c View commit details
    Browse the repository at this point in the history
  68. TSG S5: Duo leader setup for the zombies

    This adds on the one hand a second leader with secons keep in the same caslte.
    for the same side, on the other hand ich changes the speack when they die.
    They adverturers are not assuming they killed the undead masters anymore if they
    saw the lich before.
    
    (mentioned in wesnoth#1954)
    
    [ci skip]
    
    (cherry-picked from commit f1a465b)
    sevu committed Oct 7, 2018
    Copy the full SHA
    e8455cc View commit details
    Browse the repository at this point in the history
  69. TSG S4: Avoid submerging Rangers

    If no suitable forest hex is found, the radius of the locations considered is
    extended instead of placing the unit next to Ethiliel.
    
    Also, a change of behaviour:
     * non-free hexes will not be considered
     * the bodyguards won't be placed adjacent to other units, like the ambush
     ability works normally
     * this includes Ethiliel
    In general that means that units may be placed farther away than before.
    
    [ci skip]
    
    (cherry-picked from commit e43b350)
    sevu committed Oct 7, 2018
    Copy the full SHA
    b0bd8a7 View commit details
    Browse the repository at this point in the history
  70. TSG S4: add female name string

    For some reason they never had one.
    [ci skip]
    
    (cherry-picked from commit 4fecc83)
    sevu committed Oct 7, 2018
    Copy the full SHA
    1eae58d View commit details
    Browse the repository at this point in the history
  71. TSG: change inclusion of death events

    That way less events need to be duplicated in scenarios.
    It also does not include the full Hylas death event in S7a to S9a.
    Previously the Jarek event was not present in one of the final scenarios,
    now both include it, but the shorter variant of it.
    
    [ci skip]
    
    (cherry-picked from commit 29b4196)
    sevu committed Oct 7, 2018
    Copy the full SHA
    89c5dac View commit details
    Browse the repository at this point in the history
  72. TSG S7b & S8b: use undead encampments instead of ordinary ones

    [ci skip]
    
    (cherry-picked from commit 8960da0)
    sevu committed Oct 7, 2018
    Copy the full SHA
    e772f6e View commit details
    Browse the repository at this point in the history
  73. TSG S5: Beast of the Lake is now loyal

    It shall not hinder the recruiting capabilities of side 3 if the player spawns
    the monster.
    
    [ci skip]
    
    (cherry-picked from commit 63333c6)
    sevu committed Oct 7, 2018
    Copy the full SHA
    0ee46fa View commit details
    Browse the repository at this point in the history
  74. TSG S4: minor optimizations

    Made it impossible that the undead leader can advance to a lich - though you do
    sth. badly wrong if he advances at all. Also, some more 1.13 syntactic sugar.
    
    [ci skip]
    
    (cherry-picked from commit a46d3f1)
    sevu committed Oct 7, 2018
    Copy the full SHA
    b5f7e8b View commit details
    Browse the repository at this point in the history
  75. TSG 5: ensure no additional event is triggered during allying

    Ensure that allying with the bandits does not trigger the lich sighted event.
    It's unlikely that the bandits advanced that far though.
    
    [ci skip]
    
    (cherry-picked from commit 657bf30)
    sevu committed Oct 7, 2018
    Copy the full SHA
    21dfccf View commit details
    Browse the repository at this point in the history
  76. TSG S6a: may the queen be always female and have a more prominent ell…

    …ipse
    
    And remove one mention of Mebrin before meeting him in S7b.
    [ci skip]
    
    (cherry-picked from commit 18db086)
    sevu committed Oct 7, 2018
    Copy the full SHA
    d3f791a View commit details
    Browse the repository at this point in the history
  77. TSG S2: add female strings for the units placed at start

    On the other hand, all these units could as well use custom names.
    [ci skip]
    
    (cherry-picked from commit f04cdd3)
    sevu committed Oct 7, 2018
    Copy the full SHA
    6c37f2c View commit details
    Browse the repository at this point in the history
  78. TSG S5: reformat comments, add translation hint

    [ci skip]
    
    (cherry-picked from commit c030249)
    sevu committed Oct 7, 2018
    Copy the full SHA
    c1b5edb View commit details
    Browse the repository at this point in the history
  79. TSG 9a: gender handling

    [ci skip]
    
    (cherry-picked from commit 07c2125)
    sevu committed Oct 7, 2018
    Copy the full SHA
    4ae3afb View commit details
    Browse the repository at this point in the history
  80. TSG S6a: Mermen will leave afterwards

    The text has already been prepared for this in 1.13
    
    [ci skip]
    
    (cherry-picked from commit f84d680)
    sevu committed Oct 7, 2018
    Copy the full SHA
    b1ab098 View commit details
    Browse the repository at this point in the history
  81. TSG S7b: use 1.13 code and make it debug safe

    The invulnerable status is player-visible and does not insert new events which
    are checked at each attack.
    
    [ci skip]
    
    (cherry-picked from commit ddc763f)
    sevu committed Oct 7, 2018
    Copy the full SHA
    260339a View commit details
    Browse the repository at this point in the history
  82. TSG S8a: add redraw calls

    Recalling units may increase the vision area when playing with shroud/fog.
    
    [ci skip]
    
    (cherry-picked from commit 5f7b185)
    sevu committed Oct 7, 2018
    Copy the full SHA
    f6e2a9f View commit details
    Browse the repository at this point in the history
  83. Copy the full SHA
    a3d9b7f View commit details
    Browse the repository at this point in the history
  84. Attempted build fix

    (cherry-picked from commit 8f40b51)
    jyrkive committed Oct 7, 2018
    Copy the full SHA
    1ab3ec0 View commit details
    Browse the repository at this point in the history
  85. Lua AIs: use unit methods instead of wesnoth functions

    (cherry-picked from commit a686639)
    mattsc committed Oct 7, 2018
    Copy the full SHA
    25b2024 View commit details
    Browse the repository at this point in the history
  86. Messenger MAI Lua code: change proxy unit location directly

    (cherry-picked from commit b3058e8)
    mattsc committed Oct 7, 2018
    Copy the full SHA
    5bc44fc View commit details
    Browse the repository at this point in the history
  87. Lua AIs: remove unused debug output

    (cherry-picked from commit 83c4ef2)
    mattsc committed Oct 7, 2018
    Copy the full SHA
    98e5f08 View commit details
    Browse the repository at this point in the history
  88. Lua AIs: replace print() by std_print()

    (cherry-picked from commit 3f54908)
    mattsc committed Oct 7, 2018
    Copy the full SHA
    fbbbcfc View commit details
    Browse the repository at this point in the history
  89. Game Load: Show list of enabled modifications (wesnoth#3495)

    (cherry-picked from commit 6f67055)
    jostephd authored and jyrkive committed Oct 7, 2018
    Copy the full SHA
    6800ccd View commit details
    Browse the repository at this point in the history
  90. Pofix: fix incorrect removal of a space

    Thanks to @jostephd for pointing out that it shouldn't be removed.
    
    [ci skip]
    
    (cherry-picked from commit c59ae52)
    jyrkive committed Oct 7, 2018
    Copy the full SHA
    1166bfb View commit details
    Browse the repository at this point in the history
  91. Lua AIs: get unit cost/level directly from proxy unit

    These used to be accessible only through unit.__cfg or wesnoth.unit_types.  The Fast Micro AI is not included here as it requires a larger clean-up.
    
    (cherry-picked from commit 8af988c)
    mattsc committed Oct 7, 2018
    Copy the full SHA
    b5c8c60 View commit details
    Browse the repository at this point in the history
  92. Micro AIs: simplify unit variable handling functions

    The main reason for doing this, besides simplifying the code, is to avoid using the WML table dump __cfg, which is slow. This includes a change of the format in which the variables are stored, but since these are internal Micro AI utility functions, that does not matter.
    
    (cherry-picked from commit 133568e)
    mattsc committed Oct 7, 2018
    Copy the full SHA
    695fa69 View commit details
    Browse the repository at this point in the history
  93. Fix error: missing noexcept

    GCC 8.2.0 -Wnoexcept flags two functions which should be marked as not throwing.
    
    (cherry-picked from commit 3826c26)
    GregoryLundberg authored and jyrkive committed Oct 7, 2018
    Copy the full SHA
    cbeb882 View commit details
    Browse the repository at this point in the history
  94. Fix error: no previous declaration

    No used outside the source file, so marked as a static function.
    
    (cherry-picked from commit 616ae9b)
    GregoryLundberg authored and jyrkive committed Oct 7, 2018
    Copy the full SHA
    2d09969 View commit details
    Browse the repository at this point in the history
  95. Lua AIs: avoid using __cfg for accessing weapon specials

    (cherry-picked from commit aa59ac5)
    mattsc committed Oct 7, 2018
    Copy the full SHA
    3906d78 View commit details
    Browse the repository at this point in the history
  96. Lua AI utility functions: fix for chance-to-hit specials without id

    All mainline chance-to-hit weapon specials have ids, but it is not required for UMC specials.
    
    (cherry-picked from commit 5335a2a)
    mattsc committed Oct 7, 2018
    Copy the full SHA
    6ad4c7e View commit details
    Browse the repository at this point in the history
  97. Lua AIs: remove inclusions of unused libraries

    (cherry-picked from commit 8a996c5)
    mattsc committed Oct 7, 2018
    Copy the full SHA
    08825af View commit details
    Browse the repository at this point in the history
  98. Lua AIs: remove another unused library inclusion

    (cherry-picked from commit 1680436)
    mattsc committed Oct 7, 2018
    Copy the full SHA
    02c830a View commit details
    Browse the repository at this point in the history
  99. Fast Micro AI: code cleanup

    Most of the Fast MAI attack utils had been taken from a more general codebase and included things not needed here. This AI is supposed to be a slimmed down version doing only the absolutely necessary in as fast as possible a fashion.
    
    (cherry-picked from commit f4f2a44)
    mattsc committed Oct 7, 2018
    Copy the full SHA
    613ccd8 View commit details
    Browse the repository at this point in the history
  100. Lua AIs: use math.huge to initialize extrema variables

    (cherry-picked from commit cb423b2)
    mattsc committed Oct 7, 2018
    Copy the full SHA
    37e83f1 View commit details
    Browse the repository at this point in the history
  101. Herding Micro AI: fix variabls not being local

    (cherry-picked from commit 80ae232)
    mattsc committed Oct 7, 2018
    Copy the full SHA
    3c558c7 View commit details
    Browse the repository at this point in the history
  102. Lua AIs: no need to set variables to nil explicitely

    This is mostly done for consistency across the Lua AI code
    
    (cherry-picked from commit 0e7c09f)
    mattsc committed Oct 7, 2018
    Copy the full SHA
    f761493 View commit details
    Browse the repository at this point in the history
  103. Lua Console: Print an error message when not opening the console beca…

    …use :debug hasn't been run.
    
    (cherry-picked from commit 012142a)
    jostephd authored and Pentarctagon committed Oct 7, 2018
    Copy the full SHA
    5301d07 View commit details
    Browse the repository at this point in the history
  104. Liberty S3: Add a story part

    (cherry-picked from commit e2c591e)
    jostephd authored and Pentarctagon committed Oct 7, 2018
    Copy the full SHA
    e09a765 View commit details
    Browse the repository at this point in the history
  105. Fix various typos.

    AOI S3: Address Erlornas as "lord" in lowercase as done elsewhere in the
    scenario.
    
    (cherry-picked from commit 6a1b593)
    jostephd authored and Pentarctagon committed Oct 7, 2018
    Copy the full SHA
    1ca80da View commit details
    Browse the repository at this point in the history
  106. Liberty S3: Play orcish war drums

    (cherry-picked from commit 8fd1b82)
    jostephd authored and Pentarctagon committed Oct 7, 2018
    Copy the full SHA
    7ea5bd4 View commit details
    Browse the repository at this point in the history
  107. fixup "fix oos when undoing after ally chat"

    this also caused errors later when saving replays because the server would concatinate all [turn] leading to dublicate undo=no attributes.
    
    (cherry-picked from commit 144e8a1)
    gfgtdf committed Oct 7, 2018
    Copy the full SHA
    8e77bae View commit details
    Browse the repository at this point in the history
  108. put [resource] before other content; fixes wesnoth#3345

    Now content that is loaded via [load_resource] is placed to the position
    where the [load_resource] was. This fixes a problem where previously one could
    not use lua variables/functions created by the [resource][lua] because the
    engine would put the [lua] tags from the [resource] after the [resource] from the
    scenario.
    
    (cherry-picked from commit 1ac635e)
    gfgtdf committed Oct 7, 2018
    Copy the full SHA
    7067402 View commit details
    Browse the repository at this point in the history
  109. Lua AIs: don't initiate variables as empty tables

    ... if they might not be needed.
    
    (cherry-picked from commit a23f06d)
    mattsc committed Oct 7, 2018
    Copy the full SHA
    e68a6ea View commit details
    Browse the repository at this point in the history
  110. Lua AIs: don't compare variables with nil

    ... unless there is a difference between nil and false. Done mostly for consistency with all the other uses.
    
    (cherry-picked from commit 35d257f)
    mattsc committed Oct 7, 2018
    Copy the full SHA
    8799772 View commit details
    Browse the repository at this point in the history
  111. AToTB S2: rename custom AI file

    For consistency with the other mainline campaigns
    
    (cherry-picked from commit 1040dbe)
    mattsc committed Oct 7, 2018
    Copy the full SHA
    98b8023 View commit details
    Browse the repository at this point in the history
  112. Experimental AI: fix eval/exec debug output

    This involves making the output independent of the stats CA (which is not used any more) and adding missing output to some CAs.
    
    (cherry-picked from commit c2635ab)
    mattsc committed Oct 7, 2018
    Copy the full SHA
    59c7162 View commit details
    Browse the repository at this point in the history
  113. updated Ukrainian translation

    (cherry-picked from commit ff86167)
    ivanovic committed Oct 7, 2018
    Copy the full SHA
    251d3e6 View commit details
    Browse the repository at this point in the history
  114. updated Chinese (Traditional) translation

    (cherry-picked from commit 2436d70)
    ivanovic committed Oct 7, 2018
    Copy the full SHA
    21c2e59 View commit details
    Browse the repository at this point in the history
  115. Experimental AI: convert to using external CAs

    (cherry-picked from commit 5474785)
    mattsc committed Oct 7, 2018
    Copy the full SHA
    8009475 View commit details
    Browse the repository at this point in the history
  116. Liberty S8: Fix ambiguous pronoun

    (cherry-picked from commit 4c61240)
    jostephd authored and Pentarctagon committed Oct 7, 2018
    Copy the full SHA
    e32e6d6 View commit details
    Browse the repository at this point in the history
  117. Liberty S8: Fix family reference

    According to po comments in S1, Baldras is Harper's mother's brother.
    
    Also change "mom"/"dad" to "mother"/"father" to match the general
    medieval setting of dialogs.
    
    (cherry-picked from commit bcb6153)
    jostephd authored and Pentarctagon committed Oct 7, 2018
    Copy the full SHA
    8965939 View commit details
    Browse the repository at this point in the history
  118. Lua AIs: avoid calling wesnoth.get_terrain() more than needed

    It probably doen't make a noticeable difference for these AIs, but in general we should not call the slow functions more than necessary.
    
    (cherry-picked from commit 42b4430)
    mattsc committed Oct 7, 2018
    Copy the full SHA
    2b6b1ed View commit details
    Browse the repository at this point in the history
  119. gui2/unit_create: Fix segfault on empty list when updating unit preview

    This happens when the list comes up empty because of a non-matching
    filter, e.g. "Elvish Archer222" and the user clicks on one of the gender
    options in this state.
    
    Ideally we should clear the preview pane and disable the options and OK
    button here, but the former appears impossible and for some reason
    changing the pane's visibility in filter_text_changed() doesn't work
    reliably.
    
    (cherry-picked from commit 26629d4)
    irydacea committed Oct 7, 2018
    Copy the full SHA
    7fe7047 View commit details
    Browse the repository at this point in the history
  120. gui2/unit_create: Allow searching by race name as well

    (cherry-picked from commit b7c7fca)
    irydacea committed Oct 7, 2018
    Copy the full SHA
    dce8679 View commit details
    Browse the repository at this point in the history
  121. EI: Remove old TODO and add a new one

    (cherry-picked from commit e078196)
    DisherProject authored and ln-zookeeper committed Oct 7, 2018
    Copy the full SHA
    71c3a56 View commit details
    Browse the repository at this point in the history
  122. EI S8: Fix event not being fired

    The second event took as filtered unit an ogre that has reached
    the border of the map. Unfortunately, he was removed by the map
    before such event was fired, causing it to never happen.
    
    (cherry-picked from commit 643f133)
    DisherProject authored and ln-zookeeper committed Oct 7, 2018
    Copy the full SHA
    ba22ab7 View commit details
    Browse the repository at this point in the history
  123. EI S12-S16: Split objectives into main and alternative ones

    Also adds a new objective in S16, which was not stated but
    actually makes you win.
    
    (cherry-picked from commit 50e4cc5)
    DisherProject authored and ln-zookeeper committed Oct 7, 2018
    Copy the full SHA
    3c1dd4d View commit details
    Browse the repository at this point in the history
  124. EI S13: Rewrite dragon's AI

    Most part of the old AI had no evident effect: the dragon just
    moved here and there without attacking you, and since he flied
    over shallow water, it was impossible to chase him. The micro
    ai makes Khrakhras wander around and attack you when you
    approach his castle.
    
    (cherry-picked from commit 64917b7)
    DisherProject authored and ln-zookeeper committed Oct 7, 2018
    Copy the full SHA
    fdfdb0a View commit details
    Browse the repository at this point in the history
  125. AOI S3: Clear all enemies on victory

    ... for consistency with the previous message stating that
    all orcs are killed by the elves.
    
    (cherry-picked from commit 34f417c)
    DisherProject authored and ln-zookeeper committed Oct 7, 2018
    Copy the full SHA
    6dd55e4 View commit details
    Browse the repository at this point in the history
  126. AOI S2: Prefer "id" to "speaker" in non-[message]'s SUFs

    (cherry-picked from commit 240d235)
    DisherProject authored and ln-zookeeper committed Oct 7, 2018
    Copy the full SHA
    b9f0cd1 View commit details
    Browse the repository at this point in the history
  127. AOI: General AI rewrite

    Removes all the default values and improves the syntax where
    possible
    
    (cherry-picked from commit 9086e17)
    DisherProject authored and ln-zookeeper committed Oct 7, 2018
    Copy the full SHA
    8b627d4 View commit details
    Browse the repository at this point in the history
  128. Protect Unit MAI: remove unused configuration variables

    They cannot be set for the MAI, and they would have to be set through 'cfg' not 'data' anyway.
    
    (cherry-picked from commit 62625fd)
    mattsc committed Oct 7, 2018
    Copy the full SHA
    b47d6e3 View commit details
    Browse the repository at this point in the history
  129. Fix bug in Fix_Xcode_Dependencies

    (cherry-picked from commit 6b5edeb)
    hrubymar10 committed Oct 7, 2018
    Copy the full SHA
    740bd45 View commit details
    Browse the repository at this point in the history
  130. Lua AIs: do not use engine's 'data' variable unless necessary

    Now that all the AIs use external CAs, there is no need to use the persistent 'data' variable any more, unless information is to be exchanged between different CAs or is supposed to be persistent across save/load cycles.
    
    (cherry-picked from commit 3bfd59f)
    mattsc committed Oct 7, 2018
    Copy the full SHA
    ed40649 View commit details
    Browse the repository at this point in the history
  131. Lua AIs: replace tabs with spaces

    (cherry-picked from commit 45a3bf9)
    mattsc committed Oct 7, 2018
    Copy the full SHA
    c52ce11 View commit details
    Browse the repository at this point in the history
  132. Allow ties to be reported as such in the turns_over_advantage calcula…

    …tion (fixes wesnoth#1341)
    
    (cherry-picked from commit 3d481c1)
    joeylmaalouf authored and Pentarctagon committed Oct 7, 2018
    Copy the full SHA
    b96ff34 View commit details
    Browse the repository at this point in the history
  133. NR S13: slight bonus for AI controlled sides:

    - allied AI leaders, whose death causes defeat, use passive_leader=yes
    - increased amount of money which the lich brothers have, if one has not the
    alternative leaders who can recall units
    - also increased Krash's gold to the same amount of as Eryssa has (they are the
    alternative leaders)
    
    [ci skip]
    
    (cherry-picked from commit 79993ea)
    sevu committed Oct 7, 2018
    Copy the full SHA
    8f08790 View commit details
    Browse the repository at this point in the history
  134. NR S12: hide empty sides

    There has been a report that some scenario would be nearly unbeatable if they
    are empty in the first place, so this has the side effect of not showing the
    player that he misses something. (Nevertheless, they should be hidden)
    
    [ci skip]
    
    (cherry-picked from commit 47c3947)
    sevu committed Oct 7, 2018
    Copy the full SHA
    3265026 View commit details
    Browse the repository at this point in the history
  135. NR deaths: use one event for both lich brothers

    They text is the same, whoever of them dies
    
    [ci skip]
    
    (cherry-picked from commit 2e7d901)
    sevu committed Oct 7, 2018
    Copy the full SHA
    a7b8191 View commit details
    Browse the repository at this point in the history
  136. DM S21: use type_adv_tree

    the one usage of type is left deliberately, to point out that it affects 3
    instad of 2 or 4 types.
    
    [ci skip]
    
    (cherry-picked from commit ce05689)
    sevu committed Oct 7, 2018
    Copy the full SHA
    89c633f View commit details
    Browse the repository at this point in the history
  137. recruit_rushers CA: check if castle_switch CA is present

    So that it is possible to use the recruit_rushers CA without the castle_switch CA.
    
    (cherry-picked from commit 0bcb98c)
    mattsc committed Oct 7, 2018
    Copy the full SHA
    aea3a4f View commit details
    Browse the repository at this point in the history
  138. recruit_rushers CA: don't reserve village for passive leader

    (cherry-picked from commit b92d8e8)
    mattsc committed Oct 7, 2018
    Copy the full SHA
    e78237c View commit details
    Browse the repository at this point in the history
  139. Desktop file: start from a shell

    output redirection is only possible when starting from a shell
    
    [ci skip]
    
    (cherry-picked from commit a46c6ed)
    sevu committed Oct 7, 2018
    Copy the full SHA
    d40aa84 View commit details
    Browse the repository at this point in the history
  140. Experimental AI: adjustments to candidate action scores

    The relative ranking of the CA scores is not changed, except for one case when two CAs had the same score.
    
    Reasons:
    - All scores should be lower than the scores of the default Goto CA (200,000) and the default scores of most Micro AIs (300,000).
    - Break tie, resulting in uncertain order of execution, of place_healers and retreat_injured CA. Healers should be placed first, to allow retreating injured units to adjacent hexes.
    - Set default for generic_recruit_engine to slightly above default AI recruiting score. That way it takes effect even if the default CA is not removed.
    - Increase move_to_any_enemy CA score from 1 to 1,000. It is still the lowest score that way, but allows for setting up custom CAs with even lower scores (even if it is just for end-of-turn statistics or the like).
    
    (cherry-picked from commit 35ba820)
    mattsc committed Oct 7, 2018
    Copy the full SHA
    4999b20 View commit details
    Browse the repository at this point in the history
  141. Experimental AI: rename config file

    This stopped being a rush AI long ago.
    
    (cherry-picked from commit ec45b53)
    mattsc committed Oct 7, 2018
    Copy the full SHA
    9e5ec5f View commit details
    Browse the repository at this point in the history
  142. fix crash in ai code when a side has multiple leaders

    see wesnoth#3240
    
    Just fixing the crash, not sure how the code should behave in this case, it would be nice if someone who knows more about the ai code would either implement that todo or remove the second warning. An alternative fix would be to move the 'calculate_moves' inside the ai_leaders loop.
    
    (cherry-picked from commit 18526e4)
    gfgtdf authored and sevu committed Oct 7, 2018
    Copy the full SHA
    98e760d View commit details
    Browse the repository at this point in the history
  143. Appdata: change license identifier

    former one is valid but deprecated
    
    [ci skip]
    
    (cherry-picked from commit d133b51)
    sevu committed Oct 7, 2018
    Copy the full SHA
    56130d1 View commit details
    Browse the repository at this point in the history
  144. Add keywords to the desktop file

    They are as well used in the software centre.
    Having keywords is a bonus, even if they are not matched.
    
    [ci skip]
    
    (cherry-picked from commit 76e7c8d)
    sevu committed Oct 7, 2018
    Copy the full SHA
    b044b28 View commit details
    Browse the repository at this point in the history
  145. Lua AIs: remove commented-out debug code

    (cherry-picked from commit 23f3554)
    mattsc committed Oct 7, 2018
    Copy the full SHA
    7e63932 View commit details
    Browse the repository at this point in the history
  146. remove superfluous space

    [ci skip]
    
    (cherry-picked from commit eabf6e2)
    sevu committed Oct 7, 2018
    Copy the full SHA
    a2b4ce4 View commit details
    Browse the repository at this point in the history
  147. forwardport changelog entries

    [ci skip]
    
    (cherry-picked from commit d3d2dec)
    sevu committed Oct 7, 2018
    Copy the full SHA
    ad59468 View commit details
    Browse the repository at this point in the history
  148. Lua AIs: use ai_helper.robust_move_and_attack()

    ai_helper.robust_move_and_attack() does the stop_unit_moves automatically if the unit is at the destination hex.
    
    (cherry-picked from commit fdc3249)
    mattsc committed Oct 7, 2018
    Copy the full SHA
    fc6d71b View commit details
    Browse the repository at this point in the history
  149. gui2/unit_create: Use unit type ids as filtering criteria as well

    (cherry-picked from commit 444d6d6)
    irydacea committed Oct 7, 2018
    Copy the full SHA
    fa7ccab View commit details
    Browse the repository at this point in the history
  150. add textdomains to appdata file:

    One must compile wesnoth with -DLOCALEDIR=/usr/share/locale, as that's the place
    where the system looks for translations.
    (One can test it with gettext -s -d wesnoth "poisoned")
    
    This is according to the docs, needs more testing if it works.
    Doesn't work with Arch, though Arch doesn't support software centres well.
    
    [ci skip]
    
    (cherry-picked from commit 60f2158)
    sevu committed Oct 7, 2018
    Copy the full SHA
    a89780f View commit details
    Browse the repository at this point in the history
  151. fix syntax error in Chinese manual

    In Markup, only the normal quotes are allowed.
    
    [ci skip]
    
    (cherry-picked from commit b9396cd)
    sevu committed Oct 7, 2018
    Copy the full SHA
    f09160a View commit details
    Browse the repository at this point in the history
  152. ai_helper: get_unit functions should only return live units

    Live beiing defined as in get_live_units(), that is, non-petrified units
    
    (cherry-picked from commit a7d8024)
    mattsc committed Oct 7, 2018
    Copy the full SHA
    44ceaa1 View commit details
    Browse the repository at this point in the history
  153. Lua AIs: use ai_helper get_unit functions where applicable

    The ai_helper functions are optimized for speed (as much as possible in a general setting) and do all the necessary tests.  For example, get_units_with_attacks() checks both whether the unit has attacks left, and whether it has any attacks in the first place.
    
    (cherry-picked from commit 7584354)
    mattsc committed Oct 7, 2018
    Copy the full SHA
    46efcf1 View commit details
    Browse the repository at this point in the history
  154. fix wesnoth#3515 : random start time

    (cherry-picked from commit 8ed6014)
    gfgtdf authored and jyrkive committed Oct 7, 2018
    Copy the full SHA
    647cdea View commit details
    Browse the repository at this point in the history
  155. Fix build

    Regression from commit ca6e7ae.
    
    (cherry-picked from commit 9f43c4a)
    jyrkive committed Oct 7, 2018
    Copy the full SHA
    d8b26a9 View commit details
    Browse the repository at this point in the history
  156. [animate_unit]: clear the animation after playing it

    This avoids a reference to the unit from being leaked, which prevented the
    unit's halo (if any) from disappearing when the unit died.
    
    Fixes wesnoth#3509. Closes wesnoth#3520.
    
    (cherry-picked from commit e63bd35)
    jyrkive committed Oct 7, 2018
    Copy the full SHA
    ee3e842 View commit details
    Browse the repository at this point in the history
  157. [heal_unit]: clear the animation after playing it (wesnoth#3526)

    Fixes another case of unit halo remaining after death.
    
    (cherry-picked from commit 3541629)
    newfrenchy83 authored and jyrkive committed Oct 7, 2018
    Copy the full SHA
    98bec00 View commit details
    Browse the repository at this point in the history
  158. ai_helper: new function get_locations_no_borders()

    (cherry-picked from commit 10463fd)
    mattsc committed Oct 7, 2018
    Copy the full SHA
    319c98d View commit details
    Browse the repository at this point in the history
  159. Lua AIs: use ai_helper.get_locations_no_borders()

    (cherry-picked from commit dcadab9)
    mattsc committed Oct 7, 2018
    Copy the full SHA
    56934ad View commit details
    Browse the repository at this point in the history
  160. generic_recruit_engine: remove unnecessary variable assignment

    (cherry-picked from commit a781139)
    mattsc committed Oct 7, 2018
    Copy the full SHA
    c5e4149 View commit details
    Browse the repository at this point in the history
  161. EI custom ogre AI: remove a commented out line

    (cherry-picked from commit 2591e43)
    mattsc committed Oct 7, 2018
    Copy the full SHA
    b8f1604 View commit details
    Browse the repository at this point in the history
  162. Fixes wesnoth#3518

    Certain distro/compiler combinations will apparently warn about not optimizing when _FORTIFY_SOURCE is set.
    
    (cherry-picked from commit 09fcc6b)
    Pentarctagon committed Oct 7, 2018
    Copy the full SHA
    6714ef3 View commit details
    Browse the repository at this point in the history
  163. Fix unit tests in Xcode

    (cherry-picked from commit 1af805e)
    hrubymar10 committed Oct 7, 2018
    Copy the full SHA
    49f6ef4 View commit details
    Browse the repository at this point in the history
  164. Bugfix generate random map unique names

    The used names was never set so the check for duplicated names did not
    work. Detected by cppcheck.
    
    (cherry-picked from commit cc98bcd)
    rikardfalkeborn authored and jyrkive committed Oct 7, 2018
    Copy the full SHA
    b71bb46 View commit details
    Browse the repository at this point in the history
  165. Move wmlxgettext to the data/tools directory so that it's automatical…

    …ly included in official packages
    
    (cherry-picked from commit 59e78e5)
    CelticMinstrel committed Oct 7, 2018
    Copy the full SHA
    42c48d1 View commit details
    Browse the repository at this point in the history
  166. Allow lists in SLF location_id key (closes wesnoth#3493)

    (cherry-picked from commit 354f24e)
    CelticMinstrel committed Oct 7, 2018
    Copy the full SHA
    1606fdd View commit details
    Browse the repository at this point in the history
  167. Sync 1.14.4+dev changelog section

    [ci skip]
    
    (cherry-picked from commit 6eba0cb)
    Vultraz committed Oct 7, 2018
    Copy the full SHA
    489e958 View commit details
    Browse the repository at this point in the history
  168. Lua API: implicitly clear animator after playing it (wesnoth#3536)

    This prevents the animator from holding a strong reference to the target unit, which was keeping the unit object alive and thus preventing the unit halo, if any, from disappearing.
    
    (cherry-picked from commit 7d6e2b2)
    newfrenchy83 authored and jyrkive committed Oct 7, 2018
    Copy the full SHA
    c1a7006 View commit details
    Browse the repository at this point in the history
  169. MP Tombs of Kesorak: adjust comment, avoid darkening overlay

    A better image is needed, I remove the darkening overlay, because it would be
    missleading when a Mage of Light affects this field.
    
    [ci skip]
    
    (cherry-picked from commit 0ef3c0d)
    sevu committed Oct 7, 2018
    Copy the full SHA
    5aaccf2 View commit details
    Browse the repository at this point in the history
  170. core macros: don't clear nonexistant variable

    A leftover from the switch from {FOREACH} to [foreach]
    
    [ci skip]
    
    (cherry-picked from commit 001b444)
    sevu committed Oct 7, 2018
    Copy the full SHA
    5ad3216 View commit details
    Browse the repository at this point in the history
  171. ANL: remove superfluous temp variables

    The other variables in that event are not needed either, left them in for
    readability for the time being.
    
    [ci skip]
    
    (cherry-picked from commit 7a29fc1)
    sevu committed Oct 7, 2018
    Copy the full SHA
    4d15d7e View commit details
    Browse the repository at this point in the history
  172. TSG S5: fix typo in comment

    [ci skip]
    
    (cherry-picked from commit f358bed)
    sevu committed Oct 7, 2018
    Copy the full SHA
    b881c0e View commit details
    Browse the repository at this point in the history
  173. Core Macro Reference: Fix hint

    [ci skip]
    
    (cherry-picked from commit 00e41b9)
    sevu committed Oct 7, 2018
    Copy the full SHA
    c48735c View commit details
    Browse the repository at this point in the history
  174. fix wesnoth#3396 lua_function= doesn't work in [effect][filter]

    unfortunately this adds an annoying const_cast. The old code 'worked around'
    this by getting a nonconst reference to the same unit via the unit map,
    which i think is not better just hides the issue.
    
    (cherry-picked from commit 08b7d1b)
    gfgtdf committed Oct 7, 2018
    Copy the full SHA
    21e6b39 View commit details
    Browse the repository at this point in the history
  175. add game_config.combat experience

    and make [harm_unit] use these values instead of hardcoded 8*level for
    killing and level for combat.
    
    (cherry-picked from commit 3591e82)
    gfgtdf committed Oct 7, 2018
    Copy the full SHA
    bc89512 View commit details
    Browse the repository at this point in the history
  176. fix 3541 : crash in lua tstring comparision

    (cherry-picked from commit 69cdbe8)
    gfgtdf committed Oct 7, 2018
    Copy the full SHA
    9d6613a View commit details
    Browse the repository at this point in the history
  177. HttT S6: Allow canceling attack orders.

    (cherry-picked from commit e50b6fa)
    jostephd authored and sevu committed Oct 7, 2018
    Copy the full SHA
    b46fedc View commit details
    Browse the repository at this point in the history
  178. HttT S6: Trigger the additional undead as soon as the player touches …

    …the cave entry.
    
    Seen in :debug with a Nightgaunt. Not sure if it can happen in normal play.
    
    (cherry-picked from commit 9509eec)
    jostephd authored and sevu committed Oct 7, 2018
    Copy the full SHA
    8e37c39 View commit details
    Browse the repository at this point in the history
  179. HttT S6: Support unlikely player behavior.

    Trigger the undead reinforcements even if the player skips the main cave entrance.
    
    (cherry-picked from commit 95b3ccd)
    jostephd authored and sevu committed Oct 7, 2018
    Copy the full SHA
    f1e1a99 View commit details
    Browse the repository at this point in the history
  180. Prevent C++ exception from escaping from is_user_banned()

    (cherry-picked from commit 0b95653)
    loonycyborg committed Oct 7, 2018
    Copy the full SHA
    969fb71 View commit details
    Browse the repository at this point in the history
  181. fix wesnoth#3532 : oos error in mp campaigns.

    previously it would cause oos when a player that has not yet advanced to
    the currrent scenario sends random seed requests.
    
    (cherry-picked from commit d0c0f40)
    gfgtdf committed Oct 7, 2018
    Copy the full SHA
    74d5c42 View commit details
    Browse the repository at this point in the history
  182. Changelog entries for changes I committed

    (cherry-picked from commit 6234faa)
    jyrkive committed Oct 7, 2018
    Copy the full SHA
    cfb8a63 View commit details
    Browse the repository at this point in the history
  183. HttT S17: Explain the lava mechanic

    Gameplay is not affected. The player can still lose units to {EXPAND_LAVA}.
    
    (cherry picked from commit a3be912)
    
    (cherry-picked from commit de9541f)
    jostephd authored and Wedge009 committed Oct 7, 2018
    Copy the full SHA
    2a21549 View commit details
    Browse the repository at this point in the history
  184. HttT S17: Add po comment

    (cherry picked from commit b7c431e)
    
    (cherry-picked from commit f1d20c1)
    jostephd authored and Wedge009 committed Oct 7, 2018
    Copy the full SHA
    1bbd40b View commit details
    Browse the repository at this point in the history
  185. units: Add a po comment in Elvish High Lord.

    (cherry picked from commit 1f0c466)
    
    (cherry-picked from commit 9072934)
    jostephd authored and Wedge009 committed Oct 7, 2018
    Copy the full SHA
    13b0036 View commit details
    Browse the repository at this point in the history
  186. HttT S17: Fix "naught" and explain why only high-level mages.

    (cherry picked from commit 7ed9f2d)
    
    (cherry-picked from commit fff4781)
    jostephd authored and Wedge009 committed Oct 7, 2018
    Copy the full SHA
    0835142 View commit details
    Browse the repository at this point in the history
  187. fixup

    (cherry picked from commit 62eb450)
    
    (cherry-picked from commit 2c9aeec)
    jostephd authored and Wedge009 committed Oct 7, 2018
    Copy the full SHA
    983972d View commit details
    Browse the repository at this point in the history
  188. HttT S17: Explain why Mages of Light aren't considered by the filter.

    (cherry picked from commit 4c2f4f7)
    
    (cherry-picked from commit 0a0920f)
    jostephd authored and Wedge009 committed Oct 7, 2018
    Copy the full SHA
    d456fe0 View commit details
    Browse the repository at this point in the history
  189. https://github.com/wesnoth/wesnoth/pull/3473#discussion_r211090169

    (cherry picked from commit bc52143)
    
    (cherry-picked from commit c97fe98)
    jostephd authored and Wedge009 committed Oct 7, 2018
    Copy the full SHA
    1e4c51f View commit details
    Browse the repository at this point in the history
  190. HttT S17: Change again due to an ambiguity.

    (cherry picked from commit 18e886d)
    
    (cherry-picked from commit 25791d6)
    jostephd authored and Wedge009 committed Oct 7, 2018
    Copy the full SHA
    d10c833 View commit details
    Browse the repository at this point in the history
  191. HttT S17: Add a po comments

    (cherry picked from commit edcccc5)
    
    (cherry-picked from commit 960a8fc)
    jostephd authored and Wedge009 committed Oct 7, 2018
    Copy the full SHA
    cebe98c View commit details
    Browse the repository at this point in the history
  192. HttT S17: Correct pronoun.

    (cherry picked from commit 96387a5)
    
    (cherry-picked from commit 0e9e3b3)
    jostephd authored and Wedge009 committed Oct 7, 2018
    Copy the full SHA
    7780801 View commit details
    Browse the repository at this point in the history
  193. HttT S17: Further tweak dwarf's dialog.

    (cherry picked from commit 3e3bd32)
    
    (cherry-picked from commit 865dcbf)
    jostephd authored and Wedge009 committed Oct 7, 2018
    Copy the full SHA
    5787a8e View commit details
    Browse the repository at this point in the history
  194. HttT S17: Further updates to dialog

    - Improve Konrad's line
    - Use variant portraits for Konrad and Li'sar
    - Update the mage's dialog to match the dwarf's
    
    (cherry picked from commit f7d8d0d)
    
    (cherry-picked from commit 15acd75)
    jostephd authored and Wedge009 committed Oct 7, 2018
    Copy the full SHA
    657100f View commit details
    Browse the repository at this point in the history
  195. HttT S17: Add comic relief.

    (cherry picked from commit f3407fd)
    
    (cherry-picked from commit 7b2289f)
    jostephd authored and Wedge009 committed Oct 7, 2018
    Copy the full SHA
    1001e45 View commit details
    Browse the repository at this point in the history
  196. HttT S17: Make Li'sar's dialog unconditional.

    (cherry picked from commit 6ea39b3)
    
    (cherry-picked from commit c006072)
    jostephd authored and Wedge009 committed Oct 7, 2018
    Copy the full SHA
    d209d6e View commit details
    Browse the repository at this point in the history
  197. HttT S17: Show the 'Comic relief' comment to translators, too.

    (cherry picked from commit 31d333c)
    
    (cherry-picked from commit 046b141)
    jostephd authored and Wedge009 committed Oct 7, 2018
    Copy the full SHA
    b69baf5 View commit details
    Browse the repository at this point in the history
  198. Update changelog

    (cherry-picked from commit 100565c)
    CelticMinstrel committed Oct 7, 2018
    Copy the full SHA
    317ef28 View commit details
    Browse the repository at this point in the history
  199. gui2: indicate that unit cannot advance

    (cherry-picked from commit 7cf478e)
    hryniuk authored and jyrkive committed Oct 7, 2018
    Copy the full SHA
    1c57944 View commit details
    Browse the repository at this point in the history
  200. Copy the full SHA
    1f17703 View commit details
    Browse the repository at this point in the history
  201. Menu: campaign order tweaks

    (cherry-picked from commit 243a542)
    joeylmaalouf authored and Pentarctagon committed Oct 7, 2018
    Copy the full SHA
    23df7b2 View commit details
    Browse the repository at this point in the history
  202. WML [message]: Add left padding when the portrait is shown on the right.

    The text is now shown at exactly the same place regardless of which side
    the portrait is on.
    
    Fixes wesnoth#1938.
    
    (cherry-picked from commit fc9e5f0)
    jostephd authored and GregoryLundberg committed Oct 7, 2018
    Copy the full SHA
    b7964a1 View commit details
    Browse the repository at this point in the history
  203. WML [message]: Limit the text width for messages with portraits on bo…

    …th sides as already done for messages with one portrait.
    
    (cherry-picked from commit 3809b64)
    jostephd authored and GregoryLundberg committed Oct 7, 2018
    Copy the full SHA
    6cc6fe8 View commit details
    Browse the repository at this point in the history
  204. Micro AI Demos: save maps in new format

    [ci skip]
    
    (cherry-picked from commit c5d3539)
    sevu committed Oct 7, 2018
    Copy the full SHA
    ccaa9b7 View commit details
    Browse the repository at this point in the history
  205. Micro AI Demos: use Cme instead of Chw for lurkers map

    [ci skip]
    
    (cherry-picked from commit c5cabd9)
    sevu committed Oct 7, 2018
    Copy the full SHA
    a10888c View commit details
    Browse the repository at this point in the history
  206. SoF S2t,S3t,S4t - Move scenery items to map file

    The braziers will also be animated, while they were still
    images before
    
    (cherry-picked from commit effb865)
    DisherProject authored and sevu committed Oct 7, 2018
    Copy the full SHA
    1018585 View commit details
    Browse the repository at this point in the history
  207. SoF: General cleanup

    1) Clear variables and macros
    2) Remove default AI values
    3) S7: Remove the ghost ship
    
    (cherry-picked from commit 9e8fb2d)
    DisherProject authored and sevu committed Oct 7, 2018
    Copy the full SHA
    0844dfb View commit details
    Browse the repository at this point in the history
  208. SoF S1: Remove Caravans' upkeep cost

    In exchange, the player will have 2 starting villages
    less than before
    
    (cherry-picked from commit 76f081a)
    DisherProject authored and sevu committed Oct 7, 2018
    Copy the full SHA
    2017657 View commit details
    Browse the repository at this point in the history
  209. SoF S2: Place glyphs during prestart

    So we can see them while our ally is talking about them
    
    (cherry-picked from commit 29cec1a)
    DisherProject authored and sevu committed Oct 7, 2018
    Copy the full SHA
    0f073b2 View commit details
    Browse the repository at this point in the history
  210. SoF S4: Add the tunnel the dwarves came from to reach the mines

    (cherry-picked from commit 49d12cf)
    DisherProject authored and sevu committed Oct 7, 2018
    Copy the full SHA
    95b3b95 View commit details
    Browse the repository at this point in the history
  211. SoF S5: Place the elvish encampment when the leader arrives

    So remove his starting castle from the map; otherwise the user
    would see an empty keep and would know where the enemy is
    going to spawn
    
    (cherry-picked from commit 5dc6b79)
    DisherProject authored and sevu committed Oct 7, 2018
    Copy the full SHA
    b14cbfb View commit details
    Browse the repository at this point in the history
  212. SoF S6: Set correct speaker for [message]

    Alanin addresses Rugnur, and not Thursagan
    
    (cherry-picked from commit 20cd563)
    DisherProject authored and sevu committed Oct 7, 2018
    Copy the full SHA
    9ab08eb View commit details
    Browse the repository at this point in the history
  213. SoF S7: Don't let the player kill all of the enemies

    (cherry-picked from commit 5013a9f)
    DisherProject authored and sevu committed Oct 7, 2018
    Copy the full SHA
    b90d6aa View commit details
    Browse the repository at this point in the history
  214. SoF S9: Fix some events and add TODOs

    (cherry-picked from commit bc4a5e8)
    DisherProject authored and sevu committed Oct 7, 2018
    Copy the full SHA
    8d8a46e View commit details
    Browse the repository at this point in the history
  215. SoF: Postpone Gryphon Riders availability

    (cherry-picked from commit 67f4971)
    DisherProject authored and sevu committed Oct 7, 2018
    Copy the full SHA
    6814f85 View commit details
    Browse the repository at this point in the history
  216. SoF: add [show_if] to the objectives

    (cherry-picked from commit 648035f)
    DisherProject authored and sevu committed Oct 7, 2018
    Copy the full SHA
    c28b241 View commit details
    Browse the repository at this point in the history
  217. updated Czech translation

    (cherry-picked from commit 918a812)
    ivanovic committed Oct 7, 2018
    Copy the full SHA
    ab1db38 View commit details
    Browse the repository at this point in the history
  218. updated British English translation

    (cherry-picked from commit eadbb1e)
    ivanovic committed Oct 7, 2018
    Copy the full SHA
    3f44f76 View commit details
    Browse the repository at this point in the history
  219. updated French translation

    (cherry-picked from commit 235a54a)
    ivanovic committed Oct 7, 2018
    Copy the full SHA
    2ccd30b View commit details
    Browse the repository at this point in the history
  220. updated Scottish Gaelic translation

    (cherry-picked from commit 7ac4029)
    ivanovic committed Oct 7, 2018
    Copy the full SHA
    f6390ac View commit details
    Browse the repository at this point in the history
  221. updated Japanese translation

    (cherry-picked from commit 389cd9a)
    ivanovic committed Oct 7, 2018
    Copy the full SHA
    a98e7af View commit details
    Browse the repository at this point in the history
  222. Reevaluate [show_if] conditions and delayed variable expansions befor…

    …e displaying objectives at start.
    
    Fixes wesnoth#3544.
    
    (cherry-picked from commit d99f5b8)
    jostephd committed Oct 7, 2018
    Copy the full SHA
    4b29bd7 View commit details
    Browse the repository at this point in the history
  223. Add const annotation to new function

    (cherry-picked from commit 9f58a80)
    jostephd committed Oct 7, 2018
    Copy the full SHA
    19479d7 View commit details
    Browse the repository at this point in the history
  224. ANL: fix village gold being too low

    [ci skip]
    
    (cherry-picked from commit 09f418b)
    sevu committed Oct 7, 2018
    Copy the full SHA
    f6f7572 View commit details
    Browse the repository at this point in the history
  225. updated Hungarian translation

    (cherry-picked from commit c1ffe4c)
    ivanovic committed Oct 7, 2018
    Copy the full SHA
    3d556e0 View commit details
    Browse the repository at this point in the history
  226. Synchronized changelog with 1.14

    [ci skip]
    
    (cherry-picked from commit 57709d4)
    jyrkive committed Oct 7, 2018
    Copy the full SHA
    13f2adf View commit details
    Browse the repository at this point in the history
  227. Tutorial S1: display an undo message if impossible to reach next target

    Fixes wesnoth#3039
    
    Until the elves attack the quintain it is not allowed to end turns
    before completing the given tasks. Display a message how to undo if
    there is not enough MP remaining to reach the current destination or
    an enemy by either unit.
    
    [ci skip]
    
    (cherry-picked from commit b16b7f0)
    aszell authored and sevu committed Oct 7, 2018
    Copy the full SHA
    c4f8f75 View commit details
    Browse the repository at this point in the history
  228. THoT: add potential workaround for wesnoth#3547

    It's anyway a good idea to change this code.
    
    [ci skip]
    
    (cherry-picked from commit 5611181)
    sevu committed Oct 7, 2018
    Copy the full SHA
    7b36ccc View commit details
    Browse the repository at this point in the history
  229. fixup

    [ci skip]
    
    (cherry-picked from commit e5b4fcd)
    sevu committed Oct 7, 2018
    Copy the full SHA
    4c6de59 View commit details
    Browse the repository at this point in the history
  230. THoT: replace [filter_wml]

    [ci skip]
    
    (cherry-picked from commit b8d8be3)
    sevu committed Oct 7, 2018
    Copy the full SHA
    72e3e49 View commit details
    Browse the repository at this point in the history
  231. Fix changelog indentation

    [ci skip]
    
    (cherry-picked from commit a38466d)
    irydacea committed Oct 7, 2018
    Copy the full SHA
    daf40f6 View commit details
    Browse the repository at this point in the history
  232. Multiple fixes to the changelog to make it look good on Steam

    [ci skip]
    
    (cherry-picked from commit 7bb419a)
    irydacea committed Oct 7, 2018
    Copy the full SHA
    c3446eb View commit details
    Browse the repository at this point in the history
  233. pofix: 1.14 announcement rules for 1.14.5

    [ci skip]
    
    (cherry-picked from commit 2ea2a4d)
    irydacea committed Oct 7, 2018
    Copy the full SHA
    7e4d12e View commit details
    Browse the repository at this point in the history
  234. prevent double execution of on_event.lua

    makes it safe to dofile("on_event.lua")
    
    (cherry-picked from commit 6010ffe)
    V N authored and gfgtdf committed Oct 7, 2018
    Copy the full SHA
    20177db View commit details
    Browse the repository at this point in the history
  235. updated Italian translation

    (cherry-picked from commit 9acb156)
    ivanovic committed Oct 7, 2018
    Copy the full SHA
    ea3ba4a View commit details
    Browse the repository at this point in the history
  236. updated Spanish translation

    (cherry-picked from commit 639c508)
    ivanovic committed Oct 7, 2018
    Copy the full SHA
    2053901 View commit details
    Browse the repository at this point in the history
  237. Commandline: Add --campaign-skip-story option

    Fixes wesnoth#3472
    
    (cherry-picked from commit f7be872)
    jostephd authored and loonycyborg committed Oct 7, 2018
    Copy the full SHA
    d443df9 View commit details
    Browse the repository at this point in the history
  238. Commandline: Encapsulate skip_story in play_controller

    (cherry-picked from commit 1d1d260)
    jostephd authored and loonycyborg committed Oct 7, 2018
    Copy the full SHA
    a8bded6 View commit details
    Browse the repository at this point in the history
  239. Commandline: --campaign-skip-story skips [message]s during prestart a…

    …nd start events
    
    (cherry-picked from commit b64f4b4)
    jostephd authored and loonycyborg committed Oct 7, 2018
    Copy the full SHA
    d5238ac View commit details
    Browse the repository at this point in the history
  240. WML: Support [filter_side] in [item]. (wesnoth#3533)

    * WML: Support [filter_side] in [item].
    
    If [filter_side] is present then "team_name" is ignored.
    
    Fixes wesnoth#1477.
    
    * WML: Compare [item]team_name to [side]team_name using intersection.
    
    Fixes problems with substrings and when one or the other is a
    comma-separated list. See wesnoth#3533
    
    * WML: Rename [item][filter_side] to [item][filter_team]
    
    * Add changelog entry
    
    (cherry-picked from commit 3a3b752)
    jostephd authored and CelticMinstrel committed Oct 7, 2018
    Copy the full SHA
    e766cdc View commit details
    Browse the repository at this point in the history
  241. Fix wesnoth#3567: error when trying to send an error message to the c…

    …lient
    
    Simple_wml requires double quotes to be duplicated like this.
    
    (cherry-picked from commit 9536f38)
    jyrkive committed Oct 7, 2018
    Copy the full SHA
    f55e11e View commit details
    Browse the repository at this point in the history
  242. Fix: Chance to hit wasn't protected from becoming negative

    Manual merge of pull request wesnoth#3550. Credit to @newfrenchy83.
    
    (cherry-picked from commit 79206d9)
    jyrkive committed Oct 7, 2018
    Copy the full SHA
    d8869b8 View commit details
    Browse the repository at this point in the history
  243. MP Create Game: Increase slider step size

    Requested on the forums https://forums.wesnoth.org/viewtopic.php?t=48680
    
    (cherry-picked from commit 9abdc20)
    jostephd authored and jyrkive committed Oct 7, 2018
    Copy the full SHA
    9514298 View commit details
    Browse the repository at this point in the history
  244. Unit Display: When the recruiting or recruited units is invisible, do…

    …n't scroll to it.
    
    When the enemy leader and the unit it recruits are both invisible,
    scrolling to them would leak their location to the player.
    
    (cherry-picked from commit 4db9744)
    jostephd authored and jyrkive committed Oct 7, 2018
    Copy the full SHA
    50c85f4 View commit details
    Browse the repository at this point in the history
  245. Update Code::Blocks project (wesnoth#3566)

    (cherry-picked from commit e395706)
    newfrenchy83 authored and jyrkive committed Oct 7, 2018
    Copy the full SHA
    8086df2 View commit details
    Browse the repository at this point in the history
  246. Help: Hide abilities with empty names.

    Fixes empty name abilities in help in Liberty S1.
    
    (cherry-picked from commit c88a799)
    jostephd authored and Vultraz committed Oct 7, 2018
    Copy the full SHA
    c54f4e6 View commit details
    Browse the repository at this point in the history
  247. Commandline: Fix documentation of --render-image

    (cherry-picked from commit c55b0c6)
    jostephd authored and Vultraz committed Oct 7, 2018
    Copy the full SHA
    9f45e8e View commit details
    Browse the repository at this point in the history
  248. manpage: Fix option name typos and update documentation of --render-i…

    …mage.
    
    (cherry-picked from commit ae4ef05)
    jostephd authored and Vultraz committed Oct 7, 2018
    Copy the full SHA
    97d1fcd View commit details
    Browse the repository at this point in the history
  249. Update Code::Blocks project (wesnoth#3585)

    (cherry-picked from commit 248af05)
    newfrenchy83 authored and jyrkive committed Oct 7, 2018
    Copy the full SHA
    da95fed View commit details
    Browse the repository at this point in the history
  250. DM S08: Cleanup & improve ending sequence, fixing wesnoth#3575

    Removes final black screen that could be mistaken for a bug.
    Shows Delfador disappearing in front of the orcs more clearly.
    
    [ci skip]
    
    (cherry-picked from commit 75ab69d)
    sigurdfdragon committed Oct 7, 2018
    Copy the full SHA
    196764f View commit details
    Browse the repository at this point in the history