annotate src/bitmaps/leftpmsk.xbm @ 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 |
8f14d08e19f7 |
children |
|
rev |
line source |
25830
|
1 #define left_ptrmsk_width 16
|
|
2 #define left_ptrmsk_height 16
|
|
3 static unsigned char left_ptrmsk_bits[] = {
|
|
4 0x0c, 0x00, 0x1c, 0x00, 0x3c, 0x00, 0x7c, 0x00, 0xfc, 0x00, 0xfc, 0x01,
|
|
5 0xfc, 0x03, 0xfc, 0x07, 0xfc, 0x0f, 0xfc, 0x0f, 0xfc, 0x01, 0xdc, 0x03,
|
|
6 0xcc, 0x03, 0x80, 0x07, 0x80, 0x07, 0x00, 0x03};
|