[Commits] [wesnoth/wesnoth] f26f99: move next_underlying_unit_id

GitHub noreply at github.com
Tue Jun 10 21:13:30 UTC 2014


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: f26f992bf1063f3182dd83b71501ff70423c195c
      https://github.com/wesnoth/wesnoth/commit/f26f992bf1063f3182dd83b71501ff70423c195c
  Author: gfgtdf <f492343 at rmqkr.net>
  Date:   2014-06-10 (Tue, 10 Jun 2014)

  Changed paths:
    M src/carryover.cpp
    M src/carryover.hpp
    M src/gamestatus.cpp
    M src/play_controller.cpp
    M src/playcampaign.cpp

  Log Message:
  -----------
  move next_underlying_unit_id

from savefiles toplevel to savefiles [snapshot]/[replay_start]/[carryover_sides_start]
previously this was handled specialy at scenario toplevel sometimes and in those tags at some other times.

accoringly to that change we now set n_unit::id_manager at play_controller s constructor.


  Commit: 2a1722413317caa10194690f3a994b49c5d76bac
      https://github.com/wesnoth/wesnoth/commit/2a1722413317caa10194690f3a994b49c5d76bac
  Author: gfgtdf <f492343 at rmqkr.net>
  Date:   2014-06-10 (Tue, 10 Jun 2014)

  Changed paths:
    M src/replay_controller.cpp

  Log Message:
  -----------
  don't transfer carryover in replays

carryover_sides contains no data that wasn't already merged into replay_start.


  Commit: 703502e0d3aca65c3f9cb41507933be63152a617
      https://github.com/wesnoth/wesnoth/commit/703502e0d3aca65c3f9cb41507933be63152a617
  Author: gfgtdf <f492343 at rmqkr.net>
  Date:   2014-06-10 (Tue, 10 Jun 2014)

  Changed paths:
    M src/playcampaign.cpp
    M src/replay_controller.cpp
    M src/replay_controller.hpp

  Log Message:
  -----------
  remove unneeded argument in play_replay_level


  Commit: 42a28bfc3219051f9f2594e7d0a2a0e8f5f4d223
      https://github.com/wesnoth/wesnoth/commit/42a28bfc3219051f9f2594e7d0a2a0e8f5f4d223
  Author: gfgtdf <f492343 at rmqkr.net>
  Date:   2014-06-10 (Tue, 10 Jun 2014)

  Changed paths:
    M src/carryover.cpp

  Log Message:
  -----------
  refactor carryover_info::transfer_all_to

the plan is to fully remove the [side] from [carryover_sides] in this
case, but it needs some testing still.


  Commit: 99feabf3c4b40aa920c26d7fc38e9763509bec4c
      https://github.com/wesnoth/wesnoth/commit/99feabf3c4b40aa920c26d7fc38e9763509bec4c
  Author: gfgtdf <tischpapier at gmail.com>
  Date:   2014-06-10 (Tue, 10 Jun 2014)

  Changed paths:
    M src/carryover.cpp
    M src/carryover.hpp
    M src/gamestatus.cpp
    M src/play_controller.cpp
    M src/playcampaign.cpp
    M src/replay_controller.cpp
    M src/replay_controller.hpp

  Log Message:
  -----------
  Merge pull request #200 from gfgtdf/gamestate_refactor

move next_underlying_unit_id + game_state refactor


Compare: https://github.com/wesnoth/wesnoth/compare/469eabb53c1a...99feabf3c4b4


More information about the Commits mailing list