Mercurial > emacs
annotate lisp/sb-tag.xpm @ 43464:dc17128932c4
(snake-velocity-queue, snake-update-velocity)
(snake-final-x-velocity, snake-final-y-velocity):
New variable and functions. Store user's keypresses
into a queue and pop from the queue each subsequent turn.
(snake-update-game, snake-move-left)
(snake-move-right, snake-move-up, snake-move-down, snake-active-p)
(snake-start-game): Use that queue.
(snake-use-glyphs-flag): Renamed from snake-use-glyphs.
(snake-use-color-flag): Likewise.
(snake-mode): Rename uses of those variables.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Fri, 22 Feb 2002 15:19:06 +0000 |
parents | c0758fd9ca7a |
children | c2a09ac7b7b1 |
rev | line source |
---|---|
28974 | 1 /* XPM */ |
2 static char * sb_tag_xpm[] = { | |
3 "20 15 4 1", | |
4 " c None", | |
5 ". c #828282", | |
6 "+ c #000000", | |
7 "@ c #FFF993", | |
8 " ", | |
9 " ", | |
10 " ............... ", | |
11 " .+++++++++++++++.", | |
12 " .+@@@@@@@@@@@@@@+.", | |
13 " .+@@@@@@@@@@@@@@@+.", | |
14 ".+@@@@@@@@@@@@@@@@+.", | |
15 ".+@++@@@@@@@@@@@@@+.", | |
16 ".+@++@@@@@@@@@@@@@+.", | |
17 ".+@@@@@@@@@@@@@@@@+.", | |
18 " .+@@@@@@@@@@@@@@@+.", | |
19 " .+@@@@@@@@@@@@@@+.", | |
20 ". .+++++++++++++++.", | |
21 " ............... ", | |
22 " "}; |