[wesnoth-commits] [wesnoth/wesnoth] 8beece: Command-line game: get default ai_algorithm from c...

GitHub noreply at github.com
Tue Dec 18 15:32:38 UTC 2018


  Branch: refs/heads/1.14
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 8beece659b5dbef5cf9849c32873f4c991bfeb78
      https://github.com/wesnoth/wesnoth/commit/8beece659b5dbef5cf9849c32873f4c991bfeb78
  Author: mattsc <mattsc000 at gmail.com>
  Date:   2018-12-18 (Tue, 18 Dec 2018)

  Changed paths:
    M src/game_initialization/connect_engine.cpp
    M src/game_initialization/connect_engine.hpp
    M src/game_initialization/multiplayer.cpp

  Log Message:
  -----------
  Command-line game: get default ai_algorithm from config

Do not use a hard-coded value set to the RCA AI.


  Commit: a96487a8377ae4380893a4ad848573921ea984c6
      https://github.com/wesnoth/wesnoth/commit/a96487a8377ae4380893a4ad848573921ea984c6
  Author: mattsc <mattsc000 at gmail.com>
  Date:   2018-12-18 (Tue, 18 Dec 2018)

  Changed paths:
    M data/_main.cfg
    M src/ai/configuration.cpp
    M src/ai/configuration.hpp

  Log Message:
  -----------
  AI: move default algorithm definition from C++ to WML

Among other things this now allows defining cores that have a different default AI.


  Commit: a2c30ea665695d6710a5641ac374d93d94423ad8
      https://github.com/wesnoth/wesnoth/commit/a2c30ea665695d6710a5641ac374d93d94423ad8
  Author: mattsc <mattsc000 at gmail.com>
  Date:   2018-12-18 (Tue, 18 Dec 2018)

  Changed paths:
    M data/ai/ais/ai_default_rca.cfg
    M data/ai/ais/ai_generic_rush.cfg
    M data/ai/dev/ai_default_rca_alternate_recruiting.cfg
    M data/ai/dev/formula_ai.cfg
    M data/ai/dev/formula_ai_poisoning.cfg
    M src/ai/configuration.cpp
    M src/ai/configuration.hpp

  Log Message:
  -----------
  AI configuration: new optional parameter mp_rank=

This parameter determines in which order the available AIs are shown in the MP computer player selection menu. This can be used for eras, modifications or cores to change which AI is first in the list.


  Commit: 650a78060322a48e72f7cbb9e57ac75e3dd27d0f
      https://github.com/wesnoth/wesnoth/commit/650a78060322a48e72f7cbb9e57ac75e3dd27d0f
  Author: mattsc <mattsc000 at gmail.com>
  Date:   2018-12-18 (Tue, 18 Dec 2018)

  Changed paths:
    M src/ai/configuration.cpp

  Log Message:
  -----------
  AI configuration: add mp_rank to non-aspect attributes list


  Commit: 4d43b218ee1ac640c5f20a1e729436f71fc98466
      https://github.com/wesnoth/wesnoth/commit/4d43b218ee1ac640c5f20a1e729436f71fc98466
  Author: mattsc <mattsc000 at gmail.com>
  Date:   2018-12-18 (Tue, 18 Dec 2018)

  Changed paths:
    M data/ai/ais/ai_default_rca.cfg
    M data/ai/ais/ai_generic_rush.cfg
    M data/ai/dev/ai_default_rca_alternate_recruiting.cfg
    M data/ai/dev/formula_ai.cfg
    M data/ai/dev/formula_ai_poisoning.cfg
    M src/ai/configuration.cpp

  Log Message:
  -----------
  AI configuration: invert mp_rank based ordering

This is supposed to be equivalent to the campaign rank, so it should be in ascending order.


  Commit: 7bb65f4510b86b4fc7ff66352c399f7a281363c8
      https://github.com/wesnoth/wesnoth/commit/7bb65f4510b86b4fc7ff66352c399f7a281363c8
  Author: mattsc <mattsc000 at gmail.com>
  Date:   2018-12-18 (Tue, 18 Dec 2018)

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

  Log Message:
  -----------
  AI leader_shares_keep CA: re-evaluate possible_moves after move


Compare: https://github.com/wesnoth/wesnoth/compare/a80d39e3d76c...7bb65f4510b8
      **NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.


More information about the Commits mailing list