Mercurial > emacs
view lisp/toolbar/fld_open.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 | 8f4a34146a9d |
children |
line wrap: on
line source
/* XPM */ static char *magick[] = { /* columns rows colors chars-per-pixel */ "24 24 4 1", " c Gray0", ". c #909090909090", "X c #fefefefefefe", "o c None", /* pixels */ "oooooooooooooooooooooooo", "oooooooooooooooooooooooo", "oooooooooooooooooooooooo", "oooooooooooooooooooooooo", "oooooooooooooooooooooooo", "oooooooooooooo oooooooo", "ooooooooooo .. ooooooo", "oooo oo ....XXo ooo", "ooo .. ....XXXX .. ooo", "ooo .....XXXXX .... ooo", "oooo ..XXXXX ...... ooo", "oooo ..XXX ........ ooo", "ooooo .XX .......... ooo", "ooooo ..X .......... ooo", "oooooo .X .......... ooo", "oooooo .. ........ oooo", "ooooooo . ...... oooooo", "ooooooo . ..... oooooooo", "oooooooo ... ooooooooo", "oooooooo . ooooooooooo", "ooooooooo ooooooooooooo", "oooooooooooooooooooooooo", "oooooooooooooooooooooooo", "oooooooooooooooooooooooo" };