[Commits] [wesnoth/wesnoth] ba36b0: remove unused member in carryover

GitHub noreply at github.com
Fri Feb 13 20:04:47 UTC 2015


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: ba36b08159101d3067a50637307b8cce8f2d392b
      https://github.com/wesnoth/wesnoth/commit/ba36b08159101d3067a50637307b8cce8f2d392b
  Author: gfgtdf <f492343 at rmqkr.net>
  Date:   2015-02-13 (Fri, 13 Feb 2015)

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

  Log Message:
  -----------
  remove unused member in carryover


  Commit: 26cce3d1cdff1626d372a7d8721d3b313dcad4ba
      https://github.com/wesnoth/wesnoth/commit/26cce3d1cdff1626d372a7d8721d3b313dcad4ba
  Author: gfgtdf <f492343 at rmqkr.net>
  Date:   2015-02-13 (Fri, 13 Feb 2015)

  Changed paths:
    M src/saved_game.hpp

  Log Message:
  -----------
  add comment


  Commit: 3a9e6741ce03411460af701cb74aaa5a0cf08d2b
      https://github.com/wesnoth/wesnoth/commit/3a9e6741ce03411460af701cb74aaa5a0cf08d2b
  Author: gfgtdf <f492343 at rmqkr.net>
  Date:   2015-02-13 (Fri, 13 Feb 2015)

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

  Log Message:
  -----------
  remove a unused function


  Commit: 8c137323bcc64ea0e8193bf8694ba3ddb1b97069
      https://github.com/wesnoth/wesnoth/commit/8c137323bcc64ea0e8193bf8694ba3ddb1b97069
  Author: gfgtdf <f492343 at rmqkr.net>
  Date:   2015-02-13 (Fri, 13 Feb 2015)

  Changed paths:
    M src/dialogs.cpp
    M src/dialogs.hpp
    M src/menu_events.cpp
    M src/playsingle_controller.cpp

  Log Message:
  -----------
  dont pass whole level wml if only the name is needed.


  Commit: 9eb7036b5f8e55bc5b2ad7b9fb8672a40373a77f
      https://github.com/wesnoth/wesnoth/commit/9eb7036b5f8e55bc5b2ad7b9fb8672a40373a77f
  Author: gfgtdf <f492343 at rmqkr.net>
  Date:   2015-02-13 (Fri, 13 Feb 2015)

  Changed paths:
    M src/replay_controller.cpp

  Log Message:
  -----------
  remove unneeded code

level_ usually has no child named [era]. The events from era are usually
loaded in saved_game::expand_mp_events()


  Commit: 3ecf3f32f02dac5c1e983708eefe580412f74f38
      https://github.com/wesnoth/wesnoth/commit/3ecf3f32f02dac5c1e983708eefe580412f74f38
  Author: gfgtdf <f492343 at rmqkr.net>
  Date:   2015-02-13 (Fri, 13 Feb 2015)

  Changed paths:
    M src/menu_events.cpp
    M src/menu_events.hpp
    M src/play_controller.cpp
    M src/play_controller.hpp
    M src/playsingle_controller.cpp

  Log Message:
  -----------
  remove level_ member from menu_handler class


  Commit: e5afe375585ca247ac7b258d596fe2e69d6ab573
      https://github.com/wesnoth/wesnoth/commit/e5afe375585ca247ac7b258d596fe2e69d6ab573
  Author: gfgtdf <f492343 at rmqkr.net>
  Date:   2015-02-13 (Fri, 13 Feb 2015)

  Changed paths:
    M src/game_board.cpp

  Log Message:
  -----------
  remove unused field

the carryover calculation doesn't use it anymore.


  Commit: 0da5b24a76103428181b555bd38c2b6976895db7
      https://github.com/wesnoth/wesnoth/commit/0da5b24a76103428181b555bd38c2b6976895db7
  Author: gfgtdf <f492343 at rmqkr.net>
  Date:   2015-02-13 (Fri, 13 Feb 2015)

  Changed paths:
    M src/play_controller.cpp
    M src/play_controller.hpp
    M src/playmp_controller.cpp
    M src/playsingle_controller.cpp
    M src/replay_controller.cpp
    M src/saved_game.cpp
    M src/saved_game.hpp
    M src/savegame.cpp
    M src/savegame.hpp

  Log Message:
  -----------
  copy snapshot less often when saving

First we remove the snapshot_ memaber form savegame class which was
previously copied with saved_game.set_snapshot

Second we use copy and swap in saved_game::set_snapshot
saved_game::set_scenario, this makes it possible to apply copy elison
and saves another copy of the snapshot if the compiler is smart enough.


Compare: https://github.com/wesnoth/wesnoth/compare/3a6579b9c23c...0da5b24a7610


More information about the Commits mailing list