[Commits] [wesnoth/wesnoth] de4caa: add a "radial mode" option to get relative dir. (j...

GitHub noreply at github.com
Mon May 19 16:28:12 UTC 2014


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

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

  Log Message:
  -----------
  add a "radial mode" option to get relative dir. (just for kicks)

Adds a mode for get relative dir which should give radial symmetry,
using vector ops. This might be useful in some application, or to
help debug.


  Commit: 748ba751bc46c2514f2d74f5ee21aa5eaa91baea
      https://github.com/wesnoth/wesnoth/commit/748ba751bc46c2514f2d74f5ee21aa5eaa91baea
  Author: Chris Beck <render787 at gmail.com>
  Date:   2014-05-19 (Mon, 19 May 2014)

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

  Log Message:
  -----------
  move default relative dir mode to .cpp file, for ease of testing


Compare: https://github.com/wesnoth/wesnoth/compare/b4f6c6544e59...748ba751bc46


More information about the Commits mailing list