[Commits] [wesnoth/wesnoth] dbf94c: precompute a unit_filter outside of a loop

GitHub noreply at github.com
Sun Jul 6 02:47:30 UTC 2014


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: dbf94c0dedf98175aa4093c1201679c991993338
      https://github.com/wesnoth/wesnoth/commit/dbf94c0dedf98175aa4093c1201679c991993338
  Author: Chris Beck <render787 at gmail.com>
  Date:   2014-07-05 (Sat, 05 Jul 2014)

  Changed paths:
    M src/actions/create.cpp

  Log Message:
  -----------
  precompute a unit_filter outside of a loop


  Commit: 750e770c62d3498bbc78f3eda60c5f41d6a03b39
      https://github.com/wesnoth/wesnoth/commit/750e770c62d3498bbc78f3eda60c5f41d6a03b39
  Author: Chris Beck <render787 at gmail.com>
  Date:   2014-07-05 (Sat, 05 Jul 2014)

  Changed paths:
    M src/unit_display.cpp

  Log Message:
  -----------
  use unit_filter::first_first_on_map in unit_display


  Commit: 47e9a3d25d2bd80ec824799f7d1881558d388236
      https://github.com/wesnoth/wesnoth/commit/47e9a3d25d2bd80ec824799f7d1881558d388236
  Author: Chris Beck <render787 at gmail.com>
  Date:   2014-07-05 (Sat, 05 Jul 2014)

  Changed paths:
    M src/scripting/lua.cpp

  Log Message:
  -----------
  lua find_cost_map fcn uses unit_filter::all_matches_on_map fcn


  Commit: eb9b3c97fd0516d2aa9cb0a46465c64084315f77
      https://github.com/wesnoth/wesnoth/commit/eb9b3c97fd0516d2aa9cb0a46465c64084315f77
  Author: Chris Beck <render787 at gmail.com>
  Date:   2014-07-05 (Sat, 05 Jul 2014)

  Changed paths:
    M src/scripting/lua.cpp

  Log Message:
  -----------
  lua get_units uses unit_filter::all_matches_on_map syntax


Compare: https://github.com/wesnoth/wesnoth/compare/798a712f285a...eb9b3c97fd05


More information about the Commits mailing list