[wesnoth-commits] [wesnoth/wesnoth] af629b: Remove scaling by zoom_factor in unit height adjus...

Wedge009 noreply at github.com
Sat Sep 25 23:42:21 UTC 2021


  Branch: refs/heads/1.16
  Home:   https://github.com/wesnoth/wesnoth
  Commit: af629b7131f67a2a05a05b6b39e3b67a8c0e18c6
      https://github.com/wesnoth/wesnoth/commit/af629b7131f67a2a05a05b6b39e3b67a8c0e18c6
  Author: Wedge009 <wedge009 at wedge009.net>
  Date:   2021-09-26 (Sun, 26 Sep 2021)

  Changed paths:
    M src/units/drawer.cpp

  Log Message:
  -----------
  Remove scaling by zoom_factor in unit height adjustment calculation (resolves #5974).

It appears double zoom_factor scaling results in units being drawn way off their actual hex at high zoom, for tiles with a large (~20 pixels) unit height offset parameter.


  Commit: c6b974902641f9f8e122eb345f7b934788e15453
      https://github.com/wesnoth/wesnoth/commit/c6b974902641f9f8e122eb345f7b934788e15453
  Author: Wedge009 <wedge009 at wedge009.net>
  Date:   2021-09-26 (Sun, 26 Sep 2021)

  Changed paths:
    M src/gui/dialogs/game_load.cpp

  Log Message:
  -----------
  Display Difficulty as em dash when it is not valid (resolves #5321)

Also shows campaign-specific difficulty for MP games.

* Test scenario: No difficulty -> —
* Pre-1.15 Tutorial: No difficulty -> —
* SP Campaigns: Custom difficulty -> no change
* MP Campaigns: Plain difficulty -> Custom difficulty
* MP Scenario: No difficulty -> —

Save Game                Before              After
---------                ------              -----
Test scenario            Medium              —
Tutorial (1.14 Tutorial) Medium              —
Tutorial (1.17 Campaign) Tutorial (Beginner) Tutorial (Beginner)

MP single scenario       Medium              —

SP campaign (HttT)       Commander (Normal)  Commander (Normal)
MP campaign (HttT)       Medium              Commander (Normal)
SP campaign (LoW)        Lord (Challenging)  Lord (Challenging)
MP campaign (LoW)        Medium              Lord (Challenging)

Using — follows precedent in MP Staging, plus has the benefit of not breaking the string freeze in lead-up to 1.16 release.


  Commit: faa451d75ee024e048078884fdc80475e2daae7c
      https://github.com/wesnoth/wesnoth/commit/faa451d75ee024e048078884fdc80475e2daae7c
  Author: Wedge009 <wedge009 at wedge009.net>
  Date:   2021-09-26 (Sun, 26 Sep 2021)

  Changed paths:
    M changelog.md

  Log Message:
  -----------
  Update change log.

[ci skip]


Compare: https://github.com/wesnoth/wesnoth/compare/a8d6f65c7a2f...faa451d75ee0



More information about the Commits mailing list