[wesnoth-commits] [wesnoth/wesnoth] 4025eb: Display: Don't move the center of the viewport whe...

jostephd noreply at github.com
Tue Oct 15 01:23:57 UTC 2019


  Branch: refs/heads/1.14
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 4025eb5dd4fefbb4ee63021fe0aef28e5328ed36
      https://github.com/wesnoth/wesnoth/commit/4025eb5dd4fefbb4ee63021fe0aef28e5328ed36
  Author: josteph <josteph at fastmail.com>
  Date:   2019-10-15 (Tue, 15 Oct 2019)

  Changed paths:
    M src/display.cpp
    M src/display.hpp
    M src/map/map.hpp

  Log Message:
  -----------
  Display: Don't move the center of the viewport when zooming in when the map is narrower/shorter than the viewport

In the test scenario, toggling between 50%/100% zoom on 1920x1080 will
now correctly switch between "Show the entire map" (50%) and "Show just
the center of the map" (100%).

Fixes #1951

(cherry picked from commit f9fc82d9b90421bd4dcf371162914e437a2abc3e)


  Commit: 7e4a8b2d1d4f3ad2fcf4514f765bda370e39f093
      https://github.com/wesnoth/wesnoth/commit/7e4a8b2d1d4f3ad2fcf4514f765bda370e39f093
  Author: josteph <josteph at fastmail.com>
  Date:   2019-10-15 (Tue, 15 Oct 2019)

  Changed paths:
    M src/wesnoth.cpp

  Log Message:
  -----------
  options: Parse --log-*=* first

Needed if parsing any other command line flags logs any warnings, as
8e1024100ddaac6559725216445c438d2f840980 does

(cherry picked from commit af18da97e8fc207ae7c6fcba33cf2c8e838e135f)


  Commit: 94698fb4eb4083d4ef6e68b4cbf742102ec3b2b7
      https://github.com/wesnoth/wesnoth/commit/94698fb4eb4083d4ef6e68b4cbf742102ec3b2b7
  Author: josteph <josteph at fastmail.com>
  Date:   2019-10-15 (Tue, 15 Oct 2019)

  Changed paths:
    M src/deprecation.cpp

  Log Message:
  -----------
  deprecation: Log DEP_LEVEL::FOR_REMOVAL and DEP_LEVEL::REMOVED by default

(cherry picked from commit 1098c3dc81e7e34e3b2cd87665b48ab7c07a3e25)


Compare: https://github.com/wesnoth/wesnoth/compare/104bfed8b5f1...94698fb4eb40



More information about the Commits mailing list