[wesnoth-commits] [wesnoth/wesnoth] b8d051: Moved game version stuff from game_config.hpp to v...

GitHub noreply at github.com
Wed Apr 4 11:09:54 UTC 2018


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: b8d051cb72e51682d0fc41a3a37442ed7ecb553d
      https://github.com/wesnoth/wesnoth/commit/b8d051cb72e51682d0fc41a3a37442ed7ecb553d
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2018-04-04 (Wed, 04 Apr 2018)

  Changed paths:
    M src/addon/info.cpp
    M src/ai/testing.cpp
    M src/build_info.cpp
    M src/color_range.cpp
    M src/deprecation.cpp
    M src/display.hpp
    M src/game_classification.cpp
    M src/game_config.cpp
    M src/game_config.hpp
    M src/game_end_exceptions.cpp
    M src/game_initialization/mp_game_utils.cpp
    M src/game_initialization/multiplayer.cpp
    M src/gui/dialogs/unit_create.cpp
    M src/image.hpp
    M src/mouse_events.cpp
    M src/savegame.cpp
    M src/scripting/lua_kernel_base.cpp
    M src/serialization/preprocessor.cpp
    M src/server/server.cpp
    M src/terrain/filter.hpp
    M src/units/animation.hpp
    M src/units/frame.hpp
    M src/version.cpp
    M src/version.hpp
    M src/wesnoth.cpp

  Log Message:
  -----------
  Moved game version stuff from game_config.hpp to version.hpp

They're still in the game_config namespace but are now in a more logical header.

game_config::version has been replaced with wesnoth_version.str(), save for one case
where it was replaced with wesnoth_version directly (it was a comparison against another
version_info object; no need to compare against a string...).

Also cleaned up a bunch of game_config.hpp includes.




More information about the Commits mailing list