[wesnoth-commits] [wesnoth/wesnoth] e3055d: AI/aspect_attacks_base: format do_attack_analysis ...

Charles Dang noreply at github.com
Sat Jan 16 11:46:41 UTC 2021


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

  Changed paths:
    M src/ai/default/aspect_attacks.cpp
    M src/ai/default/aspect_attacks.hpp

  Log Message:
  -----------
  AI/aspect_attacks_base: format do_attack_analysis argument list


  Commit: 5b39a1c21e7ad01229b52929a2b0b0d2c0a4bb1e
      https://github.com/wesnoth/wesnoth/commit/5b39a1c21e7ad01229b52929a2b0b0d2c0a4bb1e
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2021-01-16 (Sat, 16 Jan 2021)

  Changed paths:
    M src/actions/move.cpp
    M src/pathfind/astarsearch.cpp
    M src/pathfind/pathfind.cpp
    M src/pathfind/teleport.cpp
    M src/pathfind/teleport.hpp

  Log Message:
  -----------
  Pathfind/Teleport: made getters return their sets rather than taking them as arguments

Implementations were cleaned up in the process.


  Commit: 3f1ed55831d2ba48b33a2aa2811c7259b7f40158
      https://github.com/wesnoth/wesnoth/commit/3f1ed55831d2ba48b33a2aa2811c7259b7f40158
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2021-01-16 (Sat, 16 Jan 2021)

  Changed paths:
    M src/actions/move.cpp

  Log Message:
  -----------
  Actions/Move: greatly simplified a condition


  Commit: 76389cb3c0fe26a3593b3e11be0f49fbaa996a4f
      https://github.com/wesnoth/wesnoth/commit/76389cb3c0fe26a3593b3e11be0f49fbaa996a4f
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2021-01-16 (Sat, 16 Jan 2021)

  Changed paths:
    M src/pathfind/astarsearch.cpp

  Log Message:
  -----------
  Minor cleanup in a_star_search


  Commit: 79b6887d8b89dfd24bcd22b29ae045a46f6c4924
      https://github.com/wesnoth/wesnoth/commit/79b6887d8b89dfd24bcd22b29ae045a46f6c4924
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2021-01-16 (Sat, 16 Jan 2021)

  Changed paths:
    M src/ai/default/aspect_attacks.cpp
    M src/ai/default/aspect_attacks.hpp

  Log Message:
  -----------
  AI/aspect_attacks_base: pass an std::aray to do_attack_analysis


  Commit: cb86230bcd739ba5a1f1aea824c46a3243bfdc4d
      https://github.com/wesnoth/wesnoth/commit/cb86230bcd739ba5a1f1aea824c46a3243bfdc4d
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2021-01-16 (Sat, 16 Jan 2021)

  Changed paths:
    M src/ai/default/aspect_attacks.cpp
    M src/ai/default/aspect_attacks.hpp
    M src/ai/default/ca.cpp
    M src/map/location.cpp
    M src/map/location.hpp

  Log Message:
  -----------
  Removed adjacent_loc_array_t alias

This is no longer used everywhere (and we have `auto`) so it's easier for intellisense not to have this.


  Commit: 156665acbd92285db72a7e4e856c82984ad773cb
      https://github.com/wesnoth/wesnoth/commit/156665acbd92285db72a7e4e856c82984ad773cb
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2021-01-16 (Sat, 16 Jan 2021)

  Changed paths:
    M src/ai/default/aspect_attacks.cpp

  Log Message:
  -----------
  Ai/aspect_attacks: code formatting


  Commit: fce91d0e3f656b100d398b8427606630b282e099
      https://github.com/wesnoth/wesnoth/commit/fce91d0e3f656b100d398b8427606630b282e099
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2021-01-16 (Sat, 16 Jan 2021)

  Changed paths:
    M src/ai/default/aspect_attacks.cpp

  Log Message:
  -----------
  AI/aspect_attacks: code cleanup


Compare: https://github.com/wesnoth/wesnoth/compare/d65d12e89d59...fce91d0e3f65



More information about the Commits mailing list