[wesnoth-commits] [wesnoth/wesnoth] 6f6d08: Fix for moves and attacks

Celtic Minstrel noreply at github.com
Thu Mar 10 01:55:13 UTC 2022


  Branch: refs/heads/lua_mouse_action
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 6f6d08252a953add86b41c0b9f44aefaefa197c4
      https://github.com/wesnoth/wesnoth/commit/6f6d08252a953add86b41c0b9f44aefaefa197c4
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2022-03-09 (Wed, 09 Mar 2022)

  Changed paths:
    M src/mouse_events.cpp

  Log Message:
  -----------
  Fix for moves and attacks

The previous implementation worked only for simple click events (for example to select a unit); this also preserves all the info required for move and attack actions.


  Commit: 45130af6ed409ddd161b0b48d81e3a2edefa9048
      https://github.com/wesnoth/wesnoth/commit/45130af6ed409ddd161b0b48d81e3a2edefa9048
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2022-03-09 (Wed, 09 Mar 2022)

  Changed paths:
    M data/scenario-test.cfg

  Log Message:
  -----------
  A more representative test case

This slightly more complex test case bears a greater resemblance to actual expected use-cases of the API


Compare: https://github.com/wesnoth/wesnoth/compare/5677789fcb93...45130af6ed40



More information about the Commits mailing list