[Commits] [wesnoth/wesnoth] 92bf33: remove unused member variable

GitHub noreply at github.com
Wed Feb 11 21:43:30 UTC 2015


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 92bf33174b50dca44c1a4a24f77d9785a6afa4af
      https://github.com/wesnoth/wesnoth/commit/92bf33174b50dca44c1a4a24f77d9785a6afa4af
  Author: gfgtdf <f492343 at rmqkr.net>
  Date:   2015-02-11 (Wed, 11 Feb 2015)

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

  Log Message:
  -----------
  remove unused member variable


  Commit: 7471b4eeec1e6413868768457b19889da488f1ac
      https://github.com/wesnoth/wesnoth/commit/7471b4eeec1e6413868768457b19889da488f1ac
  Author: gfgtdf <f492343 at rmqkr.net>
  Date:   2015-02-11 (Wed, 11 Feb 2015)

  Changed paths:
    M src/carryover.cpp
    M src/carryover.hpp
    M src/config.hpp
    M src/game_end_exceptions.cpp
    M src/game_end_exceptions.hpp
    M src/game_initialization/playcampaign.cpp
    M src/menu_events.cpp
    M src/playsingle_controller.cpp
    M src/playsingle_controller.hpp
    M src/saved_game.cpp
    M src/scripting/game_lua_kernel.cpp
    M src/team.cpp
    M src/team.hpp

  Log Message:
  -----------
  add side specific results in [endlevel]

adds [result] tags in [endlevel] as suggested in
http://gna.org/bugs/?4960
the following [endlevel] attributes can now be given side spcific:
'result', 'bonus', 'carryover_precentage', 'carryover_add'

In the normnal case we show a victory message on a client if any of the
local humans is victorious, but we have to watch out for border cases
like when there are no human sides and behave just like we did
previously in this case.

This also fixes a bug that the calculated carryover could be different
from what is shown in the message (see comment in playcampaign.cpp that
was removed by this commit)

This also removes some unused functions in carryover.cpp that were
incompatible with this commit.


  Commit: 89c461c1c650246d421d6cef57ef015e518be224
      https://github.com/wesnoth/wesnoth/commit/89c461c1c650246d421d6cef57ef015e518be224
  Author: gfgtdf <f492343 at rmqkr.net>
  Date:   2015-02-11 (Wed, 11 Feb 2015)

  Changed paths:
    M src/scripting/game_lua_kernel.cpp

  Log Message:
  -----------
  restore [endlvel] bonus= default behaviour

bonus= in [endlevel] previously defaulted to true, my last commit
resulted in bonus= defaulting false. this commit restores the previous
behaviour.


Compare: https://github.com/wesnoth/wesnoth/compare/0a2f0b0e6de0...89c461c1c650


More information about the Commits mailing list