[Commits] [wesnoth/wesnoth] 3dbc78: add "write_to" parameter to wml_message

GitHub noreply at github.com
Tue May 20 18:07:03 UTC 2014


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

  Changed paths:
    M src/game_events/action_wml.cpp
    M src/game_events/pump.cpp
    M src/game_events/pump.hpp

  Log Message:
  -----------
  add "write_to" parameter to wml_message

"write_to" lets the wmldev specify to where the message should be
written. Defaults to the previous behaviour.

The intention is for example that one might want to give a summary  as a
chat message and a very detailed information in the stderr file.


  Commit: 7c69fcb3be8fcebaf38f159f47ee8aee9620aa84
      https://github.com/wesnoth/wesnoth/commit/7c69fcb3be8fcebaf38f159f47ee8aee9620aa84
  Author: gfgtdf <f492343 at rmqkr.net>
  Date:   2014-05-20 (Tue, 20 May 2014)

  Changed paths:
    M src/game_events/action_wml.cpp
    M src/game_events/pump.cpp
    M src/game_events/pump.hpp

  Log Message:
  -----------
  replace write_to with to_chat in [wml_message]

as shadowm suggested, because we are never in the situation that we want
this information in the chat but not in the stderr.


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

  Changed paths:
    M src/game_events/action_wml.cpp
    M src/game_events/pump.cpp
    M src/game_events/pump.hpp

  Log Message:
  -----------
  Merge pull request #166 from gfgtdf/wml_message

add "to_chat" parameter to wml_message


Compare: https://github.com/wesnoth/wesnoth/compare/1e16b9a7e12f...e422aa60d31f


More information about the Commits mailing list