[Commits] [wesnoth/wesnoth] 2a3297: add set_action_bonus_count when attacking

GitHub noreply at github.com
Fri May 2 01:41:17 UTC 2014


  Branch: refs/heads/1.12
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 2a32970c09fb99b04742339307cbf661cd3f6533
      https://github.com/wesnoth/wesnoth/commit/2a32970c09fb99b04742339307cbf661cd3f6533
  Author: gfgtdf <tischpapier at gmail.com>
  Date:   2014-05-02 (Fri, 02 May 2014)

  Changed paths:
    M src/mouse_events.cpp

  Log Message:
  -----------
  add set_action_bonus_count when attacking

Duthlet noticed this was missing.


  Commit: fbcfd87326a0ee5551dd595af94f486c25cb85d9
      https://github.com/wesnoth/wesnoth/commit/fbcfd87326a0ee5551dd595af94f486c25cb85d9
  Author: gfgtdf <f492343 at rmqkr.net>
  Date:   2014-05-02 (Fri, 02 May 2014)

  Changed paths:
    M src/replay.cpp
    M src/replay.hpp

  Log Message:
  -----------
  more robust replay.cpp functions

we now add nonundoable commands at the current position instead of
assuming at_end(), this way nonundoable replay entrys like speak
can now also be added while we are not at end.
Usually playturn_network_adapter ensures that we are always
are at_end() and i didn't get any error with the previous solution
but the new solution is just more robust in case something goes wrong.

We cannot just do this for normal commands because it might
bring the replay in disorder.
We cannot add nonundoable commands at end if we aren't at end
because in that case the user would see the message again in
do_replay_handle in a mp game.


  Commit: 59d2bcd70b74e0956162e078cf53cd53a6b16889
      https://github.com/wesnoth/wesnoth/commit/59d2bcd70b74e0956162e078cf53cd53a6b16889
  Author: gfgtdf <f492343 at rmqkr.net>
  Date:   2014-05-02 (Fri, 02 May 2014)

  Changed paths:
    M src/replay.cpp
    M src/replay.hpp

  Log Message:
  -----------
  tidyup replay.cpp


  Commit: 186568453883c7c2e3eb4938b580e279842f6cff
      https://github.com/wesnoth/wesnoth/commit/186568453883c7c2e3eb4938b580e279842f6cff
  Author: gfgtdf <f492343 at rmqkr.net>
  Date:   2014-05-02 (Fri, 02 May 2014)

  Changed paths:
    M src/actions/move.cpp

  Log Message:
  -----------
  more robust replaying of moves

we now set skipsighted to true if there is no fog or shroud.
The intention is that if a player uses fog=no in debugmode we still get
the same move destination in replays.


  Commit: d1b3cd13e85188722269d7043f4394843cd911c9
      https://github.com/wesnoth/wesnoth/commit/d1b3cd13e85188722269d7043f4394843cd911c9
  Author: gfgtdf <f492343 at rmqkr.net>
  Date:   2014-05-02 (Fri, 02 May 2014)

  Changed paths:
    M src/actions/undo.cpp
    M src/actions/undo.hpp
    M src/replay.cpp
    M src/synced_commands.cpp

  Log Message:
  -----------
  fix replay of delayed shroud updates (21986)

we have to enable the undo stack during replays to make these work. This
was accidently disabled during pr 121.


  Commit: 555ac3396da5b16e8f640b55783fe85b7d68609d
      https://github.com/wesnoth/wesnoth/commit/555ac3396da5b16e8f640b55783fe85b7d68609d
  Author: gfgtdf <f492343 at rmqkr.net>
  Date:   2014-05-02 (Fri, 02 May 2014)

  Changed paths:
    M src/play_controller.cpp
    M src/playmp_controller.cpp

  Log Message:
  -----------
  fix linger mode in mp (21985)


  Commit: 3b7d6bfc614958bf7c0af5fb1842156f77efab61
      https://github.com/wesnoth/wesnoth/commit/3b7d6bfc614958bf7c0af5fb1842156f77efab61
  Author: gfgtdf <f492343 at rmqkr.net>
  Date:   2014-05-02 (Fri, 02 May 2014)

  Changed paths:
    M src/actions/undo.cpp

  Log Message:
  -----------
  save replaydata of the undostack

not saving these might result in currupt replays when redoing a move
from a saved game.


Compare: https://github.com/wesnoth/wesnoth/compare/7c5a14d0fc96...3b7d6bfc6149


More information about the Commits mailing list