[Commits] [wesnoth/wesnoth] d6747f: Ported [set_variable] to Lua

GitHub noreply at github.com
Mon Jun 6 16:47:17 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: d6747f50986faa34d5f61455eaa57b0ee86301f2
      https://github.com/wesnoth/wesnoth/commit/d6747f50986faa34d5f61455eaa57b0ee86301f2
  Author: Elvish_Hunter <elvish.hunter2010 at gmail.com>
  Date:   2016-04-04 (Mon, 04 Apr 2016)

  Changed paths:
    M data/lua/wml-tags.lua
    M src/game_events/action_wml.cpp

  Log Message:
  -----------
  Ported [set_variable] to Lua


  Commit: d6308cc6f7832aaa8d1671dd073590d93087a235
      https://github.com/wesnoth/wesnoth/commit/d6308cc6f7832aaa8d1671dd073590d93087a235
  Author: Elvish_Hunter <elvish.hunter2010 at gmail.com>
  Date:   2016-04-13 (Wed, 13 Apr 2016)

  Changed paths:
    M data/lua/wml-tags.lua

  Log Message:
  -----------
  Used helper.shallow_literal instead of cfg.__shallow_literal


  Commit: 66ee2145446cd7bbb448397124bf5a330e3ca274
      https://github.com/wesnoth/wesnoth/commit/66ee2145446cd7bbb448397124bf5a330e3ca274
  Author: Elvish_Hunter <elvish.hunter2010 at gmail.com>
  Date:   2016-04-13 (Wed, 13 Apr 2016)

  Changed paths:
    M data/lua/wml-tags.lua

  Log Message:
  -----------
  Allow executing multiple operations in the same [set_variable] tag


  Commit: 3c6d3e93d771f74d9189c3351f92c8890e64c9fc
      https://github.com/wesnoth/wesnoth/commit/3c6d3e93d771f74d9189c3351f92c8890e64c9fc
  Author: Elvish_Hunter <elvish.hunter2010 at gmail.com>
  Date:   2016-04-13 (Wed, 13 Apr 2016)

  Changed paths:
    M .travis.yml
    M CMakeLists.txt
    M changelog
    M data/campaigns/Dead_Water/scenarios/10_The_Flaming_Sword.cfg
    M data/core/about.cfg
    M data/core/hotkeys.cfg
    M data/core/macros/names.cfg
    M data/gui/macros/_initial.cfg
    M data/gui/macros/horizontal_scrollbar.cfg
    M data/gui/widget/button_default.cfg
    M data/gui/widget/horizontal_scrollbar_default.cfg
    M data/gui/widget/unit_preview_pane.cfg
    M data/gui/window/campaign_dialog.cfg
    M data/gui/window/custom_tod.cfg
    M data/gui/window/loadscreen.cfg
    M data/gui/window/lobby_main.cfg
    M data/gui/window/preferences/03_display.cfg
    M data/gui/window/unit_attack.cfg
    M data/hardwired/fonts.cfg
    A data/lua/wml-flow.lua
    M data/lua/wml-tags.lua
    A data/lua/wml/endlevel.lua
    A data/lua/wml/find_path.lua
    A data/lua/wml/harm_unit.lua
    M data/lua/wml/message.lua
    A data/lua/wml/modify_unit.lua
    A data/lua/wml/random_placement.lua
    M doc/man/CMakeLists.txt
    M doc/manual/CMakeLists.txt
    A fonts/Lato-Bold.ttf
    A fonts/Lato-Italic.ttf
    A fonts/Lato-Regular.ttf
    A fonts/OFL
    R images/buttons/scrollbars/scrollgroove-bottom-minimal.png
    R images/buttons/scrollbars/scrollgroove-bottom.png
    R images/buttons/scrollbars/scrollgroove-horizontal.png
    R images/buttons/scrollbars/scrollgroove-left.png
    R images/buttons/scrollbars/scrollgroove-mid-minimal.png
    R images/buttons/scrollbars/scrollgroove-mid.png
    R images/buttons/scrollbars/scrollgroove-right.png
    R images/buttons/scrollbars/scrollgroove-top-minimal.png
    R images/buttons/scrollbars/scrollgroove-top.png
    M images/buttons/scrollbars/scrollhorizontal-active.png
    M images/buttons/scrollbars/scrollhorizontal-pressed.png
    M images/buttons/scrollbars/scrollhorizontal.png
    M images/buttons/scrollbars/scrollleft-active.png
    M images/buttons/scrollbars/scrollleft-pressed.png
    M images/buttons/scrollbars/scrollleft.png
    M images/buttons/scrollbars/scrollmid-active.png
    M images/buttons/scrollbars/scrollmid-pressed.png
    M images/buttons/scrollbars/scrollmid.png
    M images/buttons/scrollbars/scrollright-active.png
    M images/buttons/scrollbars/scrollright-pressed.png
    M images/buttons/scrollbars/scrollright.png
    A images/buttons/scrollbars_large/scrollbottom-active.png
    A images/buttons/scrollbars_large/scrollbottom-pressed.png
    A images/buttons/scrollbars_large/scrollbottom.png
    A images/buttons/scrollbars_large/scrollgroove-bottom.png
    A images/buttons/scrollbars_large/scrollgroove-horizontal.png
    A images/buttons/scrollbars_large/scrollgroove-left.png
    A images/buttons/scrollbars_large/scrollgroove-mid.png
    A images/buttons/scrollbars_large/scrollgroove-right.png
    A images/buttons/scrollbars_large/scrollgroove-top.png
    A images/buttons/scrollbars_large/scrollhorizontal-active.png
    A images/buttons/scrollbars_large/scrollhorizontal-pressed.png
    A images/buttons/scrollbars_large/scrollhorizontal.png
    A images/buttons/scrollbars_large/scrollleft-active.png
    A images/buttons/scrollbars_large/scrollleft-pressed.png
    A images/buttons/scrollbars_large/scrollleft.png
    A images/buttons/scrollbars_large/scrollmid-active.png
    A images/buttons/scrollbars_large/scrollmid-pressed.png
    A images/buttons/scrollbars_large/scrollmid.png
    A images/buttons/scrollbars_large/scrollright-active.png
    A images/buttons/scrollbars_large/scrollright-pressed.png
    A images/buttons/scrollbars_large/scrollright.png
    A images/buttons/scrollbars_large/scrolltop-active.png
    A images/buttons/scrollbars_large/scrolltop-pressed.png
    A images/buttons/scrollbars_large/scrolltop.png
    M images/cursors/attack.png
    M images/cursors/attack_drag.png
    M images/cursors/move.png
    M images/cursors/move_drag.png
    M images/cursors/normal.png
    M images/cursors/select-illegal.png
    M images/cursors/select-location.png
    M images/cursors/select.png
    M images/cursors/wait.png
    A images/icons/action/trash_25-active.png
    A images/icons/action/trash_25-pressed.png
    A images/icons/action/trash_25.png
    A images/icons/alignments/alignment_chaotic_30-pressed.png
    A images/icons/alignments/alignment_chaotic_30-pressed at 2x.png
    M images/icons/alignments/alignment_chaotic_30.png
    A images/icons/alignments/alignment_chaotic_30 at 2x.png
    A images/icons/alignments/alignment_lawful_30-pressed.png
    A images/icons/alignments/alignment_lawful_30-pressed at 2x.png
    M images/icons/alignments/alignment_lawful_30.png
    A images/icons/alignments/alignment_lawful_30 at 2x.png
    A images/icons/alignments/alignment_liminal_30-pressed.png
    A images/icons/alignments/alignment_liminal_30-pressed at 2x.png
    M images/icons/alignments/alignment_liminal_30.png
    A images/icons/alignments/alignment_liminal_30 at 2x.png
    A images/icons/alignments/alignment_neutral_30-pressed.png
    A images/icons/alignments/alignment_neutral_30-pressed at 2x.png
    M images/icons/alignments/alignment_neutral_30.png
    A images/icons/alignments/alignment_neutral_30 at 2x.png
    M images/misc/loadscreen_decor.png
    M players_changelog
    M projectfiles/CodeBlocks/wesnoth.cbp
    M projectfiles/Xcode/Wesnoth.xcodeproj/project.pbxproj
    M src/CMakeLists.txt
    M src/SConscript
    M src/actions/undo_action.cpp
    M src/actions/undo_action.hpp
    M src/ai/actions.cpp
    M src/ai/default/recruitment.cpp
    M src/carryover.cpp
    M src/config.hpp
    M src/controller_base.cpp
    M src/controller_base.hpp
    M src/display.cpp
    M src/editor/controller/editor_controller.cpp
    M src/editor/controller/editor_controller.hpp
    M src/editor/editor_preferences.cpp
    M src/editor/editor_preferences.hpp
    M src/events.cpp
    M src/formula/callable_objects.cpp
    M src/game_classification.cpp
    M src/game_classification.hpp
    M src/game_events/action_wml.cpp
    M src/game_events/action_wml.hpp
    M src/game_events/entity_location.cpp
    M src/game_events/entity_location.hpp
    M src/game_initialization/connect_engine.cpp
    M src/game_launcher.cpp
    M src/gui/auxiliary/field.hpp
    M src/gui/auxiliary/formula.hpp
    M src/gui/core/timer.cpp
    M src/gui/dialogs/addon/description.cpp
    M src/gui/dialogs/addon/list.cpp
    M src/gui/dialogs/campaign_selection.cpp
    M src/gui/dialogs/editor/custom_tod.cpp
    M src/gui/dialogs/editor/custom_tod.hpp
    M src/gui/dialogs/game_cache_options.cpp
    M src/gui/dialogs/game_load.cpp
    M src/gui/dialogs/game_load.hpp
    M src/gui/dialogs/gamestate_inspector.cpp
    M src/gui/dialogs/lua_interpreter.cpp
    M src/gui/dialogs/multiplayer/mp_connect.cpp
    M src/gui/dialogs/preferences_dialog.cpp
    M src/gui/dialogs/screenshot_notification.cpp
    M src/gui/dialogs/unit_create.cpp
    M src/gui/dialogs/unit_create.hpp
    M src/hotkey/command_executor.cpp
    M src/hotkey/command_executor.hpp
    M src/hotkey/hotkey_command.cpp
    M src/hotkey/hotkey_command.hpp
    M src/hotkey/hotkey_handler.cpp
    M src/hotkey/hotkey_handler.hpp
    M src/mp_game_settings.cpp
    M src/mp_game_settings.hpp
    M src/pathfind/teleport.hpp
    M src/play_controller.cpp
    M src/play_controller.hpp
    M src/preferences_display.cpp
    M src/preferences_display.hpp
    M src/race.cpp
    M src/race.hpp
    R src/savegame_config.hpp
    M src/scripting/game_lua_kernel.cpp
    M src/scripting/game_lua_kernel.hpp
    M src/scripting/lua_formula_bridge.cpp
    M src/scripting/lua_formula_bridge.hpp
    M src/serialization/unicode.hpp
    M src/server/server.cpp
    M src/soundsource.cpp
    M src/soundsource.hpp
    M src/storyscreen/controller.cpp
    M src/storyscreen/part.cpp
    M src/synced_context.cpp
    M src/synced_context.hpp
    M src/team.cpp
    M src/team.hpp
    M src/tod_manager.cpp
    M src/tod_manager.hpp
    M src/units/types.cpp
    A src/utils/context_free_grammar_generator.cpp
    A src/utils/context_free_grammar_generator.hpp
    M src/utils/functional.hpp
    M src/utils/reference_counter.hpp
    M src/whiteboard/manager.cpp
    M src/whiteboard/utility.cpp
    M src/whiteboard/utility.hpp
    M src/widgets/scrollbar.cpp

  Log Message:
  -----------
  Merged upstream/master


  Commit: a61d3704e9cb1fa5d834391addf12048173ee274
      https://github.com/wesnoth/wesnoth/commit/a61d3704e9cb1fa5d834391addf12048173ee274
  Author: Elvish_Hunter <elvish.hunter2010 at gmail.com>
  Date:   2016-04-13 (Wed, 13 Apr 2016)

  Changed paths:
    M data/lua/wml-tags.lua

  Log Message:
  -----------
  Fixed a misplaced end


  Commit: 5eb17841955a178c19b7690cff40f3ee298618a2
      https://github.com/wesnoth/wesnoth/commit/5eb17841955a178c19b7690cff40f3ee298618a2
  Author: Elvish_Hunter <elvish.hunter2010 at gmail.com>
  Date:   2016-04-13 (Wed, 13 Apr 2016)

  Changed paths:
    M data/lua/wml-tags.lua

  Log Message:
  -----------
  Re-evalutate the content of the variable in each operation


  Commit: 00525c340b67eab66288ffb3f9298b91ad672b62
      https://github.com/wesnoth/wesnoth/commit/00525c340b67eab66288ffb3f9298b91ad672b62
  Author: Elvish_Hunter <elvish.hunter2010 at gmail.com>
  Date:   2016-04-27 (Wed, 27 Apr 2016)

  Changed paths:
    M data/lua/wml-tags.lua

  Log Message:
  -----------
  Implemented random ranges by using tables


  Commit: 8b82fb32481d1b02424d5d3e85561e7fa9963b74
      https://github.com/wesnoth/wesnoth/commit/8b82fb32481d1b02424d5d3e85561e7fa9963b74
  Author: Elvish_Hunter <elvish.hunter2010 at gmail.com>
  Date:   2016-05-22 (Sun, 22 May 2016)

  Changed paths:
    M data/lua/wml-tags.lua

  Log Message:
  -----------
  [set_variable]: do not iterate through all the elements of a random range


  Commit: 3715c194c2e1bbe2174b82467880625a00bfd7a2
      https://github.com/wesnoth/wesnoth/commit/3715c194c2e1bbe2174b82467880625a00bfd7a2
  Author: Celtic Minstrel <CelticMinstrel at users.noreply.github.com>
  Date:   2016-06-06 (Mon, 06 Jun 2016)

  Changed paths:
    M data/lua/wml-tags.lua
    M src/game_events/action_wml.cpp

  Log Message:
  -----------
  Merge pull request #642 from Elvish-Hunter/set_variable_lua

Ported [set_variable] to Lua


Compare: https://github.com/wesnoth/wesnoth/compare/7b21849487fb...3715c194c2e1


More information about the Commits mailing list