[Commits] [wesnoth/wesnoth] d11fa9: clean up map_locations.hpp, put inline bodies at e...

GitHub noreply at github.com
Wed May 21 03:21:45 UTC 2014


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: d11fa925435bcd4253923e8fa94588b8cf88969e
      https://github.com/wesnoth/wesnoth/commit/d11fa925435bcd4253923e8fa94588b8cf88969e
  Author: Chris Beck <render787 at gmail.com>
  Date:   2014-05-20 (Tue, 20 May 2014)

  Changed paths:
    M src/map_location.cpp
    M src/map_location.hpp

  Log Message:
  -----------
  clean up map_locations.hpp, put inline bodies at end

Also, move vector ops to inline as well.


  Commit: 91c87253389fc698ff8bcda54a6d28c782580717
      https://github.com/wesnoth/wesnoth/commit/91c87253389fc698ff8bcda54a6d28c782580717
  Author: Chris Beck <render787 at gmail.com>
  Date:   2014-05-20 (Tue, 20 May 2014)

  Changed paths:
    M src/map_location.cpp
    M src/map_location.hpp

  Log Message:
  -----------
  inline get_adjacent, tiles_adjacent, distance_between (map_locations)


  Commit: 7f5617f96a38f76573db7ca0e7b71df713178d6e
      https://github.com/wesnoth/wesnoth/commit/7f5617f96a38f76573db7ca0e7b71df713178d6e
  Author: Chris Beck <render787 at gmail.com>
  Date:   2014-05-20 (Tue, 20 May 2014)

  Changed paths:
    M src/map_location.hpp

  Log Message:
  -----------
  refactor tiles_adjacent, use jump tables instead of math abs


Compare: https://github.com/wesnoth/wesnoth/compare/e89d94d5cdf0...7f5617f96a38


More information about the Commits mailing list