[Commits] [wesnoth/wesnoth] 974f09: rename context_mutated -> undo_disabled

GitHub noreply at github.com
Tue Jul 25 19:19:07 UTC 2017


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 974f09178c046ee61929d8ad431ed755578efbae
      https://github.com/wesnoth/wesnoth/commit/974f09178c046ee61929d8ad431ed755578efbae
  Author: gfgtdf <daniel.gfgtdf at gmail.com>
  Date:   2017-07-25 (Tue, 25 Jul 2017)

  Changed paths:
    M src/game_events/pump.cpp
    M src/game_events/pump.hpp
    M src/scripting/game_lua_kernel.cpp

  Log Message:
  -----------
  rename context_mutated -> undo_disabled


  Commit: 821e27c34f222c72d1cb02100370e0f7df2a75c2
      https://github.com/wesnoth/wesnoth/commit/821e27c34f222c72d1cb02100370e0f7df2a75c2
  Author: gfgtdf <daniel.gfgtdf at gmail.com>
  Date:   2017-07-25 (Tue, 25 Jul 2017)

  Changed paths:
    M data/lua/wml-tags.lua
    M src/actions/create.cpp
    M src/actions/move.cpp
    M src/actions/move.hpp
    M src/actions/undo.cpp
    M src/actions/vision.cpp
    M src/actions/vision.hpp
    A src/game_events/fwd.hpp
    M src/game_events/pump.cpp
    M src/game_events/pump.hpp
    M src/scripting/game_lua_kernel.cpp
    M src/scripting/game_lua_kernel.hpp
    M src/synced_commands.cpp
    M src/team.cpp
    M src/team.hpp

  Log Message:
  -----------
  add [cancel_action] implements #1427

this adds a new tag [cancel_action], it currently only has an effect in
move actions. It can be used in enter_hex/exit_hex events to abort the
current movement. It can also be used in moveto events where is
cancels possible following attacks (if the user issued a move+attack
action).

This also changes the behaviour of moveto and enter/exit_hex event so
that they now no longer cancel the movement automatically, also
[allow_undo] no longer has an effect on whether the move is cancelled,
it now only allows undoing of the move.


  Commit: ac38604f944ad55f751a29a647c5915602f94160
      https://github.com/wesnoth/wesnoth/commit/ac38604f944ad55f751a29a647c5915602f94160
  Author: gfgtdf <daniel.gfgtdf at gmail.com>
  Date:   2017-07-25 (Tue, 25 Jul 2017)

  Changed paths:
    M src/actions/move.cpp

  Log Message:
  -----------
  format move.cpp code


  Commit: e859c1da002a00b31d53fd9584b6a008323961db
      https://github.com/wesnoth/wesnoth/commit/e859c1da002a00b31d53fd9584b6a008323961db
  Author: gfgtdf <daniel.gfgtdf at gmail.com>
  Date:   2017-07-25 (Tue, 25 Jul 2017)

  Changed paths:
    M data/campaigns/Delfadors_Memoirs/scenarios/12_Terror_at_the_Ford_of_Parthyn.cfg
    M data/campaigns/Legend_of_Wesmere/scenarios/chapter1/02_Hostile_Mountains.cfg
    M data/campaigns/The_Hammer_of_Thursagan/scenarios/06_High_Pass.cfg
    M data/core/macros/deprecated-utils.cfg
    M data/core/macros/event-utils.cfg

  Log Message:
  -----------
  update mainline for [cancel_action]


Compare: https://github.com/wesnoth/wesnoth/compare/8e3dd056c879...e859c1da002a


More information about the Commits mailing list