aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/play
Commit message (Collapse)AuthorAgeFilesLines
* Add "no-byte-compile: t" in first line.Juanma Barranquero2002-10-011-1/+1
|
* (doctor-doc): Add 2 question words.Richard M. Stallman2002-09-231-2/+4
| | | | (doctor-getnoun): Parse and save the complete object phrase.
* (gamegrid-face): new variable to emulate a buffer-local default face.Richard M. Stallman2002-09-231-54/+73
| | | | | | | | | | | | | | | | | | | | | | | | | | | (gamegrid-xbm): new variable; XBM image as a replacement for `gamegrid-xpm' on Emacsen compiled without XPM-support. (gamegrid-colorize-glyph): Ported XEmacs-code for the generation of images to Emacs. (gamegrid-match-spec): Call `gamegrid-make-image-from-vector' to convert XEmacs-type image descriptors. (gamegrid-color-display-p): Removed. (Use `display-colors-p' instead.) (gamegrid-make-image-from-vector): New function. Convert XEmacs' image descriptors. (gamegrid-display-type): Use Emacs' standard `display-.*-p' functions to check for display capabilities. Fix the recognition of image-support in Emacs 21 by this way. (gamegrid-hide-cursor): Removed. (gamegrid-setup-default-font): Ported the code from XEmacs to Emacs: create a new face and assign the variable `gamegrid-face' to it. Make sure that the face is not higher than the smallest image used by the game. (gamegrid-initialize-display): Use `(setq cursor-type nil)' instead of `gamegrid-hide-cursor'. (gamegrid-set-face): If `gamegrid-display-mode' is 'glyph, put an image in the buffer, instead of applying a face. (gamegrid-init-buffer): If `gamegrid-display-mode' is 'glyph, put the face held by `gamegrid-face' in an overlay over the whole buffer to emulate a buffer-local default-face.
* (bb-right): Respect prefix argument.Richard M. Stallman2002-09-201-21/+21
| | | | (bb-left, bb-up, bb-down): Likewise.
* (gomoku-move-up, gomoku-move-down):Richard M. Stallman2002-09-161-2/+6
| | | | Use forward-line and move-to-column.
* (tetris-blank-options, tetris-cell-options):Francesco Potortì2002-09-131-15/+12
| | | | | Remove various redundant `(t nil)'. (tetris-border-options): Use color on tty if available.
* (snake-border-options): Use color on tty if available.Francesco Potortì2002-09-131-1/+2
|
* (pong-border-options): Use color on tty ifFrancesco Potortì2002-09-131-7/+4
| | | | available. Reset color on tty to be [0.5 0.5 0.5].
* (gamegrid-make-color-tty-face): Handle string as COLOR arg.Richard M. Stallman2002-09-101-18/+16
| | | | | | (gamegrid-display-type): Don't assume display-color-p implies a color-x terminal. (gamegrid-hide-cursor): Set `cursor-type' local variable.
* 2002-09-10 Deepak Goel <[email protected]>John Paul Wallington2002-09-101-159/+159
| | | | | * play/doctor.el (doc//): Rename from `//'. Update callers. (doc$): Rename from `$'. Update callers.
* (doctor-cadr, doctor-caddr, doctor-cddr): Remove.John Paul Wallington2002-09-091-30/+26
| | | | Update callers.
* (doctor-doc): Recognize question words and use qlist.Richard M. Stallman2002-09-091-12/+7
| | | | | | | Use doctor-shorten's return value. (doctor-shorten): Compute a return value, don't alter `sent'. (doctor-hates1): Add a question mark. (doctor-strangelove): Unused function deleted.
* Use find-file-hook instead of find-file-hooks.Stefan Monnier2002-08-151-1/+1
|
* (dun-physobj-desc): Fix typo.Juanma Barranquero2002-07-031-1/+1
|
* (zone-idle): Var deleted.Richard M. Stallman2002-06-211-3/+0
|
* (zone-timer): New variable holds the idle timer.Richard M. Stallman2002-06-131-12/+11
| | | | | | | (zone): Don't fiddle with the idle timer at all. (zone-when-idle): Put the idle timer in zone-timer. If one is already set up, cancel it and make a new one. (zone-leave-me-alone): Likewise.
* *** empty log message ***Juanma Barranquero2002-05-161-1/+1
|
* (mpuz-switch-to-window): Set buffer-read-only directly.Richard M. Stallman2002-05-041-1/+1
|
* (gamegrid-user-score-file-directory): New variable.Colin Walters2002-05-031-3/+12
| | | | | (gamegrid-add-score-with-update-game-score): Use `shared-game-score-directory'. Correctly handle non-setuid case.
* (gamegrid-add-score-with-update-game-score): Test whether or notColin Walters2002-04-291-13/+20
| | | | update-game-score is setuid, and do the right thing.
* (gamegrid-add-score-with-update-game-score): Handle the case whereColin Walters2002-04-231-2/+8
| | | | we're already viewing the score file.
* (gamegrid-add-score-with-update-game-score): Renamed from `gamegrid-add-score'.Colin Walters2002-04-131-0/+29
| | | | | | (gamegrid-add-score-insecure): Restored from the old `update-game-score'. (gamegrid-add-score): Just dispatch on `system-type' to one of the previous two functions.
* Update author's email address, at his request.Eli Zaretskii2002-04-121-1/+1
|
* Fix previous change.Colin Walters2002-04-101-9/+19
|
* (tetris-score-file): Likewise.Colin Walters2002-04-101-1/+1
|
* (snake-score-file): Default to just "snake-scores".Colin Walters2002-04-101-1/+1
|
* (gamegrid-add-score): Rewrite from scratch to use `update-game-score'.Colin Walters2002-04-101-18/+28
|
* (gomoku-font-lock-O-face): Convert to use `defface'.Juanma Barranquero2002-03-221-14/+10
| | | | | (gomoku-font-lock-X-face): Likewise. (gomoku-font-lock-keywords): Use faces instead of variables.
* Use defface instead of facemenu-get-face.Eli Zaretskii2002-03-101-16/+15
|
* (mpuz-unsolved-face, mpuz-solved-face)Eli Zaretskii2002-03-081-194/+255
| | | | | | | | | | | | | (mpuz-trivial-face, mpuz-text-face, mpuz-solve-when-trivial) (mpuz-allow-double-multiplicator): new options for nicer look and new features. (mpuz-put-number-on-board, mpuz-paint-number, mpuz-solve): new functions. (mpuz-check-all-solved, mpuz-random-puzzle) (mpuz-paint-statistics, mpuz-paint-digit, mpuz-close-game) (mpuz-show-solution): functions streamlined and removed french style space before punctuation, added face support and optional solving of trivial results.
* fixed parens in the last patchSam Steingold2002-03-032-11/+11
|
* (tetris-score-file): Put in home dir, not in /tmp.Richard M. Stallman2002-03-031-1/+4
|
* (gamegrid-set-font, gamegrid-setup-face)Richard M. Stallman2002-03-031-4/+4
| | | | (gamegrid-make-mono-tty-face): Fix usage of condition-case.
* (snake-score-file): Put in home dir, not in /tmp.Richard M. Stallman2002-03-031-1/+4
|
* (snake-velocity-queue, snake-update-velocity)Richard M. Stallman2002-02-221-58/+89
| | | | | | | | | | | | (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.
* (pong-border-options): Make the border colors slightly more bright.Eli Zaretskii2002-02-061-1/+5
|
* (pong-height): Don't use height that exceeds the frame height.Eli Zaretskii2002-02-061-1/+1
|
* (gamegrid-display-type): Treat anyEli Zaretskii2002-02-061-4/+6
| | | | | | | color-capable display as color-x, if display-color-p is fboundp. (gamegrid-make-color-x-face): Don't call gamegrid-color twice. (gamegrid-make-color-tty-face): Use the value of color, not the symbol itself. Don't call gamegrid-color.
* (tetris): New defgroup.Richard M. Stallman2002-01-231-42/+90
| | | | | | | | | | (tetris-use-glyphs, tetris-use-color, tetris-draw-border-with-glyphs) (tetris-default-tick-period): Convert to defcustom. Added * in docstring to indicate user variable. (tetris-update-speed-function, tetris-mode-hook, tetris-tty-colors) (tetris-x-colors, tetris-buffer-name, tetris-buffer-width) (tetris-buffer-height, tetris-width, tetris-height) (tetris-top-left-x, tetris-top-left-y): Convert to defcustom.
* (zone-timeout): New var.Thien-Thi Nguyen2002-01-101-105/+159
| | | | | | | | | | | | | | (zone-hiding-modeline): New macro. (zone-call): New func. (zone): Init `modeline-hidden-level' symbol property. Use `zone-call' instead of `funcall'. (zone-pgm-whack-chars): Use `make-string' (bug introduced in 2001-10-26T20:11:[email protected]). (zone-pgm-stress): Use `zone-hiding-modeline'. (zone-pgm-stress-destress): New zone program.
* (yow): Use an arg to distinguish interactive calls, not interactive-p.Richard M. Stallman2001-12-231-3/+3
|
* Doc fix.Pavel Janík2001-12-202-2/+2
|
* Doc fixes.Pavel Janík2001-12-201-3/+3
|
* (bb-member): Remove, use member instead.Pavel Janík2001-12-201-25/+34
| | | | | | | (bb-delete): Remove, use delete instead. Update copyright notice. Defvar for bb-board, bb-x, bb-y, bb-score, bb-detour-count and bb-balls-placed. Propertize results of rays.
* Fix typos.Pavel Janík2001-12-151-4/+4
|
* (5x5-crack-xor-mutate): Doc fix.Pavel Janík2001-12-111-2/+2
|
* (blackbox-mode, blackbox): Doc fix.Pavel Janík2001-11-291-4/+4
|
* (cookie, cookie-insert, shuffle-vector): Doc fixes.Pavel Janík2001-11-291-5/+7
|
* (studlify-word, studlify-region, studlify-buffer): Fix doc-string.Pavel Janík2001-11-291-3/+4
| | | | (studlify-buffer): Add autoload cookie.
* (gamegrid-init-buffer): Use insert instead of insert-string.Pavel Janík2001-11-261-1/+1
|