[Commits] [wesnoth/wesnoth] 26d60c: replace fight_on_without_leader with defeat_condit...

GitHub noreply at github.com
Mon May 19 17:58:56 UTC 2014


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 26d60c0a8fb3a2d32e667f15f69915375b48f77b
      https://github.com/wesnoth/wesnoth/commit/26d60c0a8fb3a2d32e667f15f69915375b48f77b
  Author: gfgtdf <f492343 at rmqkr.net>
  Date:   2014-05-19 (Mon, 19 May 2014)

  Changed paths:
    M src/play_controller.cpp
    M src/scripting/lua.cpp
    M src/team.cpp
    M src/team.hpp

  Log Message:
  -----------
  replace fight_on_without_leader with defeat_condition

[side] now has an attribute defeat_condition which can be "no_leader"(default), "no_units" or "never"
"no_leader" behaves liek it behaved before.
"no_units" behaves like fight_on_without_leader=yes behaved before
"never" is new and causes the side to never get defeated, this usually means the scenariodesigner has to end the scenario with [endlevel]


  Commit: 12d190ff9f12a333bb57873235f752f0792081cf
      https://github.com/wesnoth/wesnoth/commit/12d190ff9f12a333bb57873235f752f0792081cf
  Author: gfgtdf <f492343 at rmqkr.net>
  Date:   2014-05-19 (Mon, 19 May 2014)

  Changed paths:
    M src/play_controller.cpp
    M src/team.cpp
    M src/team.hpp

  Log Message:
  -----------
  add "always" defeat_condition


  Commit: d948a04d9d4a40a9b60e7d53e8c0730a3e731d16
      https://github.com/wesnoth/wesnoth/commit/d948a04d9d4a40a9b60e7d53e8c0730a3e731d16
  Author: gfgtdf <f492343 at rmqkr.net>
  Date:   2014-05-19 (Mon, 19 May 2014)

  Changed paths:
    M src/play_controller.cpp
    M src/play_controller.hpp
    M src/playsingle_controller.cpp

  Log Message:
  -----------
  rename remove_from_carryover_on_leaders_loss_

to remove_from_carryover_on_defeat_


  Commit: b258433650bf0107b8e17c5f51f1aa3fef0b1184
      https://github.com/wesnoth/wesnoth/commit/b258433650bf0107b8e17c5f51f1aa3fef0b1184
  Author: gfgtdf <tischpapier at gmail.com>
  Date:   2014-05-19 (Mon, 19 May 2014)

  Changed paths:
    M src/play_controller.cpp
    M src/play_controller.hpp
    M src/playsingle_controller.cpp
    M src/scripting/lua.cpp
    M src/team.cpp
    M src/team.hpp

  Log Message:
  -----------
  Merge pull request #165 from gfgtdf/defeat_condition

 replace fight_on_without_leader with defeat_condition


Compare: https://github.com/wesnoth/wesnoth/compare/87c492e0a199...b258433650bf


More information about the Commits mailing list