[Commits] [wesnoth/wesnoth] 49219a: add team share_vision=all/shroud/none

GitHub noreply at github.com
Thu Jul 23 13:19:30 UTC 2015


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 49219ad0fdfc3c500771fff84db84071429db203
      https://github.com/wesnoth/wesnoth/commit/49219ad0fdfc3c500771fff84db84071429db203
  Author: gfgtdf <f492343 at rmqkr.net>
  Date:   2015-07-23 (Thu, 23 Jul 2015)

  Changed paths:
    M data/campaigns/Heir_To_The_Throne/scenarios/19c_Cliffs_of_Thoria.cfg
    M data/test/scenarios/filter_vision.cfg
    M src/editor/map/map_context.cpp
    M src/game_initialization/connect_engine.cpp
    M src/scripting/game_lua_kernel.cpp
    M src/scripting/lua_team.cpp
    M src/team.cpp
    M src/team.hpp

  Log Message:
  -----------
  add team share_vision=all/shroud/none

previously there were 2 flags share_view=yes/no and share_maps=yes/no,
but only 3 possible settings (share both, share none, only share shroud)
(so share_maps= was ignored if share_viewv=yes). This made the wml code and
the c++ code needlessly complicated.

Now these 2 flags are replaced by share_vision=all/shroud/none


  Commit: 2e08043fb9a8407fadb9a3f860b2557a4641bc62
      https://github.com/wesnoth/wesnoth/commit/2e08043fb9a8407fadb9a3f860b2557a4641bc62
  Author: gfgtdf <tischpapier at gmail.com>
  Date:   2015-07-23 (Thu, 23 Jul 2015)

  Changed paths:
    M data/campaigns/Heir_To_The_Throne/scenarios/19c_Cliffs_of_Thoria.cfg
    M data/test/scenarios/filter_vision.cfg
    M src/editor/map/map_context.cpp
    M src/game_initialization/connect_engine.cpp
    M src/scripting/game_lua_kernel.cpp
    M src/scripting/lua_team.cpp
    M src/team.cpp
    M src/team.hpp

  Log Message:
  -----------
  Merge pull request #408 from gfgtdf/vision_tristate

team share_vision tristate


Compare: https://github.com/wesnoth/wesnoth/compare/9fb687bb9354...2e08043fb9a8


More information about the Commits mailing list