[wesnoth-commits] [wesnoth/wesnoth] 375a01: Cleaned up addon loading process

GitHub noreply at github.com
Sun Jun 24 20:13:59 UTC 2018


  Branch: refs/heads/1.14
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 375a0115d0f1418260dd39539027188907e6704a
      https://github.com/wesnoth/wesnoth/commit/375a0115d0f1418260dd39539027188907e6704a
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2018-06-25 (Mon, 25 Jun 2018)

  Changed paths:
    M src/game_config_manager.cpp

  Log Message:
  -----------
  Cleaned up addon loading process

This makes it so addon metadata (title, version) will be fetched from _server.pbl if
present and _info.cfg if not (see #3278).

This also eliminates the temporary addon_source struct and unifies the metadata parsing
and actual loading stages. They used to be separate since single-file addons were a
thing, but those were removed in 3f640b8e718e4c45d8f73798d839bfea0b413fab.

Also a bunch of minor code cleanup.



      **NOTE:** This service 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