[wesnoth-commits] [wesnoth/wesnoth] a00354: Try to fix the issues with wesnoth.game_events.on_...

Celtic Minstrel noreply at github.com
Tue Feb 22 01:37:04 UTC 2022


  Branch: refs/heads/lua_mouse_action
  Home:   https://github.com/wesnoth/wesnoth
  Commit: a00354e5dc5c56e82f4e2b8941bebaf2a6057cdd
      https://github.com/wesnoth/wesnoth/commit/a00354e5dc5c56e82f4e2b8941bebaf2a6057cdd
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2022-02-21 (Mon, 21 Feb 2022)

  Changed paths:
    M src/mouse_events.cpp
    M src/scripting/game_lua_kernel.cpp
    M src/scripting/game_lua_kernel.hpp

  Log Message:
  -----------
  Try to fix the issues with wesnoth.game_events.on_mouse_action

- Save the clicked hex to ensure the action definitely applies on the same hex that was clicked
- on_mouse_action can now return true to cancel the default click behaviour


  Commit: b2a3fe8c857e41a64a82e09e742a5300a7b48fd6
      https://github.com/wesnoth/wesnoth/commit/b2a3fe8c857e41a64a82e09e742a5300a7b48fd6
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2022-02-21 (Mon, 21 Feb 2022)

  Changed paths:
    M changelog.md

  Log Message:
  -----------
  Changelog entry


Compare: https://github.com/wesnoth/wesnoth/compare/b915d7e261ca...b2a3fe8c857e



More information about the Commits mailing list