]> git.eshelyaron.com Git - emacs.git/commit
Replace movement variables with an alist and accessor
authorMark Oteiza <mvoteiza@udel.edu>
Wed, 18 Jan 2017 03:05:48 +0000 (22:05 -0500)
committerMark Oteiza <mvoteiza@udel.edu>
Sun, 19 Feb 2017 13:25:41 +0000 (08:25 -0500)
commit44931dafa95ed0e00a639168712fbabeb35569f4
treead8e35d2a96174a6f85cb996d001a9f261daf6e5
parent48cb4a96f3f3c9195d0e1286a0325e7625f13e39
Replace movement variables with an alist and accessor

* lisp/play/dunnet.el (north, south, east, west, northeast, southeast):
(northwest, southwest, up, down, in, out): Remove.
(dun-movement-alist): New constant.
(dun-movement): New function.
(dun-n, dun-s, dun-e, dun-w, dun-ne, dun-se, dun-nw, dun-sw, dun-up):
(dun-down, dun-in, dun-out): Use a symbol for indicating movement.
(dun-move, dun-special-move): Translate movement symbol to an
enumeration.
lisp/play/dunnet.el