[wesnoth-commits] [wesnoth/wesnoth] 344d7c: AI/Actions: use an initializer list for the error ...

GitHub noreply at github.com
Tue May 1 01:06:18 UTC 2018


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 344d7c67992e43625e7030b0e5c202af9e7bbf1f
      https://github.com/wesnoth/wesnoth/commit/344d7c67992e43625e7030b0e5c202af9e7bbf1f
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2018-05-01 (Tue, 01 May 2018)

  Changed paths:
    M src/ai/actions.cpp

  Log Message:
  -----------
  AI/Actions: use an initializer list for the error code name map


  Commit: 81aba251fc203cfd89b4dd3c9b4d0260282bb137
      https://github.com/wesnoth/wesnoth/commit/81aba251fc203cfd89b4dd3c9b4d0260282bb137
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2018-05-01 (Tue, 01 May 2018)

  Changed paths:
    M src/ai/actions.cpp
    M src/ai/actions.hpp

  Log Message:
  -----------
  AI/Actions: formatting cleanup


  Commit: 9756847d3b0dd4a34f0c4dc3430f0b86d08ac130
      https://github.com/wesnoth/wesnoth/commit/9756847d3b0dd4a34f0c4dc3430f0b86d08ac130
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2018-05-01 (Tue, 01 May 2018)

  Changed paths:
    M src/ai/contexts.cpp
    M src/ai/contexts.hpp

  Log Message:
  -----------
  AI/Contexts: formatting cleanup


  Commit: 18b50f06fb1af235c5cd494e6e55066f2e87cb88
      https://github.com/wesnoth/wesnoth/commit/18b50f06fb1af235c5cd494e6e55066f2e87cb88
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2018-05-01 (Tue, 01 May 2018)

  Changed paths:
    M src/ai/contexts.cpp
    M src/ai/contexts.hpp
    M src/ai/game_info.hpp
    M src/ai/lua/core.cpp

  Log Message:
  -----------
  AI: made use of unique_ptrs for action results

I had to move the implementations of certain context-related functions into the cpp
file since the result types were incomplete in the header, which doesn't work with a
unique_ptr (you get errors about being unable to delete an incomplete type).


  Commit: 691276a0b737f66eff2dfdedc2e8ea5b25cd4432
      https://github.com/wesnoth/wesnoth/commit/691276a0b737f66eff2dfdedc2e8ea5b25cd4432
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2018-05-01 (Tue, 01 May 2018)

  Changed paths:
    M src/ai/game_info.hpp
    M src/ai/manager.hpp

  Log Message:
  -----------
  AI: removed duplicate composite AI typedef used a unique_ptr for it


  Commit: 18d597e374747868cc9295485f0ddf2feba17463
      https://github.com/wesnoth/wesnoth/commit/18d597e374747868cc9295485f0ddf2feba17463
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2018-05-01 (Tue, 01 May 2018)

  Changed paths:
    M src/ai/contexts.cpp

  Log Message:
  -----------
  AI/Contexts: deployed std::make_shared in a place I missed


  Commit: 1c744875d3b689d78317c74ee07e707010dbaab9
      https://github.com/wesnoth/wesnoth/commit/1c744875d3b689d78317c74ee07e707010dbaab9
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2018-05-01 (Tue, 01 May 2018)

  Changed paths:
    M src/ai/actions.cpp

  Log Message:
  -----------
  AI/Actions: avoid inline ternaries in place of if blocks


Compare: https://github.com/wesnoth/wesnoth/compare/64bd866ef2a9...1c744875d3b6


More information about the Commits mailing list