Mercurial > emacs
comparison lisp/ChangeLog @ 109503:ddd0e4f58fa3
* lisp/play/tetris.el: Cleanup image representation and rotation.
(tetris-tty-colors, tetris-x-colors, tetris-blank):
Remove leading nil element, adjust values.
(tetris-shapes, tetris-shape-scores):
Change representation of shapes and remove some redundancy.
(tetris-get-shape-cell, tetris-shape-width, tetris-draw-next-shape)
(tetris-draw-shape, tetris-erase-shape, tetris-test-shape):
Adjust for working with new representation of shapes.
(tetris-shape-rotations): New function.
(tetris-move-bottom, tetris-move-left, tetris-move-right)
(tetris-rotate-prev, tetris-rotate-next):
Adjust for working with the new version of tetris-test-shape.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Sat, 24 Jul 2010 01:26:42 +0200 |
parents | 293582ab6357 |
children | e6408c088fbc |
comparison
equal
deleted
inserted
replaced
109502:293582ab6357 | 109503:ddd0e4f58fa3 |
---|---|
1 2010-07-23 Lukas Huonker <l.huonker@gmail.com> | |
2 | |
3 * play/tetris.el (tetris-tty-colors, tetris-x-colors, tetris-blank): | |
4 Remove leading nil element, adjust values. | |
5 (tetris-shapes, tetris-shape-scores): | |
6 Change representation of shapes and remove some redundancy. | |
7 (tetris-get-shape-cell, tetris-shape-width, tetris-draw-next-shape) | |
8 (tetris-draw-shape, tetris-erase-shape, tetris-test-shape): | |
9 Adjust for working with new representation of shapes. | |
10 (tetris-shape-rotations): New function. | |
11 (tetris-move-bottom, tetris-move-left, tetris-move-right) | |
12 (tetris-rotate-prev, tetris-rotate-next): | |
13 Adjust for working with the new version of tetris-test-shape. | |
14 | |
1 2010-07-23 Markus Triska <markus.triska@gmx.at> | 15 2010-07-23 Markus Triska <markus.triska@gmx.at> |
2 | 16 |
3 * progmodes/ps-mode.el: Use comint (bug#5954). | 17 * progmodes/ps-mode.el: Use comint (bug#5954). |
4 (ps-run-mode-map): Adapt for comint-mode; omit "\r", [return].. | 18 (ps-run-mode-map): Adapt for comint-mode; omit "\r", [return].. |
5 (ps-mode-other-newline): Simplify. | 19 (ps-mode-other-newline): Simplify. |