[wesnoth-commits] [wesnoth/wesnoth] 0c0c42: Saved Game: minor code cleanup

Charles Dang noreply at github.com
Sun Jan 3 07:26:56 UTC 2021


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 0c0c42c2576869c72cc0b8df21d905d5dfe2092d
      https://github.com/wesnoth/wesnoth/commit/0c0c42c2576869c72cc0b8df21d905d5dfe2092d
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2021-01-03 (Sun, 03 Jan 2021)

  Changed paths:
    M src/saved_game.cpp

  Log Message:
  -----------
  Saved Game: minor code cleanup


  Commit: 801a02f40f828bc650eea5b3bc8ca91389ad5994
      https://github.com/wesnoth/wesnoth/commit/801a02f40f828bc650eea5b3bc8ca91389ad5994
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2021-01-03 (Sun, 03 Jan 2021)

  Changed paths:
    M src/hotkey/hotkey_handler.cpp
    M src/play_controller.cpp
    M src/play_controller.hpp
    M src/quit_confirmation.cpp

  Log Message:
  -----------
  Play Controller: added non-const get_teams, renamed get_teams_const


  Commit: 8e13e8811ddcf936adf0102f491cf46047b322e7
      https://github.com/wesnoth/wesnoth/commit/8e13e8811ddcf936adf0102f491cf46047b322e7
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2021-01-03 (Sun, 03 Jan 2021)

  Changed paths:
    M src/game_initialization/playcampaign.cpp

  Log Message:
  -----------
  Campaign Controller: don't use resource pointers


  Commit: 3006359321fd95e02c45b98ec7ef3bc3d3f40bb6
      https://github.com/wesnoth/wesnoth/commit/3006359321fd95e02c45b98ec7ef3bc3d3f40bb6
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2021-01-03 (Sun, 03 Jan 2021)

  Changed paths:
    M src/ai/formula/function_table.cpp
    M src/game_board.hpp
    M src/game_state.cpp
    M src/hotkey/hotkey_handler.cpp
    M src/pathfind/pathfind.cpp
    M src/play_controller.cpp
    M src/scripting/game_lua_kernel.cpp

  Log Message:
  -----------
  Game Board: play_controller and game_state are no longer friends

A non-const overload of game_board::map was added in the process


Compare: https://github.com/wesnoth/wesnoth/compare/96243ad778f8...3006359321fd



More information about the Commits mailing list