[Commits] [wesnoth/wesnoth] 4af122: [on_undo] and [on_redo] now get a snapshot of the ...

GitHub noreply at github.com
Wed Apr 6 03:21:22 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 4af12203d8e829da24b1f2f23b23dfa7ec17636a
      https://github.com/wesnoth/wesnoth/commit/4af12203d8e829da24b1f2f23b23dfa7ec17636a
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2016-04-05 (Tue, 05 Apr 2016)

  Changed paths:
    M changelog
    M src/actions/undo_action.cpp
    M src/actions/undo_action.hpp
    M src/game_events/action_wml.cpp
    M src/game_events/entity_location.cpp
    M src/game_events/entity_location.hpp
    M src/synced_context.cpp
    M src/synced_context.hpp

  Log Message:
  -----------
  [on_undo] and [on_redo] now get a snapshot of the event context
This means they can access auto-stored variables.
However, using [unstore_unit] for $unit or $second_unit is not recommended.
Also, $unit.x and $unit.y may not be the same as they were during the original event.
(The same with $second_unit)


  Commit: 8cbd358baf57b93166b70f339948ffc4b88ae097
      https://github.com/wesnoth/wesnoth/commit/8cbd358baf57b93166b70f339948ffc4b88ae097
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2016-04-05 (Tue, 05 Apr 2016)

  Changed paths:
    M data/gui/window/loadscreen.cfg

  Log Message:
  -----------
  tloadscreen: Minor rearrangement of elements


  Commit: 1afa45a53e16115811986bcc51d33043259f8d90
      https://github.com/wesnoth/wesnoth/commit/1afa45a53e16115811986bcc51d33043259f8d90
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2016-04-05 (Tue, 05 Apr 2016)

  Changed paths:
    M src/events.cpp

  Log Message:
  -----------
  Fix crash if Lua initialization routines put up a dialog during the loading screen


  Commit: 1e5e071734e551fb81d0bc068535b828ad5a3172
      https://github.com/wesnoth/wesnoth/commit/1e5e071734e551fb81d0bc068535b828ad5a3172
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2016-04-05 (Tue, 05 Apr 2016)

  Changed paths:
    M src/display.cpp
    M src/gui/auxiliary/field.hpp
    M src/gui/auxiliary/formula.hpp
    M src/gui/core/timer.cpp
    M src/serialization/unicode.hpp
    M src/units/types.cpp
    M src/utils/reference_counter.hpp

  Log Message:
  -----------
  BOOST_STATIC_ASSERT -> static_assert


Compare: https://github.com/wesnoth/wesnoth/compare/b7b8b1e213d1...1e5e071734e5


More information about the Commits mailing list