[wesnoth-commits] [wesnoth/wesnoth] e317fa: Lua AI: Fix bug in ai.get_attacks()

Celtic Minstrel noreply at github.com
Thu Jul 1 05:34:06 UTC 2021


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: e317fa48171cd14d6aecc8ee7f7da553ea9b32a1
      https://github.com/wesnoth/wesnoth/commit/e317fa48171cd14d6aecc8ee7f7da553ea9b32a1
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2021-07-01 (Thu, 01 Jul 2021)

  Changed paths:
    M src/ai/lua/core.cpp

  Log Message:
  -----------
  Lua AI: Fix bug in ai.get_attacks()


  Commit: 5a9c24c4e79d624e34aa475949a4aa49b1984322
      https://github.com/wesnoth/wesnoth/commit/5a9c24c4e79d624e34aa475949a4aa49b1984322
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2021-07-01 (Thu, 01 Jul 2021)

  Changed paths:
    M src/ai/lua/core.cpp
    M src/scripting/game_lua_kernel.cpp
    M src/scripting/lua_common.cpp

  Log Message:
  -----------
  Updated a few places that didn't handle locations in the unified way


  Commit: 55c19e76753217333cf32488f65d567e1b7c554b
      https://github.com/wesnoth/wesnoth/commit/55c19e76753217333cf32488f65d567e1b7c554b
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2021-07-01 (Thu, 01 Jul 2021)

  Changed paths:
    M src/scripting/game_lua_kernel.cpp
    M src/scripting/game_lua_kernel.hpp

  Log Message:
  -----------
  Remove unused functions


  Commit: e555e0681db1e85df6dcb42808984e15b167807d
      https://github.com/wesnoth/wesnoth/commit/e555e0681db1e85df6dcb42808984e15b167807d
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2021-07-01 (Thu, 01 Jul 2021)

  Changed paths:
    M src/ai/configuration.cpp
    M src/config.cpp
    M src/config_cache.cpp
    M src/display.cpp
    M src/formula/callable_objects.cpp
    M src/generators/cave_map_generator.cpp
    M src/gui/core/canvas.cpp
    M src/gui/dialogs/gamestate_inspector.cpp
    M src/gui/dialogs/multiplayer/mp_options_helper.cpp
    M src/gui/dialogs/statistics_dialog.cpp
    M src/gui/dialogs/title_screen.cpp
    M src/help/help_impl.cpp
    M src/map/map.cpp
    M src/play_controller.cpp
    M src/preferences/game.cpp
    M src/scripting/game_lua_kernel.cpp
    M src/scripting/lua_color.cpp
    M src/scripting/lua_common.cpp
    M src/scripting/lua_gui2.cpp
    M src/scripting/lua_terrainfilter.cpp
    M src/scripting/lua_terrainmap.cpp
    M src/scripting/lua_unit_attacks.cpp
    M src/scripting/lua_wml.cpp
    M src/serialization/parser.cpp
    M src/terrain/filter.cpp
    M src/theme.cpp
    M src/units/abilities.cpp
    M src/units/animation.cpp
    M src/units/attack_type.cpp
    M src/units/filter.cpp
    M src/units/helper.cpp
    M src/units/types.cpp
    M src/units/unit.cpp
    M src/utils/parse_network_address.cpp
    M src/variable.cpp
    M src/wesnoth.cpp

  Log Message:
  -----------
  Fix a bunch of compiler warnings

- Some implicit conversions
- Loop variable is always copied
- Missing prototypes
- Unused lambda captures
- Comma operators


Compare: https://github.com/wesnoth/wesnoth/compare/9b7a2875952a...e555e0681db1



More information about the Commits mailing list